Advisory

GHSA-mjr4-7xg5-pfvh

Also known as: CVE-2024-34393

Summary

libxmljs2 type confusion vulnerability when parsing specially crafted XML

Details

libxmljs2 is vulnerable to type confusion 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). At the time of publication, there is no fix.

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

libxmljs2

npm · All systems

Affected

  • introduced 0, last affected 0.33.0 (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