Skip to content

CVE-2024-34391 libxmljs attrs type confusion RCE

CriticalCVSS 9.8 EPSS 1.1%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: total

Description

libxmljs 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 < 1.0.11; <= 1.0.11 1.0.11 Fixed
npm libxmljs(npm) <= 1.0.11 after 1.0.11 Fixed

Affected products

ProductAffected versionsFixed in
npm libxmljs(npm) <= 1.0.11 No fix listed
libxmljs project libxmljs <= 1.0.11 No fix listed
libxmljs project libxmljs < 1.0.11 1.0.11

References