cve/2024/CVE-2024-34394.md
2024-06-09 00:33:16 +00:00

21 lines
1.0 KiB
Markdown

### [CVE-2024-34394](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2024-34394)
![](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)
![](https://img.shields.io/static/v1?label=Vulnerability&message=n%2Fa&color=brighgreen)
### Description
libxmljs2 is vulnerable to a type confusion vulnerability when parsing a specially crafted XML while invoking the namespaces() function (which invokes XmlNode::get_local_namespaces()) on a grand-child of a node that refers to an entity. This vulnerability can lead to denial of service and remote code execution.
### POC
#### Reference
- https://github.com/marudor/libxmljs2/issues/205
- https://github.com/marudor/libxmljs2/issues/205
- https://research.jfrog.com/vulnerabilities/libxmljs2-namespaces-type-confusion-rce-jfsa-2024-001034098/
- https://research.jfrog.com/vulnerabilities/libxmljs2-namespaces-type-confusion-rce-jfsa-2024-001034098/
#### Github
No PoCs found on GitHub currently.