{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-42415 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2024-42415 is a high-severity vulnerability in GNOME Project G Structured File Library (libgsf), published on 3 Oct 2024. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-42415 and fix it if it is affected.\n\nWhat it is: CVE-2024-42415 is a high-severity vulnerability in GNOME Project G Structured File Library (libgsf), published on 3 Oct 2024. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-42415 exists.\n\nAffected product: GNOME Project G Structured File Library (libgsf). No package-level version data is available, so check the vendor advisory linked from the reference page.\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2024-42415/ (Markdown: https://insights.sbomify.com/CVE-2024-42415/index.md)","id":"CVE-2024-42415","markdown":"https://insights.sbomify.com/CVE-2024-42415/index.md","name":"CVE-2024-42415","record":{"aliases":["AZL-50061","AZL-50088","DEBIAN-CVE-2024-42415","GHSA-5pmr-hjgq-832v","UBUNTU-CVE-2024-42415"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"GNOME file library","requires_auth":"none","summary":"A crafted file triggers an integer overflow in libgsf, leading to heap-based buffer overflow and arbitrary code execution.","user_interaction":"not_required","vuln_class":"integer_overflow"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"talos","cpe":[{"product":"libgsf","vendor":"gnome"}],"cvss":{"score":8.4,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-190","name":"Integer Overflow or Wraparound"}],"description":"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.","ecosystems":[],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Integer overflow in G Structured File Library (libgsf)","id":"CVE-2024-42415","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"integer_overflow","year":"2024"},"n_packages":0,"n_references":2,"next":{"headline":"Multiple issues in ctl(4) CAM Target Layer","id":"CVE-2024-42416"},"packages":[],"prev":{"headline":"Cross-site scripting in WAB-I1750-PS","id":"CVE-2024-42412"},"products":["G Structured File Library (libgsf)"],"published":"2024-10-03","related":[{"cvss_score":8.4,"headline":"Integer overflow in G Structured File Library (libgsf)","id":"CVE-2024-36474","kev_date_added":null,"published":"2024-10-03"},{"cvss_score":5.5,"headline":"Null dereference in n/a","id":"CVE-2016-9888","kev_date_added":null,"published":"2016-12-08"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-11-03","vendors":["GNOME Project"]},"summary":"A crafted file triggers an integer overflow in libgsf, leading to heap-based buffer overflow and arbitrary code execution.","url":"https://insights.sbomify.com/CVE-2024-42415/"}