CVE-2024-34392
JSON

8.1high

libxmljs namespaces type confusion RCE

Severity
8.1high CVSS:3.1 by JFROG
Exploit likelihood
1.14% (higher than 67% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
JFROG
Also known as
GHSA-mg49-jqgw-gcj6

Description

libxmljs is vulnerable to a type confusion vulnerability when parsing a specially crafted XML while invoking the namespaces() function (which invokes _wrap__xmlNode_nsDef_get()) 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

Product or packageVersionsReported by
libxmljsup to 1.0.11CVE List
libxmljs_project libxmljsup to 1.0.11, before 1.0.11CVE List, NVD
libxmljs (npm)up to 1.0.11GitHub Advisory Database

All scores

JFROG8.1high CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHub8.1critical CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHubcritical CVSS:4.0CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
NVD9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-843

SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total.

What each source says

CVE List

libxmljs is vulnerable to a type confusion vulnerability when parsing a specially crafted XML while invoking the namespaces() function (which invokes _wrap__xmlNode_nsDef_get()) on a grand-child of a node that refers to an entity. This vulnerability can lead to denial of service and remote code execution.

GitHub Advisory Database

libxmljs is vulnerable to a type confusion vulnerability when parsing a specially crafted XML while invoking the namespaces() function (which invokes _wrap__xmlNode_nsDef_get()) on a grand-child of a node that refers to an entity. This vulnerability can lead to denial of service and remote code execution.

NVD (es)

libxmljs es afectada por una vulnerabilidad de confusión de tipos cuando analiza un XML especialmente manipulado mientras se invoca la función namespaces() (que invoca _wrap__xmlNode_nsDef_get()) en un nieto de un nodo que hace referencia a una entidad. Esta vulnerabilidad puede provocar denegación de servicio y ejecución remota de código.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-34392 changed 2024-11-25CVE Terms of Use
GitHub Advisory DatabaseGHSA-mg49-jqgw-gcj6 changed 2024-11-18CC-BY-4.0
NVDCVE-2024-34392 changed 2026-06-17Public domain