Skip to main content

Access of Resource Using Incompatible Type ('Type Confusion')

CVE-2024-34393

Severity High
Score 8.1/10

Summary

libxmljs2 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 (DOS) (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).

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

Advisory Timeline

  • Published