NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · npm

CVE-2024-34391: libxmljs vulnerable to type confusion when parsing specially crafted XML

criticalCVSS 4.0 9.2 · 3.1 8.1GHSA-6433-x5p4-8jc7

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 XMLPARSEHUGE flag enabled).

Published May 2, 2024 · Updated Nov 25, 2024

Affected packages

libxmljs

Ecosystem
npm
Affected
<= 1.0.11
Fixed in
No patched version yet
Check
npm ls libxmljs

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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).

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology

More npm vulnerabilities

All npm entries