Vulnerability Description
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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Libxmljs Project | Libxmljs | < 0.19.8 |
Related Weaknesses (CWE)
References
- https://github.com/libxmljs/libxmljs/commit/2501807bde9b38cfaed06d1e140487516d91PatchThird Party Advisory
- https://github.com/libxmljs/libxmljs/pull/594PatchThird Party Advisory
- https://snyk.io/vuln/SNYK-JS-LIBXMLJS-2348756ExploitThird Party Advisory
- https://github.com/libxmljs/libxmljs/commit/2501807bde9b38cfaed06d1e140487516d91PatchThird Party Advisory
- https://github.com/libxmljs/libxmljs/pull/594PatchThird Party Advisory
- https://snyk.io/vuln/SNYK-JS-LIBXMLJS-2348756ExploitThird Party Advisory
FAQ
What is CVE-2022-21144?
CVE-2022-21144 is a vulnerability with a CVSS score of 7.5 (HIGH). 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 ar...
How severe is CVE-2022-21144?
CVE-2022-21144 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-21144?
Check the references section above for vendor advisories and patch information. Affected products include: Libxmljs Project Libxmljs.