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.
References
Link | Resource |
---|---|
https://snyk.io/vuln/SNYK-JS-LIBXMLJS-2348756 | Exploit Third Party Advisory |
https://github.com/libxmljs/libxmljs/commit/2501807bde9b38cfaed06d1e140487516d91379d | Patch Third Party Advisory |
https://github.com/libxmljs/libxmljs/pull/594 | Patch Third Party Advisory |
Configurations
Information
Published : 2022-05-01 09:15
Updated : 2022-07-18 10:41
NVD link : CVE-2022-21144
Mitre link : CVE-2022-21144
JSON object : View
CWE
CWE-400
Uncontrolled Resource Consumption
Products Affected
libxmljs_project
- libxmljs