CVE-2024-34394
libxmljs2 vulnerable to type confusion when parsing specially crafted XML
Einstufung nach Quelle
Trivys eigenes Label ist CRITICAL. Kritisch laut GHSA.
Beschreibung
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.
Betroffene Pakete und behobene Versionen
| Quelle | Paket | Behoben in |
|---|---|---|
| npm::GitHub Security Advisory npm | libxmljs2 | kein Fix angegeben |
Referenzen
- https://github.com/marudor/libxmljs2
- https://github.com/marudor/libxmljs2/issues/205
- https://nvd.nist.gov/vuln/detail/CVE-2024-34394
- 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/