CVE-2024-36474

NameCVE-2024-36474
DescriptionAn integer overflow vulnerability exists in the Compound Document Binary File format parser of the GNOME Project G Structured File Library (libgsf) version v1.14.52. A specially crafted file can result in an integer overflow when processing the directory from the file that allows for an out-of-bounds index to be used when reading and writing to an array. This can lead to arbitrary code execution. An attacker can provide a malicious file to trigger this vulnerability.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-3911-1, DSA-5786-1, ELA-1200-1
Debian Bugs1084056

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
libgsf (PTS)jessie, jessie (lts)1.14.30-2+deb8u1vulnerable
stretch (lts), stretch1.14.41-1+deb9u1fixed
buster, buster (lts)1.14.45-1+deb10u1fixed
bullseye1.14.47-1vulnerable
bullseye (security)1.14.47-1+deb11u1fixed
bookworm (security), bookworm1.14.50-1+deb12u1fixed
sid, trixie1.14.52-1.1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
libgsfsourcejessie(unfixed)end-of-life
libgsfsourcestretch1.14.41-1+deb9u1ELA-1200-1
libgsfsourcebuster1.14.45-1+deb10u1ELA-1200-1
libgsfsourcebullseye1.14.47-1+deb11u1DLA-3911-1
libgsfsourcebookworm1.14.50-1+deb12u1DSA-5786-1
libgsfsource(unstable)1.14.52-1.11084056

Notes

https://talosintelligence.com/vulnerability_reports/TALOS-2024-2068
https://gitlab.gnome.org/GNOME/libgsf/-/issues/34
https://gitlab.gnome.org/GNOME/libgsf/-/commit/06d0cb92a4c02e7126ef2ff6f5e29fd74b4be9e0 (LIBGSF_1_14_53)

Search for package or bug name: Reporting problems