{"answers":{"affected":"","exploited":"There is no known exploitation of CVE-2024-2494 in the wild and no public exploit code.","fix":"Apply the vendor's patch.","what":"CVE-2024-2494 is a medium-severity vulnerability in Red Hat Enterprise Linux 6, published on 21 Mar 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-2494 and fix it if it is affected.\n\nWhat it is: CVE-2024-2494 is a medium-severity vulnerability in Red Hat Enterprise Linux 6, published on 21 Mar 2024. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2024-2494 in the wild and no public exploit code.\n\nAffected product: Red Hat Enterprise Linux 6. 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-2494/ (Markdown: https://insights.sbomify.com/CVE-2024-2494/index.md)","id":"CVE-2024-2494","markdown":"https://insights.sbomify.com/CVE-2024-2494/index.md","name":"CVE-2024-2494","record":{"aliases":["AZL-37110","AZL-38665","BELL-CVE-2024-2494","CLSA-2025-1741032827","CLSA-2025-1741033614","DEBIAN-CVE-2024-2494","GHSA-h9fq-4hj4-g596","MGASA-2024-0114","RHSA-2024:3253","RLSA-2024:3253","SUSE-SU-2024:1078-1","SUSE-SU-2024:1083-1","SUSE-SU-2024:1100-1","UBUNTU-CVE-2024-2494","openSUSE-SU-2024:13796-1"],"analysis":{"component_type":"server_software","fix_type":"patch","impacts":["denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Virtualization management library","requires_auth":"none","summary":"A local unprivileged user can crash the libvirt daemon by triggering an integer overflow in RPC deserialization, causing a denial of service.","user_interaction":"not_required","vuln_class":"integer_overflow"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[],"cvss":{"score":6.2,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","version":"3.1"},"cwes":[{"id":"CWE-789","name":"Memory Allocation with Excessive Size Value"}],"description":"A flaw was found in the RPC library APIs of libvirt. The RPC server deserialization code allocates memory for arrays before the non-negative length check is performed by the C API entry points. Passing a negative length to the g_new0 function results in a crash due to the negative length being treated as a huge positive number. This flaw allows a local, unprivileged user to perform a denial of service attack by causing the libvirt daemon to crash.","ecosystems":["Red Hat:enterprise_linux:8::appstream","Red Hat:enterprise_linux:8::crb","Rocky Linux:8","SUSE:Linux Enterprise High Performance Computing 15 SP4-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP4-LTSS","SUSE:Linux Enterprise Micro 5.1","SUSE:Linux Enterprise Micro 5.2","SUSE:Linux Enterprise Micro 5.3","SUSE:Linux Enterprise Micro 5.4","SUSE:Linux Enterprise Module for Server Applications 15 SP5","SUSE:Linux Enterprise Server 12 SP5","SUSE:Linux Enterprise Server 15 SP4-LTSS","SUSE:Linux Enterprise Server for SAP Applications 12 SP5","SUSE:Linux Enterprise Server for SAP Applications 15 SP4","SUSE:Linux Enterprise Software Development Kit 12 SP5","SUSE:Manager Proxy 4.3","SUSE:Manager Server 4.3","openSUSE:Leap Micro 5.3","openSUSE:Leap Micro 5.4","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Libvirt: negative g_new0 length can lead to unbounded memory allocation","id":"CVE-2024-2494","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":null,"product":null,"products":[],"type":"integer_overflow","year":"2024"},"n_packages":351,"n_references":5,"next":{"headline":"Cryptographic key in plain text vulnerability in FriendlyElec's FriendlyWrt","id":"CVE-2024-2495"},"packages":[{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:20210217-2.module+el8.10.0+20141+6faa2812"],"introduced":["0"],"last_affected":[],"package":"SLOF","purl":"pkg:rpm/redhat/SLOF","source":"RHSA-2024:3253"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.3.18-23.module+el8.9.0+18724+20190c23"],"introduced":["0"],"last_affected":[],"package":"hivex","purl":"pkg:rpm/redhat/hivex","source":"RHSA-2024:3253"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.3.18-23.module+el8.9.0+18724+20190c23"],"introduced":["0"],"last_affected":[],"package":"hivex-debuginfo","purl":"pkg:rpm/redhat/hivex-debuginfo","source":"RHSA-2024:3253"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.3.18-23.module+el8.9.0+18724+20190c23"],"introduced":["0"],"last_affected":[],"package":"hivex-debugsource","purl":"pkg:rpm/redhat/hivex-debugsource","source":"RHSA-2024:3253"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.3.18-23.module+el8.9.0+18724+20190c23"],"introduced":["0"],"last_affected":[],"package":"hivex-devel","purl":"pkg:rpm/redhat/hivex-devel","source":"RHSA-2024:3253"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["1:1.44.0-9.module+el8.9.0+18724+20190c23"],"introduced":["0"],"last_affected":[],"package":"libguestfs","purl":"pkg:rpm/redhat/libguestfs","source":"RHSA-2024:3253"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["1:1.44.0-9.module+el8.9.0+18724+20190c23"],"introduced":["0"],"last_affected":[],"package":"libguestfs-appliance","purl":"pkg:rpm/redhat/libguestfs-appliance","source":"RHSA-2024:3253"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["1:1.44.0-9.module+el8.9.0+18724+20190c23"],"introduced":["0"],"last_affected":[],"package":"libguestfs-bash-completion","purl":"pkg:rpm/redhat/libguestfs-bash-completion","source":"RHSA-2024:3253"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["1:1.44.0-9.module+el8.9.0+18724+20190c23"],"introduced":["0"],"last_affected":[],"package":"libguestfs-debuginfo","purl":"pkg:rpm/redhat/libguestfs-debuginfo","source":"RHSA-2024:3253"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["1:1.44.0-9.module+el8.9.0+18724+20190c23"],"introduced":["0"],"last_affected":[],"package":"libguestfs-debugsource","purl":"pkg:rpm/redhat/libguestfs-debugsource","source":"RHSA-2024:3253"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["1:1.44.0-9.module+el8.9.0+18724+20190c23"],"introduced":["0"],"last_affected":[],"package":"libguestfs-devel","purl":"pkg:rpm/redhat/libguestfs-devel","source":"RHSA-2024:3253"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["1:1.44.0-9.module+el8.9.0+18724+20190c23"],"introduced":["0"],"last_affected":[],"package":"libguestfs-gfs2","purl":"pkg:rpm/redhat/libguestfs-gfs2","source":"RHSA-2024:3253"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["1:1.44.0-9.module+el8.9.0+18724+20190c23"],"introduced":["0"],"last_affected":[],"package":"libguestfs-gobject","purl":"pkg:rpm/redhat/libguestfs-gobject","source":"RHSA-2024:3253"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["1:1.44.0-9.module+el8.9.0+18724+20190c23"],"introduced":["0"],"last_affected":[],"package":"libguestfs-gobject-debuginfo","purl":"pkg:rpm/redhat/libguestfs-gobject-debuginfo","source":"RHSA-2024:3253"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["1:1.44.0-9.module+el8.9.0+18724+20190c23"],"introduced":["0"],"last_affected":[],"package":"libguestfs-gobject-devel","purl":"pkg:rpm/redhat/libguestfs-gobject-devel","source":"RHSA-2024:3253"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["1:1.44.0-9.module+el8.9.0+18724+20190c23"],"introduced":["0"],"last_affected":[],"package":"libguestfs-inspect-icons","purl":"pkg:rpm/redhat/libguestfs-inspect-icons","source":"RHSA-2024:3253"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["1:1.44.0-9.module+el8.9.0+18724+20190c23"],"introduced":["0"],"last_affected":[],"package":"libguestfs-java","purl":"pkg:rpm/redhat/libguestfs-java","source":"RHSA-2024:3253"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["1:1.44.0-9.module+el8.9.0+18724+20190c23"],"introduced":["0"],"last_affected":[],"package":"libguestfs-java-debuginfo","purl":"pkg:rpm/redhat/libguestfs-java-debuginfo","source":"RHSA-2024:3253"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["1:1.44.0-9.module+el8.9.0+18724+20190c23"],"introduced":["0"],"last_affected":[],"package":"libguestfs-java-devel","purl":"pkg:rpm/redhat/libguestfs-java-devel","source":"RHSA-2024:3253"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["1:1.44.0-9.module+el8.9.0+18724+20190c23"],"introduced":["0"],"last_affected":[],"package":"libguestfs-javadoc","purl":"pkg:rpm/redhat/libguestfs-javadoc","source":"RHSA-2024:3253"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["1:1.44.0-9.module+el8.9.0+18724+20190c23"],"introduced":["0"],"last_affected":[],"package":"libguestfs-man-pages-ja","purl":"pkg:rpm/redhat/libguestfs-man-pages-ja","source":"RHSA-2024:3253"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["1:1.44.0-9.module+el8.9.0+18724+20190c23"],"introduced":["0"],"last_affected":[],"package":"libguestfs-man-pages-uk","purl":"pkg:rpm/redhat/libguestfs-man-pages-uk","source":"RHSA-2024:3253"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["1:1.44.0-9.module+el8.9.0+18724+20190c23"],"introduced":["0"],"last_affected":[],"package":"libguestfs-rescue","purl":"pkg:rpm/redhat/libguestfs-rescue","source":"RHSA-2024:3253"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["1:1.44.0-9.module+el8.9.0+18724+20190c23"],"introduced":["0"],"last_affected":[],"package":"libguestfs-rsync","purl":"pkg:rpm/redhat/libguestfs-rsync","source":"RHSA-2024:3253"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["1:1.44.0-9.module+el8.9.0+18724+20190c23"],"introduced":["0"],"last_affected":[],"package":"libguestfs-tools","purl":"pkg:rpm/redhat/libguestfs-tools","source":"RHSA-2024:3253"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["1:1.44.0-9.module+el8.9.0+18724+20190c23"],"introduced":["0"],"last_affected":[],"package":"libguestfs-tools-c","purl":"pkg:rpm/redhat/libguestfs-tools-c","source":"RHSA-2024:3253"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["1:1.44.0-9.module+el8.9.0+18724+20190c23"],"introduced":["0"],"last_affected":[],"package":"libguestfs-tools-c-debuginfo","purl":"pkg:rpm/redhat/libguestfs-tools-c-debuginfo","source":"RHSA-2024:3253"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:8.10-1.module+el8.10.0+19908+9938c7c9"],"introduced":["0"],"last_affected":[],"package":"libguestfs-winsupport","purl":"pkg:rpm/redhat/libguestfs-winsupport","source":"RHSA-2024:3253"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["1:1.44.0-9.module+el8.9.0+18724+20190c23"],"introduced":["0"],"last_affected":[],"package":"libguestfs-xfs","purl":"pkg:rpm/redhat/libguestfs-xfs","source":"RHSA-2024:3253"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.18.0-8.module+el8.9.0+18724+20190c23"],"introduced":["0"],"last_affected":[],"package":"libiscsi","purl":"pkg:rpm/redhat/libiscsi","source":"RHSA-2024:3253"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.18.0-8.module+el8.9.0+18724+20190c23"],"introduced":["0"],"last_affected":[],"package":"libiscsi-debuginfo","purl":"pkg:rpm/redhat/libiscsi-debuginfo","source":"RHSA-2024:3253"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.18.0-8.module+el8.9.0+18724+20190c23"],"introduced":["0"],"last_affected":[],"package":"libiscsi-debugsource","purl":"pkg:rpm/redhat/libiscsi-debugsource","source":"RHSA-2024:3253"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.18.0-8.module+el8.9.0+18724+20190c23"],"introduced":["0"],"last_affected":[],"package":"libiscsi-devel","purl":"pkg:rpm/redhat/libiscsi-devel","source":"RHSA-2024:3253"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.18.0-8.module+el8.9.0+18724+20190c23"],"introduced":["0"],"last_affected":[],"package":"libiscsi-utils","purl":"pkg:rpm/redhat/libiscsi-utils","source":"RHSA-2024:3253"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.18.0-8.module+el8.9.0+18724+20190c23"],"introduced":["0"],"last_affected":[],"package":"libiscsi-utils-debuginfo","purl":"pkg:rpm/redhat/libiscsi-utils-debuginfo","source":"RHSA-2024:3253"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.6.0-5.module+el8.9.0+18724+20190c23"],"introduced":["0"],"last_affected":[],"package":"libnbd","purl":"pkg:rpm/redhat/libnbd","source":"RHSA-2024:3253"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.6.0-5.module+el8.9.0+18724+20190c23"],"introduced":["0"],"last_affected":[],"package":"libnbd-bash-completion","purl":"pkg:rpm/redhat/libnbd-bash-completion","source":"RHSA-2024:3253"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.6.0-5.module+el8.9.0+18724+20190c23"],"introduced":["0"],"last_affected":[],"package":"libnbd-debuginfo","purl":"pkg:rpm/redhat/libnbd-debuginfo","source":"RHSA-2024:3253"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.6.0-5.module+el8.9.0+18724+20190c23"],"introduced":["0"],"last_affected":[],"package":"libnbd-debugsource","purl":"pkg:rpm/redhat/libnbd-debugsource","source":"RHSA-2024:3253"},{"ecosystem":"Red Hat:enterprise_linux:8::appstream","fixed":["0:1.6.0-5.module+el8.9.0+18724+20190c23"],"introduced":["0"],"last_affected":[],"package":"libnbd-devel","purl":"pkg:rpm/redhat/libnbd-devel","source":"RHSA-2024:3253"}],"prev":{"headline":"Session Hijacking Vulnerability in Hitachi Ops Center Analyzer","id":"CVE-2024-2493"},"products":["Red Hat Enterprise Linux 6","Red Hat Enterprise Linux 7","Red Hat Enterprise Linux 8","Red Hat Enterprise Linux 8 Advanced Virtualization","Red Hat Enterprise Linux 9"],"published":"2024-03-21","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"Red Hat","prefix":"RHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-02-25","vendors":["Red Hat"]},"summary":"A local unprivileged user can crash the libvirt daemon by triggering an integer overflow in RPC deserialization, causing a denial of service.","url":"https://insights.sbomify.com/CVE-2024-2494/"}