{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-34394","assignerOrgId":"48a46f29-ae42-4e1d-90dd-c1676c1e5e6d","state":"PUBLISHED","assignerShortName":"JFROG","dateReserved":"2024-05-02T11:56:38.361Z","datePublished":"2024-05-02T18:57:35.301Z","dateUpdated":"2026-10-03T09:02:47.294Z"},"containers":{"cna":{"providerMetadata":{"orgId":"48a46f29-ae42-4e1d-90dd-c1676c1e5e6d","shortName":"JFROG","dateUpdated":"2026-10-03T09:02:47.294Z"},"title":"libxmljs2 namespaces type confusion RCE","problemTypes":[{"descriptions":[{"lang":"en","cweId":"CWE-843","description":"CWE-843 Access of Resource Using Incompatible Type ('Type Confusion')","type":"CWE"}]}],"affected":[{"collectionURL":"https://www.npmjs.com","packageName":"libxmljs2","versions":[{"status":"affected","version":"0","lessThanOrEqual":"0.37.0","versionType":"semver"}],"defaultStatus":"unaffected"}],"descriptions":[{"lang":"en","value":"libxmljs2 is vulnerable to a type confusion vulnerability when parsing a specially crafted XML while invoking the namespaces() function (which invokes XmlNode::get_local_namespaces()) on a grand-child of a node that refers to an entity. This vulnerability can lead to denial of service and remote code execution.","supportingMedia":[{"type":"text/html","base64":false,"value":"libxmljs2 is vulnerable to a type confusion vulnerability when parsing a specially crafted XML while invoking the namespaces() function (which invokes XmlNode::get_local_namespaces()) on a grand-child of a node that refers to an entity. This vulnerability can lead to denial of service and remote code execution."}]}],"references":[{"url":"https://research.jfrog.com/vulnerabilities/libxmljs2-namespaces-type-confusion-rce-jfsa-2024-001034098/"},{"url":"https://github.com/marudor/libxmljs2/issues/205"}],"metrics":[{"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}],"cvssV3_1":{"version":"3.1","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseSeverity":"HIGH","baseScore":8.1,"vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"}}],"source":{"discovery":"EXTERNAL"},"x_generator":{"engine":"Vulnogram 0.2.0"}},"adp":[{"affected":[{"vendor":"marudor","product":"libxmljs2","cpes":["cpe:2.3:a:marudor:libxmljs2:*:*:*:*:*:*:*:*"],"defaultStatus":"unknown","versions":[{"version":"*","status":"affected"}]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-05-02T19:57:23.256207Z","id":"CVE-2024-34394","options":[{"Exploitation":"poc"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"title":"CISA ADP Vulnrichment","providerMetadata":{"orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","shortName":"CISA-ADP","dateUpdated":"2024-07-22T16:14:29.006Z"}},{"providerMetadata":{"orgId":"af854a3a-2127-422b-91ae-364da2661108","shortName":"CVE","dateUpdated":"2024-08-02T02:51:11.412Z"},"title":"CVE Program Container","references":[{"url":"https://research.jfrog.com/vulnerabilities/libxmljs2-namespaces-type-confusion-rce-jfsa-2024-001034098/","tags":["x_transferred"]},{"url":"https://github.com/marudor/libxmljs2/issues/205","tags":["x_transferred"]}]}]}}