Skip to content

CVE-2024-34394 libxmljs2 namespaces type confusion RCE

HighCVSS 8.1 EPSS 0.99%
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 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 and remote code execution.

Upgrade path

2 packages: 1 fixed, 1 with no fix yet.

PackageAffectedFixed inStatus
marudor libxmljs2 All versions No fix listed No fix yet
npm libxmljs2(npm) <= 0.35.0; <= 0.37.0 after 0.35.0, 0.37.0 Fixed

Affected products

ProductAffected versionsFixed in
npm libxmljs2(npm) <= 0.35.0 No fix listed
npm libxmljs2(npm) <= 0.37.0 No fix listed
marudor libxmljs2 All versions No fix listed

References