{"id":"GHSA-6433-x5p4-8jc7","summary":"libxmljs vulnerable to type confusion when parsing specially crafted XML","details":"libxmljs is vulnerable to a type confusion vulnerability when parsing a specially crafted XML while invoking a function on the result of `attrs()` that was called on a parsed node. This vulnerability might lead to denial of service (on both 32-bit systems and 64-bit systems), data leak, infinite loop and remote code execution (on 32-bit systems with the XML_PARSE_HUGE flag enabled).","aliases":["CVE-2024-34391"],"modified":"2024-11-25T19:27:36Z","published":"2024-05-02T21:30:29Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2024-05-03T20:24:29Z","nvd_published_at":"2024-05-02T19:15:06Z","cwe_ids":["CWE-843"],"severity":"CRITICAL"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-34391"},{"type":"WEB","url":"https://github.com/libxmljs/libxmljs/issues/645"},{"type":"PACKAGE","url":"https://github.com/libxmljs/libxmljs"},{"type":"WEB","url":"https://research.jfrog.com/vulnerabilities/libxmljs-attrs-type-confusion-rce-jfsa-2024-001033988"}],"affected":[{"package":{"name":"libxmljs","ecosystem":"npm","purl":"pkg:npm/libxmljs"},"ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"last_affected":"1.0.11"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/05/GHSA-6433-x5p4-8jc7/GHSA-6433-x5p4-8jc7.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"}]}