Vulnerability · Published Jun 21, 2021 · Assigned by mitre
CVE-2021-29060
Medium 5.3
In plain English
A medium-severity security flaw in the node-color-string package (Debian). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 3.1% (higher than 88% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)5.3Medium
Exploit odds (30 days)3.1%top 12.1% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | node-color-string | 1.5.4-2 | DEBIAN-CVE-2021-29060 |
| Debian:13 | node-color-string | 1.5.4-2 | DEBIAN-CVE-2021-29060 |
| Debian:14 | node-color-string | 1.5.4-2 | DEBIAN-CVE-2021-29060 |
| Ubuntu:22.04:LTS | node-color-string | no fix listed | UBUNTU-CVE-2021-29060 |
| Ubuntu:24.04:LTS | node-color-string | no fix listed | UBUNTU-CVE-2021-29060 |
| Ubuntu:25.10 | node-color-string | no fix listed | UBUNTU-CVE-2021-29060 |
| Ubuntu:26.04:LTS | node-color-string | no fix listed | UBUNTU-CVE-2021-29060 |
| Ubuntu:26.10 | node-color-string | no fix listed | UBUNTU-CVE-2021-29060 |
| npm | color-string | 1.5.5 | GHSA-257v-vj4p-3w2h |
Affected products (as reported)
References
- https://github.com/yetingli/SaveResults/blob/main/js/color-string.js x_refsource_MISC
- https://github.com/Qix-/color-string/commit/0789e21284c33d89ebc4ab4ca6f759b9375ac9d3 x_refsource_MISC
- https://www.npmjs.com/package/color-string x_refsource_MISC
- https://github.com/yetingli/PoCs/blob/main/CVE-2021-29060/Color-String.md x_refsource_MISC