{"answers":{"affected":"It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-24474 exists.","fix":"Upgrade to a fixed version.","what":"CVE-2024-24474 is a high-severity vulnerability in Qemu Qemu, published on 20 Feb 2024. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-24474 and fix it if it is affected.\n\nWhat it is: CVE-2024-24474 is a high-severity vulnerability in Qemu Qemu, published on 20 Feb 2024. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-24474 exists.\n\nAffected product: Qemu Qemu. 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-24474/ (Markdown: https://insights.sbomify.com/CVE-2024-24474/index.md)","id":"CVE-2024-24474","markdown":"https://insights.sbomify.com/CVE-2024-24474/index.md","name":"CVE-2024-24474","record":{"aliases":["AZL-47784","BELL-CVE-2024-24474","DEBIAN-CVE-2024-24474","GHSA-v4q2-79g6-j728","OESA-2024-1420","OESA-2024-1421","OESA-2024-1422","UBUNTU-CVE-2024-24474"],"analysis":{"component_type":"operating_system","fix_type":"upgrade","impacts":["code_execution","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"QEMU virtualization","requires_auth":"low_privilege","summary":"An integer underflow in QEMU's SCSI emulation allows attackers to trigger a buffer overflow, potentially leading to code execution or denial of service.","user_interaction":"not_required","vuln_class":"integer_overflow"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"qemu","vendor":"qemu"}],"cvss":{"score":8.8,"severity":"high","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-191","name":"Integer Underflow (Wrap or Wraparound)"},{"id":"CWE-120","name":"Buffer Copy without Checking Size of Input"}],"description":"QEMU before 8.2.0 has an integer underflow, and resultant buffer overflow, via a TI command when an expected non-DMA transfer length is less than the length of the available FIFO data. This occurs in esp_do_nodma in hw/scsi/esp.c because of an underflow of async_len.","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 n/a","id":"CVE-2024-24474","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":"qemu:qemu","products":["qemu:qemu"],"type":"integer_overflow","year":"2024"},"n_packages":0,"n_references":4,"next":{"headline":"DO NOT USE THIS CANDIDATE NUMBER.","id":"CVE-2024-24475"},"packages":[],"prev":{"headline":"Cross-site request forgery in n/a","id":"CVE-2024-24470"},"products":["n/a"],"published":"2024-02-20","related":[{"cvss_score":10,"headline":"Null dereference in n/a","id":"CVE-2022-36648","kev_date_added":null,"published":"2023-08-22"},{"cvss_score":10,"headline":"Race condition in n/a","id":"CVE-2015-8556","kev_date_added":null,"published":"2017-03-24"},{"cvss_score":9.9,"headline":"Use after free in n/a","id":"CVE-2009-3616","kev_date_added":null,"published":"2009-10-23"},{"cvss_score":9.8,"headline":"Command injection in n/a","id":"CVE-2019-12928","kev_date_added":null,"published":"2019-06-24"},{"cvss_score":9.8,"headline":"Command injection in n/a","id":"CVE-2019-12929","kev_date_added":null,"published":"2019-06-24"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2018-20815","kev_date_added":null,"published":"2019-05-31"},{"cvss_score":9.8,"headline":"Memory corruption in n/a","id":"CVE-2017-8380","kev_date_added":null,"published":"2017-08-28"}],"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":"2024-08-15","vendors":["n/a"]},"summary":"An integer underflow in QEMU's SCSI emulation allows attackers to trigger a buffer overflow, potentially leading to code execution or denial of service.","url":"https://insights.sbomify.com/CVE-2024-24474/"}