Vulnerability · Published May 2, 2024 · Assigned by JFROG

CVE-2024-34391libxmljs attrs type confusion RCE

High 8.1

In plain English

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

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

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

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
npmlibxmljsno fix listedGHSA-6433-x5p4-8jc7

Affected products (as reported)

VendorProductVersions
libxmljs 0 – through 1.0.11

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

References