Vulnerability · Published May 2, 2024 · Assigned by JFROG

CVE-2024-34394libxmljs2 namespaces type confusion RCE

High 8.1

In plain English

A high-severity type confusion in libxmljs2. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.0% (higher than 63% of all known vulnerabilities).

Severity (CVSS 3.1)8.1High
Exploit odds (30 days)1.0%top 37.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmlibxmljs2no fix listedGHSA-78h3-pg4x-j8cv

Affected products (as reported)

VendorProductVersions
libxmljs2 0 – through 0.37.0

Weakness: CWE-843 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

References