CVE-2024-36474
High · 8.4CVSS
8.4
EPSS
0.4%
Published
Oct 3, 2024
CISA due date
—
Cloudanix analysis
A bug in file-handling code used by virtualization software could let attackers take control of systems by sending a specially made file.
- Exploitation
- Requires User Interaction
- Attacker needs
- User Interaction
- Complexity
- Moderate
- Impact
- Remote Code Execution
- Component
- Library
- Class
- Memory Corruption
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
Integer overflow in libgsf Compound Document parser causes out-of-bounds array indexing during directory processing, enabling arbitrary read/write and code execution.
Why it matters to the business
Compromise of virtualization management workloads could allow attackers to run code on hosts handling VM-related files, disrupting operations and risking data exposure.
How an attack unfolds
An attacker supplies a specially crafted compound document file to a kubevirt component that uses libgsf; the overflow occurs during directory parsing, corrupting memory to achieve code execution.
How to fix it
Upgrade kubevirt.io/kubevirt to version 0.55.1 or later.
How to confirm the fix worked
Confirm deployed kubevirt version is 0.55.1 or newer; reprocess sample files with updated library to verify absence of crash or corruption.
Typical attack path
- Craft malicious compound document file triggering integer overflow in directory handling
- Deliver file to kubevirt instance for processing
- Trigger file parsing path in affected component
- Exploit resulting out-of-bounds access for code execution
How to detect it
Review kubevirt and libgsf logs for parsing errors or crashes on compound document files; correlate with unexpected process behavior or memory anomalies.
What your security team should do
- Upgrade all kubevirt deployments to 0.55.1 without delay
- Inventory and isolate any remaining older instances
- Add file-type validation and sandboxing for processed documents
The record
An 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.
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-42415 An integer overflow vulnerability exists in the Compound Document Binary File format… Also affects libgsf