CVE-2024-42415
High · 8.4CVSS
8.4
EPSS
0.5%
Published
Oct 3, 2024
CISA due date
—
Cloudanix analysis
A problem in how certain file types are read could let attackers take control of a computer by getting it to open a specially made file.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Low
- Impact
- Remote Code Execution
- Component
- Library
- Class
- Buffer Overflow
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Integer overflow in the Compound Document Binary File format parser leads to a heap-based buffer overflow during sector allocation table processing, enabling arbitrary code execution.
Why it matters to the business
Attackers could execute code on systems processing untrusted compound document files, potentially compromising container management workflows that depend on the affected library and requiring urgent patching to prevent service disruption or data compromise.
How an attack unfolds
An attacker crafts a malicious compound document file that triggers an integer overflow in the sector allocation table parser. The file is delivered to a target system where the vulnerable library processes it, resulting in a heap buffer overflow that allows arbitrary code execution in the context of the processing application.
How to fix it
Upgrade affected installations to the fixed version github.com/containers/podman/v4: 4.4.2 or later. Where immediate upgrade is not possible, restrict processing of untrusted compound document files and monitor for anomalous behavior during file parsing.
How to confirm the fix worked
Verify the installed version of the affected package meets or exceeds the fixed release. Test by attempting to parse known-good and crafted compound document files in a controlled environment to confirm the overflow condition is no longer present.
Typical attack path
- Craft a specially formatted compound document file to trigger integer overflow in sector allocation table handling
- Deliver the malicious file to the target environment via email, download, or shared storage
- Induce the vulnerable application to parse the file during normal operation
- Leverage the resulting heap buffer overflow to execute arbitrary code
How to detect it
Examine application logs and system event records for unexpected crashes, memory allocation failures, or errors during compound document file parsing. Correlate with file access timestamps and process execution history around the time of suspected incidents.
What your security team should do
- Prioritize upgrade to the fixed version across all affected deployments
- Implement file-type restrictions or sandboxing for untrusted compound document processing until patched
- Review logging and monitoring coverage for file parsing operations to detect anomalous crashes or memory errors
The record
An integer overflow vulnerability exists in the Compound Document Binary File format parser of v1.14.52 of the GNOME Project G Structured File Library (libgsf). A specially crafted file can result in an integer overflow that allows for a heap-based buffer overflow when processing the sector allocation table. This can lead to arbitrary code execution. An attacker can provide a malicious file to trigger this vulnerability.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Debian:11 | libgsf | 0 | No fix |
| Debian:11 | libgsf | 0 | 1.14.47-1+deb11u1 |
| Debian:12 | libgsf | 0 | No fix |
| Debian:12 | libgsf | 0 | 1.14.50-1+deb12u1 |
| Debian:13 | libgsf | 0 | No fix |
| Debian:14 | libgsf | 0 | 1.14.52-1.1 |
| Mageia:9 | libgsf | 0 | 1.14.50-1.1.mga9 |
| SUSE:Enterprise Storage 7.1 | libgsf | 0 | 1.14.46-150200.3.3.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP2-LTSS | libgsf | 0 | 1.14.46-150200.3.3.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS | libgsf | 0 | 1.14.46-150200.3.3.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS | libgsf | 0 | 1.14.50-150400.3.6.1 |
| SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS | libgsf | 0 | 1.14.50-150400.3.6.1 |
| SUSE:Linux Enterprise Module for Desktop Applications 15 SP5 | libgsf | 0 | 1.14.50-150400.3.6.1 |
| SUSE:Linux Enterprise Module for Desktop Applications 15 SP6 | libgsf | 0 | 1.14.51-150600.4.3.1 |
| SUSE:Linux Enterprise Server 12 SP5-LTSS | libgsf | 0 | 1.14.40-8.3.1 |
| SUSE:Linux Enterprise Server 15 SP2-LTSS | libgsf | 0 | 1.14.46-150200.3.3.1 |
| SUSE:Linux Enterprise Server 15 SP3-LTSS | libgsf | 0 | 1.14.46-150200.3.3.1 |
| SUSE:Linux Enterprise Server 15 SP4-LTSS | libgsf | 0 | 1.14.50-150400.3.6.1 |
| SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5 | libgsf | 0 | 1.14.40-8.3.1 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP2 | libgsf | 0 | 1.14.46-150200.3.3.1 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP3 | libgsf | 0 | 1.14.46-150200.3.3.1 |
| SUSE:Linux Enterprise Server for SAP Applications 15 SP4 | libgsf | 0 | 1.14.50-150400.3.6.1 |
| SUSE:Linux Enterprise Workstation Extension 15 SP5 | libgsf | 0 | 1.14.50-150400.3.6.1 |
| SUSE:Linux Enterprise Workstation Extension 15 SP6 | libgsf | 0 | 1.14.51-150600.4.3.1 |
| Ubuntu:14.04:LTS | libgsf | 0 | No fix |
| Ubuntu:16.04:LTS | libgsf | 0 | No fix |
| Ubuntu:18.04:LTS | libgsf | 0 | No fix |
| Ubuntu:20.04:LTS | libgsf | 0 | 1.14.46-1ubuntu0.1 |
| Ubuntu:22.04:LTS | libgsf | 0 | 1.14.47-1ubuntu0.1 |
| Ubuntu:24.04:LTS | libgsf | 0 | 1.14.51-2ubuntu0.1 |
| Ubuntu:24.10 | libgsf | 0 | 1.14.52-1ubuntu0.1 |
| Ubuntu:25.04 | libgsf | 0 | 1.14.52-1ubuntu0.1 |
| Ubuntu:Pro:14.04:LTS | libgsf | 0 | No fix |
| Ubuntu:Pro:16.04:LTS | libgsf | 0 | No fix |
| Ubuntu:Pro:18.04:LTS | libgsf | 0 | No fix |
| openSUSE:Leap 15.5 | libgsf | 0 | 1.14.50-150400.3.6.1 |
| openSUSE:Leap 15.6 | libgsf | 0 | 1.14.51-150600.4.3.1 |
Related vulnerabilities
- CVE-2025-2724 A vulnerability classified as problematic has been found in GNOME libgsf up to 1.14.53. Also affects libgsf
- CVE-2025-2722 A vulnerability was found in GNOME libgsf up to 1.14.53. Also affects libgsf
- CVE-2025-2723 A vulnerability was found in GNOME libgsf up to 1.14.53. Also affects libgsf
- CVE-2025-2721 A vulnerability was found in GNOME libgsf up to 1.14.53. Also affects libgsf
- CVE-2024-36474 An integer overflow vulnerability exists in the Compound Document Binary File format… Also affects libgsf