{"id":"GHSA-78h3-pg4x-j8cv","summary":"libxmljs2 vulnerable to type confusion when parsing specially crafted XML","details":"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.","aliases":["CVE-2024-34394"],"modified":"2024-11-25T19:28:05Z","published":"2024-05-02T21:30:29Z","database_specific":{"cwe_ids":["CWE-843"],"severity":"CRITICAL","github_reviewed":true,"github_reviewed_at":"2024-05-03T20:24:18Z","nvd_published_at":"2024-05-02T19:15:06Z"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-34394"},{"type":"WEB","url":"https://github.com/marudor/libxmljs2/issues/205"},{"type":"PACKAGE","url":"https://github.com/marudor/libxmljs2"},{"type":"WEB","url":"https://research.jfrog.com/vulnerabilities/libxmljs2-namespaces-type-confusion-rce-jfsa-2024-001034098"}],"affected":[{"package":{"name":"libxmljs2","ecosystem":"npm","purl":"pkg:npm/libxmljs2"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"0.35.0"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/05/GHSA-78h3-pg4x-j8cv/GHSA-78h3-pg4x-j8cv.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"},{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"}]}