CVE-2021-29060: Color-String - Regular Expression Denial of Service
- Cve: CVE-2021-29060
- Name: Color-String - Regular Expression Denial of Service
- 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.
- Impact: Attackers can cause application to become unresponsive or crash, leading to denial of service.
- Remediation: Update to the latest version of Color-String that addresses this issue.
- Vulnerability type: misconfiguration
- Vulnerability impact: denial_of_service
- Requirement type: user_interaction
- Requirements: Attacker needs to provide a crafted invalid HWB string
- Labels source: projectdiscovery
- Severity: medium
- Cvss score: 5.3
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
- Epss score: 0.03011
- Epss percentile: 0.87655
- Assignee: [email protected]
- Published at: 2021-06-21T16:15:08Z
- Age in days: 1982
- Modified at: 2026-06-17T03:47:13Z
- Patch available: yes
- Public exploits total: 1
- References total: 4
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-29060
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
- Not known: hackerone
Cwe
| Id | Name |
|---|---|
| CWE-770 | Allocation of Resources Without Limits or Throttling |
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://github.com/yetingli/PoCs/blob/main/CVE-2021-29060/Color-String.md | nvd | 2021-06-21 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/Qix-/color-string/commit/0789e21284c33d89ebc4ab4ca6f759b9375ac9d3 | Patch, Third Party Advisory |
| https://github.com/yetingli/PoCs/blob/main/CVE-2021-29060/Color-String.md | Exploit, Patch, Third Party Advisory |
| https://github.com/yetingli/SaveResults/blob/main/js/color-string.js | Third Party Advisory |
| https://www.npmjs.com/package/color-string | Product |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| color-string_project:color-string | < 1.5.5 | no | nvd | /v1/products/color-string_project/color-string |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| qix-/color-string | commit, releases | yes | /v1/repositories/qix-/color-string |
Index
- Repositories: 235
- Repositories high signal: 34
- Packages: 1
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2021-06-21
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, hackerone reports, exposed hosts