Improper input validation in Libxmljs Project
CVE-2022-21144
- CVSS v3
- 7.5 High
- Public exploits
- None known
- EPSS
- 0.019 · 80.2th percentile
- Published
- 2022-05-01
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- None
PR:N - User Interaction
- None
UI:N - Scope
- Unchanged
S:U - Confidentiality
- None
C:N - Integrity
- None
I:N - Availability
- High
A:H
EPSS exploit prediction
EPSS 0.019, 80.2th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Libxmljs Project
- Libxmljs — versions 0
Weakness classification (CWE)
References
- snyk.io/vuln/SNYK-JS-LIBXMLJS-2348756 (Exploit, Third Party Advisory)
- github.com/libxmljs/libxmljs/pull/594 (Patch, Third Party Advisory)
- github.com/libxmljs/libxmljs/commit/2501807bde9b38cfaed06d1e140487516d91379d (Patch, Third Party Advisory)