Advisory

GHSA-6433-x5p4-8jc7

Also known as: CVE-2024-34391

Summary

libxmljs vulnerable to type confusion when parsing specially crafted XML

Details

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).

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2024-05-02 21:30 UTC
Modified
2024-11-25 19:27 UTC

Affected packages and fixes

libxmljs

npm · All systems

Affected

  • introduced 0, last affected 1.0.11 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences