Advisory

GHSA-773h-w45w-f2f9

Also known as: CVE-2022-21144, SNYK-JS-LIBXMLJS-2348756

Summary

Denial of service vulnerability exists in libxmljs

Details

libxmljs provides libxml bindings for v8 javascript engine. This affects all versions of package libxmljs. When invoking the libxmljs.parseXml function with a non-buffer argument the V8 code will attempt invoking the .toString method of the argument. If the argument's toString value is not a Function object V8 will crash.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-05-03 00:00 UTC
Modified
2026-07-08 06:49 UTC

Affected packages and fixes

libxmljs

npm · All systems

Affected

  • introduced 0, fixed 0.19.8 (semver)

Fixed versions

0.19.8

Fix

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