GitHub Advisoryadvisory · npm

GHSA-mjr4-7xg5-pfvh libxmljs2 type confusion vulnerability when parsing specially crafted XML

CRITICAL Published 2024-05-02 Modified 2024-11-25 Official page ↗
Aliases
CVE-2024-34393
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.33.0 (no fix yet)

Description

libxmljs2 is vulnerable to type confusion 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). At the time of publication, there is no fix.

Related

Alias · CVE (1)

  • CVE-2024-34393 libxmljs2 is vulnerable to a type confusion vulnerability when parsing a specially crafted XML while invoking a function on the result of… vulnerability

Weakness · CWE (1)

  • CWE-843 Access of Resource Using Incompatible Type weakness

References