~ / search / GHSA-78h3-pg4x-j8cv

GHSA-78h3-pg4x-j8cv

libxmljs2 vulnerable to type confusion when parsing specially crafted XML

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

Packages

EcosystemPackageAffectedFixed in
npm libxmljs2 <= 0.35.0 no fix listed

Details

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

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.

References

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