CVE-2021-29060
MEDIUM 5.3CVSS 3.1Regular Expression Denial of Service (ReDOS)
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.
- Published
- 21 Jun 2021
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-770
- Also known as
- GHSA-257v-vj4p-3w2h
- Sources
- NVDJSONOSV GHSA-257v-vj4p-3w2hJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| OSV | GitHub | CVSS 3.1 | MEDIUM 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | color-string_project | color-stringcpe:2.3:a:color-string_project:color-string:*:*:*:*:*:node.js:*:* |
< 1.5.5 | 1.5.5 |
| OSV | npm | color-string | < 1.5.5 | 1.5.5 |
References
- https://github.com/Qix-/color-string/commit/0789e21284c33d89ebc4ab4ca6f759b9375ac9d3 · Patch, Third Party Advisory, WEB
- https://github.com/yetingli/PoCs/blob/main/CVE-2021-29060/Color-String.md · Exploit, Patch, Third Party Advisory, WEB
- https://github.com/yetingli/SaveResults/blob/main/js/color-string.js · Third Party Advisory, WEB
- https://www.npmjs.com/package/color-string · Product, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2021-29060 · ADVISORY
- https://github.com/Qix-/color-string/releases/tag/1.5.5 · WEB
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 21 Jun 2021)
- 25 Nov 2026 20:10 UTC · OSV: first stored (published 22 Jun 2021)