Integer overflow in libgsf - CVE-2024-36474

 

Integer overflow in libgsf - CVE-2024-36474

Published: October 7, 2024


Vulnerability identifier: #VU98052
CSH Severity: High
CVSS v4: 8.6 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2024-36474
CWE-ID: CWE-190
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to integer overflow within the Compound Document Binary File format parser. A remote attacker can trick the victim into opening a specially crafted file, trigger an an out-of-bounds index to be used when reading and writing to an array and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

libgsf
Gentoo Linux
Debian Linux
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise Workstation Extension 15
SUSE Linux Enterprise Real Time 15
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Server for SAP Applications 12
SUSE Linux Enterprise Server 12
SUSE Linux Enterprise High Performance Computing 12
SUSE Enterprise Storage
SUSE Linux Enterprise Server 12 SP5 LTSS Extended Security
SUSE Linux Enterprise Server 12 SP5 LTSS
SUSE Linux Enterprise High Performance Computing 15 SP2 LTSS
SUSE Linux Enterprise Server 15 SP2 LTSS
SUSE Linux Enterprise Server 15 SP3 LTSS
SUSE Linux Enterprise Server 15 SP4 LTSS
SUSE Linux Enterprise Desktop 15 SP4 LTSS
Desktop Applications Module
openSUSE Leap
openEuler
Ubuntu
Fedora
libgsf-1-114-32bit
libgsf-1-114-debuginfo-32bit
libgsf-lang
libgsf-1-114
libgsf-debugsource
libgsf-1-114-debuginfo
libgsf-1-114 (Ubuntu package)
libgsf-help
libgsf-debuginfo
libgsf
libgsf-devel
libgsf (Debian package)
libgsf-tools
typelib-1_0-Gsf-1
gsf-office-thumbnailer-debuginfo
libgsf-tools-debuginfo
gsf-office-thumbnailer
libgsf-1-114-64bit-debuginfo
libgsf-1-114-64bit
libgsf-1-114-32bit-debuginfo
gnome-extra/libgsf

How to mitigate CVE-2024-36474

Install updates from vendor's website.

libgsf - update to 1.14.53
libgsf-1-114-32bit - addressed in versions 1.14.40-8.3.1, 1.14.50-150400.3.6.1
libgsf-1-114-debuginfo-32bit - update to 1.14.40-8.3.1
libgsf-lang - addressed in versions 1.14.40-8.3.1, 1.14.50-150400.3.6.1, 1.14.51-150600.4.3.1
libgsf-1-114 - addressed in versions 1.14.40-8.3.1, 1.14.46-150200.3.3.1, 1.14.50-150400.3.6.1, 1.14.51-150600.4.3.1
libgsf-debugsource - addressed in versions 1.14.40-8.3.1, 1.14.46-150200.3.3.1, 1.14.50-150400.3.6.1, 1.14.51-150600.4.3.1
libgsf-1-114-debuginfo - addressed in versions 1.14.40-8.3.1, 1.14.46-150200.3.3.1, 1.14.50-150400.3.6.1, 1.14.51-150600.4.3.1
libgsf-1-114 (Ubuntu package) - addressed in versions 1.14.46-1ubuntu0.1, 1.14.47-1ubuntu0.1, 1.14.51-2ubuntu0.1, 1.14.52-1ubuntu0.1
libgsf-help - update to 1.14.47-2
libgsf-debugsource - update to 1.14.47-2
libgsf-debuginfo - update to 1.14.47-2
libgsf - update to 1.14.47-2
libgsf-devel - update to 1.14.47-2
libgsf (Debian package) - update to 1.14.50-1+deb12u1
libgsf-tools - addressed in versions 1.14.50-150400.3.6.1, 1.14.51-150600.4.3.1
typelib-1_0-Gsf-1 - addressed in versions 1.14.50-150400.3.6.1, 1.14.51-150600.4.3.1
gsf-office-thumbnailer-debuginfo - addressed in versions 1.14.50-150400.3.6.1, 1.14.51-150600.4.3.1
libgsf-tools-debuginfo - addressed in versions 1.14.50-150400.3.6.1, 1.14.51-150600.4.3.1
libgsf-devel - addressed in versions 1.14.50-150400.3.6.1, 1.14.51-150600.4.3.1
gsf-office-thumbnailer - addressed in versions 1.14.50-150400.3.6.1, 1.14.51-150600.4.3.1
libgsf-1-114-64bit-debuginfo - update to 1.14.50-150400.3.6.1
libgsf-1-114-64bit - update to 1.14.50-150400.3.6.1
libgsf-1-114-32bit-debuginfo - update to 1.14.50-150400.3.6.1
libgsf-debuginfo - update to 1.14.51-150600.4.3.1
gnome-extra/libgsf - update to 1.14.53
libgsf - addressed in versions 1.14.53-1.fc39, 1.14.53-1.fc40, 1.14.53-1.fc41

External References

Related Security Bulletins