Skip to content

CVE-2024-34393 libxmljs2 attrs type confusion RCE

HighCVSS 8.1 EPSS 0.96%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total

Description

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

Upgrade path

2 packages: 2 fixed.

PackageAffectedFixed inStatus
libxmljs project libxmljs <= 0.33.0 after 0.33.0 Fixed
npm libxmljs2(npm) <= 0.33.0; <= 0.37.0 after 0.33.0, 0.37.0 Fixed

Affected products

ProductAffected versionsFixed in
npm libxmljs2(npm) <= 0.33.0 No fix listed
npm libxmljs2(npm) <= 0.37.0 No fix listed
libxmljs project libxmljs <= 0.33.0 No fix listed

References