cve/2024/CVE-2024-34391.md

19 lines
1.1 KiB
Markdown
Raw Normal View History

2024-05-25 21:48:12 +02:00
### [CVE-2024-34391](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-34391)
![](https://img.shields.io/static/v1?label=Product&message=n%2Fa&color=blue)
![](https://img.shields.io/static/v1?label=Version&message=n%2Fa&color=blue)
2025-09-29 16:08:36 +00:00
![](https://img.shields.io/static/v1?label=Vulnerability&message=CWE-843%20Access%20of%20Resource%20Using%20Incompatible%20Type%20('Type%20Confusion')&color=brighgreen)
2024-05-25 21:48:12 +02:00
### 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).
### POC
#### Reference
2024-06-08 09:32:58 +00:00
- https://github.com/libxmljs/libxmljs/issues/645
2024-05-25 21:48:12 +02:00
- https://research.jfrog.com/vulnerabilities/libxmljs-attrs-type-confusion-rce-jfsa-2024-001033988/
#### Github
2025-09-29 16:08:36 +00:00
- https://github.com/software-engineering-and-security/cfi-practical-guideline
2024-05-25 21:48:12 +02:00