CVE-2024-34393

libxmljs2 attrs type confusion RCE

Published May 2, 2024 CVSS 3.1 · 8.1 High EPSS < 1% KEV · Not listed
Description
libxmljs2 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-1690 libxmljs2 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-mjr4-7xg5-pfvh libxmljs2 type confusion vulnerability when parsing specially crafted XML
History
Type Values Removed Values Added
First Time appeared Libxmljs Project
Libxmljs Project libxmljs
Weaknesses CWE-843
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
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'}

Weaknesses
  • CWE-843

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

Sources

Status
PUBLISHED
Assigner
JFROG
Published
Updated
Oct 3, 2026, 9:01 AM
Reserved
May 2, 2024, 11:56 AM
Status
Deferred
Published
May 2, 2024, 7:15 PM
Modified
Oct 3, 2026, 9:17 AM