Vulnerability Details : CVE-2022-21144
Potential exploit
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.
Products affected by CVE-2022-21144
- cpe:2.3:a:libxmljs_project:libxmljs:*:*:*:*:*:node.js:*:*
Exploit prediction scoring system (EPSS) score for CVE-2022-21144
0.42%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 61 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-21144
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
5.0
|
MEDIUM | AV:N/AC:L/Au:N/C:N/I:N/A:P |
10.0
|
2.9
|
NIST | |
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
3.9
|
3.6
|
NIST | |
7.5
|
HIGH | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
3.9
|
3.6
|
Snyk |
CWE ids for CVE-2022-21144
-
The product does not properly control the allocation and maintenance of a limited resource.Assigned by: nvd@nist.gov (Primary)
References for CVE-2022-21144
-
https://github.com/libxmljs/libxmljs/pull/594
Ensure parseXml/parseHtml input is string or buffer by rchipka · Pull Request #594 · libxmljs/libxmljs · GitHubPatch;Third Party Advisory
-
https://snyk.io/vuln/SNYK-JS-LIBXMLJS-2348756
Denial of Service (DoS) in libxmljs | CVE-2022-21144 | SnykExploit;Third Party Advisory
-
https://github.com/libxmljs/libxmljs/commit/2501807bde9b38cfaed06d1e140487516d91379d
Ensure parseXml/parseHtml input is string or buffer (#594) · libxmljs/libxmljs@2501807 · GitHubPatch;Third Party Advisory
Jump to