CVE-2024-34394
HIGH8.1EPSS 3.8%libxmljs2 vulnerable to type confusion when parsing specially crafted XML
Published: 5/2/2024Modified: 11/25/2024
Also known as:GHSA-78h3-pg4x-j8cv
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.
Affected packages (1)
- npm/libxmljs2from 0, <= 0.35.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| osv | CVSS 3.1 | HIGH8.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H |