CVE-2024-34392 json
libxmljs namespaces type confusion RCE
published 2024-05-02 2 y ago modified 2026-06-17 4 mo ago also EUVD-2024-1688 , GHSA-mg49-jqgw-gcj6
- cvss
- 8.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.1%
- EPSS 1.1% chance of exploitation in 30 days, percentile 66%
- public exploits
- 0
- none known
Summary
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.
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- yes
- Technical impact
- total
- Assessed
- 2 y ago
Exploit prediction
1.14% chance of exploitation in the next 30 days, higher than 66% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- research.jfrog.com https://research.jfrog.com/vulnerabilities/libxmljs-namespaces-type-confusion-rce-jfsa-2024-001034096/ referenced PoC, tagged "exploit" by a source, unverified
- github.com https://github.com/libxmljs/libxmljs/issues/646 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 9.8 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | libxmljs | <=1.0.11 |
no fix listed |
Affected products
- libxmljs_project libxmljs
Classification
- Weakness
-
- CWE-843 Access of Resource Using Incompatible Type
References
-
research.jfrog.com
/vulnerabilities/libxmljs-namespaces-type-confusion-rce-jfsa-2024-001034096/
exploit, third-party-advisory
-
github.com
/libxmljs/libxmljs/issues/646
web, exploit, issue-tracking
-
nvd.nist.gov
/vuln/detail/CVE-2024-34392
advisory
-
github.com
/libxmljs/libxmljs
package
-
research.jfrog.com
/vulnerabilities/libxmljs-namespaces-type-confusion-rce-jfsa-2024-001034096
web
Sources
- CVE List CVE-2024-34392
- GitHub Advisory GHSA-mg49-jqgw-gcj6
- NVD CVE-2024-34392
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.