GitHub Advisoryadvisory · npm

GHSA-773h-w45w-f2f9 Denial of service vulnerability exists in libxmljs

HIGH Published 2022-05-03 Modified 2022-05-26 Official page ↗
Aliases
CVE-2022-21144
Ecosystem
npm
Packages
libxmljs
Severity
High
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weaknesses
CWE-20
Reviewed
2022-05-04

Affected packages

• npm libxmljs: < 0.19.8 → fixed in 0.19.8

Description

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.

Related

Alias · CVE (1)

  • CVE-2022-21144 This affects all versions of package libxmljs. vulnerability

Weakness · CWE (1)

  • CWE-20 Improper Input Validation weakness

References