All CVEs / Color-string Project
CVE-2021-29060Color-string Project Color-string
Medium 5.3 No auth needed
Follow: this CVE · Color-string Project · Color-string Project Color-string We alert you by email or Slack (account required).
- Priority
- 47
- CVSS 3.1
- 5.3
- EPSS
- 3.0% probability of exploitation in 30 days · percentile 88
- Auth required
- No
- Published
- Jun 21, 2021
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-770
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
What happens
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.
What to do
- Apply the vendor's security update for Color-string.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | color-string |
< 1.5.5 |
1.5.5 |
npm install color-string@1.5.5 |
Per OSV / GitHub Advisories (GHSA-257v-vj4p-3w2h). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| color-string_project | color-string | < 1.5.5 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- github.com Exploit Patch Third Party Advisory
- github.com Third Party Advisory
- www.npmjs.com Product