CVE-2024-34391: libxmljs - Type Confusion
- Cve: CVE-2024-34391
- Name: libxmljs - Type Confusion
- 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).
- Impact: Attackers can cause denial of service, data leaks, infinite loops, or remote code execution, compromising system stability and security.
- Remediation: Update to the latest version of libxmljs that addresses this vulnerability or apply patches that fix the type confusion issue.
- Vulnerability impact: denial_of_service, information_disclosure, remote_code_execution
- Requirement type: none
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.01112
- Epss percentile: 0.66655
- Assignee: [email protected]
- Published at: 2024-05-02T19:15:06Z
- Age in days: 936
- Modified at: 2026-06-17T07:33:18Z
- Patch available: yes
- Public exploits total: 2
- References total: 2
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2024-34391
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: vulnerability type, requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-843 | Access of Resource Using Incompatible Type |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/libxmljs/libxmljs/issues/645 | nvd | 2024-05-02 |
| https://research.jfrog.com/vulnerabilities/libxmljs-attrs-type-confusion-rce-jfsa-2024-001033988/ | nvd | 2024-05-02 |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/libxmljs/libxmljs/issues/645 | nvd | Exploit, Issue Tracking |
| https://research.jfrog.com/vulnerabilities/libxmljs-attrs-type-confusion-rce-jfsa-2024-001033988/ | nvd | Exploit, Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| libxmljs_project:libxmljs | < 1.0.11 | no | nvd | /v1/products/libxmljs_project/libxmljs |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| libxmljs/libxmljs | issues, package | yes | /v1/repositories/libxmljs/libxmljs |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Public exploit: yes
- Public exploit count: 2
- Public exploit first date: 2024-05-02
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts