Paper/Archive/CVE-2024-34392

CVE-2024-34392

libxmljs_project libxmljs — libxmljs namespaces type confusion RCE

Description · from the CVE record

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

ProductAffectedFixed inSource
libxmljs≤ 1.0.11–CNA
libxmljs≤ 1.0.11–CISA-ADP

Scores by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
JFROG (CNA)8.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
CISA ADPSSVCExploitation: poc · Automatable: yes · Technical impact: total

References

refresearch.jfrog.com/vulnerabilities/libxmljs-namespaces-type-confusion-rce-jfsa-2024-001034096refgithub.com/libxmljs/libxmljs/issues/646