CVE-2024-34392: libxmljs vulnerable to type confusion when parsing specially crafted XML
libxmljs is vulnerable to a type confusion vulnerability when parsing a specially crafted XML while invoking the namespaces() function (which invokes wrapxmlNodensDefget()) on a grand-child of a node that refers to an entity. This vulnerability can lead to denial of service and remote code execution.
Published May 2, 2024 · Updated Nov 18, 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 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.
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
