Vulnerability Details : CVE-2021-29060
Potential exploit
A Regular Expression Denial of Service (ReDOS) vulnerability was discovered in Color-String version 1.5.5 and below which occurs when the application is provided and checks a crafted invalid HWB string.
Vulnerability category: Denial of service
Products affected by CVE-2021-29060
- cpe:2.3:a:color-string_project:color-string:*:*:*:*:*:node.js:*:*
Exploit prediction scoring system (EPSS) score for CVE-2021-29060
0.21%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 44 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2021-29060
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 | |
5.3
|
MEDIUM | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
3.9
|
1.4
|
NIST |
CWE ids for CVE-2021-29060
-
The product allocates a reusable resource or group of resources on behalf of an actor without imposing any restrictions on the size or number of resources that can be allocated, in violation of the intended security policy for that actor.Assigned by: nvd@nist.gov (Primary)
References for CVE-2021-29060
-
https://github.com/yetingli/PoCs/blob/main/CVE-2021-29060/Color-String.md
PoCs/Color-String.md at main · yetingli/PoCs · GitHubExploit;Patch;Third Party Advisory
-
https://github.com/yetingli/SaveResults/blob/main/js/color-string.js
SaveResults/color-string.js at main · yetingli/SaveResults · GitHubThird Party Advisory
-
https://github.com/Qix-/color-string/commit/0789e21284c33d89ebc4ab4ca6f759b9375ac9d3
fix ReDos in hwb() parser (low-severity) · Qix-/color-string@0789e21 · GitHubPatch;Third Party Advisory
-
https://www.npmjs.com/package/color-string
color-string - npmProduct
Jump to