GitHub Advisoryadvisory · npm
GHSA-78h3-pg4x-j8cv libxmljs2 vulnerable to type confusion when parsing specially crafted XML
CRITICAL
Official page ↗
- Aliases
- CVE-2024-34394
- Ecosystem
- npm
- Packages
- libxmljs2
- Severity
- Critical
- CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-843
- Reviewed
- 2024-05-03
Affected packages
• npm libxmljs2: <= 0.35.0 (no fix yet)
Description
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.
Related
Alias · CVE (1)
- CVE-2024-34394 libxmljs2 is vulnerable to a type confusion vulnerability when parsing a specially crafted XML while invoking the namespaces() function… vulnerability
Weakness · CWE (1)
- CWE-843 Access of Resource Using Incompatible Type weakness