{"answers":{"affected":"2 open source packages ship an affected version, including libxmljs. It affects 1 product.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-34392 exists.","fix":"No fix has been published for CVE-2024-34392 yet. Limit exposure of the affected software until one is available.","what":"CVE-2024-34392 is a high-severity memory corruption vulnerability in libxmljs_project:libxmljs, published on 2 May 2024. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2024-34392 and fix it if it is affected.\n\nWhat it is: CVE-2024-34392 is a high-severity memory corruption vulnerability in libxmljs_project:libxmljs, published on 2 May 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-34392 exists.\n\nAffected packages and fixed versions:\n- libxmljs (npm): affected all versions up to 1.0.11; no fix listed\n- libxmljs (npm): affected all versions up to 1.0.11; no fix listed\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-34392/ (Markdown: https://insights.sbomify.com/CVE-2024-34392/index.md)","id":"CVE-2024-34392","markdown":"https://insights.sbomify.com/CVE-2024-34392/index.md","name":"CVE-2024-34392","record":{"aliases":["GHSA-mg49-jqgw-gcj6"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["code_execution","denial_of_service"],"network_reachable":"yes","non_default_config":false,"product_category":"Node.js XML library","requires_auth":"none","summary":"A type confusion vulnerability in libxmljs allows attackers to achieve remote code execution or denial of service via crafted XML input.","user_interaction":"not_required","vuln_class":"memory_corruption"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"JFROG","cpe":[{"product":"libxmljs","vendor":"libxmljs_project"}],"cvss":{"score":8.1,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-843","name":"Access of Resource Using Incompatible Type"}],"description":"libxmljs is vulnerable to a type confusion vulnerability when parsing a specially crafted XML while invoking the namespaces() function (which invokes _wrap__xmlNode_nsDef_get()) on a grand-child of a node that refers to an entity. This vulnerability can lead to denial of service and remote code execution.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":false,"headline":"libxmljs namespaces type confusion RCE","id":"CVE-2024-34392","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"memory_corruption","year":"2024"},"n_packages":2,"n_references":2,"next":{"headline":"libxmljs2 attrs type confusion RCE","id":"CVE-2024-34393"},"packages":[{"ecosystem":"npm","fixed":[],"introduced":["0"],"last_affected":["1.0.11"],"package":"libxmljs","purl":null,"source":"GHSA-mg49-jqgw-gcj6"},{"ecosystem":"npm","fixed":[],"introduced":["0"],"last_affected":["1.0.11"],"package":"libxmljs","purl":"pkg:npm/libxmljs","source":"GHSA-mg49-jqgw-gcj6"}],"prev":{"headline":"libxmljs attrs type confusion RCE","id":"CVE-2024-34391"},"products":["libxmljs_project:libxmljs"],"published":"2024-05-02","related":[{"cvss_score":8.1,"headline":"libxmljs attrs type confusion RCE","id":"CVE-2024-34391","kev_date_added":null,"published":"2024-05-02"},{"cvss_score":7.5,"headline":"libxmljs has segmentation fault, potentially leading to a denial-of-service (DoS)","id":"CVE-2025-25341","kev_date_added":null,"published":"2025-12-26"},{"cvss_score":7.5,"headline":"Denial of Service (DoS)","id":"CVE-2022-21144","kev_date_added":null,"published":"2022-05-01"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"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":"yes","exploitation":"poc","technical_impact":"total"},"state":"PUBLISHED","updated":"2024-11-25","vendors":["libxmljs_project"]},"summary":"A type confusion vulnerability in libxmljs allows attackers to achieve remote code execution or denial of service via crafted XML input.","url":"https://insights.sbomify.com/CVE-2024-34392/"}