CVE-2024-34391
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).
How to fix
- libxmljs_project libxmljs1.0.11 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| libxmljs_project libxmljs | v < 1.0.11 | 1.0.11 |
| libxmljsnpm | v ≤ 1.0.11 | — |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.