Access of Resource Using Incompatible Type ('Type Confusion')
CVE-2024-34394
Summary
The 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 (DoS) and Remote Code Execution (RCE).
- HIGH
- NETWORK
- HIGH
- UNCHANGED
- NONE
- NONE
- HIGH
- HIGH
CWE-843 - Access of Resource Using Incompatible Type ('Type Confusion')
The program allocates or initializes a resource such as a pointer, object, or variable using one type, but it later accesses that resource using a type that is incompatible with the original type.
References
Advisory Timeline
- Published