~ / search / GHSA-mjr4-7xg5-pfvh

GHSA-mjr4-7xg5-pfvh

libxmljs2 type confusion vulnerability when parsing specially crafted XML

Source: GitHub Advisory Database (reviewed) Critical CVE-2024-34393

Packages

EcosystemPackageAffectedFixed in
npm libxmljs2 <= 0.33.0 no fix listed

Details

As written in the advisory (Markdown source, shown as plain text).

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.

References

External links from the advisory. They lead to third-party sites.