Medium
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-29060
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 11:16 UTC · Revision 1
Source evidence
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.
osv:CVE-2021-29060
Complete source record
{
"id": "df5454f739129fcac71f46d28daeea098a89262507f31c0d897ad53ec5df26a5",
"url": "https://osv.dev/vulnerability/CVE-2021-29060",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-29060",
"summary": "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.",
"evidence": "osv:CVE-2021-29060",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2021-29060",
"aliases": [
"CVE-2021-29060",
"GHSA-257v-vj4p-3w2h"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/qix-/color-string",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "966ae4d80fc8f237674d099ce6214a9fb6a816bb"
},
{
"fixed": "0789e21284c33d89ebc4ab4ca6f759b9375ac9d3"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:color-string_project:color-string:*:*:*:*:*:node.js:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "1.5.5"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "0789e21284c33d89ebc4ab4ca6f759b9375ac9d3"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"1.5.4",
"1.5.2",
"1.5.1",
"1.5.0",
"1.4.0",
"1.3.1",
"1.3.0",
"1.2.0",
"1.1.1",
"1.1.0",
"1.0.1",
"1.0.0",
"0.4.0",
"0.3.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-29060.json"
}
}
],
"modified": "2026-10-20T10:53:42.905231134Z",
"provider": "osv",
"references": [
"https://www.npmjs.com/package/color-string",
"https://github.com/yetingli/SaveResults/blob/main/js/color-string.js",
"https://github.com/Qix-/color-string/commit/0789e21284c33d89ebc4ab4ca6f759b9375ac9d3",
"https://github.com/yetingli/PoCs/blob/main/CVE-2021-29060/Color-String.md"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-29060",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 384531,
"published_at": "2021-06-21T16:15:08.113+00:00"
}