CVE-2021-29060
MEDIUMColor-string < 1.5.5 - Resource Allocation Without Limits
Title source: ruleDescription
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.
References (4)
Core 4
Core References
Third Party Advisory x_refsource_misc
https://github.com/yetingli/SaveResults/blob/main/js/color-string.js
Patch, Third Party Advisory x_refsource_misc
https://github.com/Qix-/color-string/commit/0789e21284c33d89ebc4ab4ca6f759b9375ac9d3
Product x_refsource_misc
https://www.npmjs.com/package/color-string
Exploit, Patch, Third Party Advisory x_refsource_misc
https://github.com/yetingli/PoCs/blob/main/CVE-2021-29060/Color-String.md
Scores
CVSS v3
5.3
EPSS
0.0034
EPSS Percentile
56.4%
Attack Vector
NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
Details
CWE
CWE-770
Status
published
Products (2)
color-string_project/color-string
< 1.5.5
npm/color-string
0 - 1.5.5npm
Published
Jun 21, 2021
Tracked Since
Feb 18, 2026