CVE-2024-34391

libxmljs attrs type confusion RCE

Published May 2, 2024 CVSS 3.1 · 8.1 High EPSS 1.1% KEV · Not listed
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).

Analysis

No analysis available yet

Remediation

No remediation available yet

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2024-1447 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).
Github GHSA Github GHSA GHSA-6433-x5p4-8jc7 libxmljs vulnerable to type confusion when parsing specially crafted XML
History
Type Values Removed Values Added
Metrics epss

{'score': 0.02427}

epss

{'score': 0.01703}

Type Values Removed Values Added
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). 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).
First Time appeared Libxmljs Project
Libxmljs Project libxmljs
CPEs cpe:2.3:a:libxmljs_project:libxmljs:*:*:*:*:*:node.js:*:*
Vendors & Products Libxmljs Project
Libxmljs Project libxmljs
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Weaknesses CWE-843
Weaknesses
  • CWE-843

    Access of Resource Using Incompatible Type ('Type Confusion')

Sources

Status
PUBLISHED
Assigner
JFROG
Published
Updated
Nov 25, 2024, 12:55 PM
Reserved
May 2, 2024, 11:56 AM
Status
Analyzed
Published
May 2, 2024, 7:15 PM
Modified
Jun 17, 2026, 7:33 AM