CVE-2021-29060 json
Regular Expression Denial of Service (ReDOS)
published 5y ago modified 4mo ago also GHSA-257v-vj4p-3w2h , EUVD-2021-1238
- cvss
- 5.3
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.1%
- EPSS 3.1% chance of exploitation in 30 days, percentile 87%
- public exploits
- 0
- none known
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.
Patch / fix
- npm color-string 1.5.5
- color-string_project color-string 1.5.5
- node-color-string Debian 14, Debian 13, Debian 12 1.5.4-2
debian advisories DEBIAN-CVE-2021-29060
Is CVE-2021-29060 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-29060 updated cvss 5.3
nodejs-color-string: Regular expression denial of service when the application is provided and checks a crafted invalid HWB string
-
Red Hat OpenShift Service Mesh 1 servicemesh-grafana, servicemesh-prometheus, servicemesh-grafana-prometheusaffected: no fix planned “Will not fix”
-
Red Hat OpenShift Service Mesh 2.0 servicemesh-grafana, servicemesh-prometheus, servicemesh-grafana-prometheusaffected: no fix available
-
Red Hat OpenShift Container Platform 3.11 kibanaaffected: no fix planned “Out of support scope”
-
Red Hat OpenShift Container Platform 4 kibana, openshift4/ose-grafana, openshift4/ose-thanos-rhel9, openshift4/ose-logging-kibana6, openshift4/ose-prometheus-rhel9affected: no fix available, no fix planned “Out of support scope”
-
Red Hat Quay 3 quay/quay-rhel8 Red Hat Virtualization 4 ovirt-web-ui, ovirt-engine-ui-extensionsaffected: no fix planned “Will not fix”
-
Red Hat Logging Subsystem for Red Hat OpenShift openshift-logging/kibana6-rhel8 Red Hat Advanced Cluster Management for Kubernetes 2 rhacm2/console-rhel8, rhacm2/search-ui-rhel8, rhacm2/console-ui-rhel8not affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
3.13% chance of exploitation in the next 30 days, higher than 87% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/yetingli/PoCs/blob/main/CVE-2021-29060/Color-String.md referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
| GitHub | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | color-string | <1.5.5 |
1.5.5 |
Classification
- Weakness
-
- CWE-770 Allocation of Resources Without Limits or Throttling
References
-
github.com
/Qix-/color-string/commit/0789e21284c33d89ebc4ab4ca6f759b9375ac9d3
web, patch, third-party-advisory
-
github.com
/yetingli/PoCs/blob/main/CVE-2021-29060/Color-String.md
web, exploit, patch, third-party-advisory
-
github.com
/yetingli/SaveResults/blob/main/js/color-string.js
web, third-party-advisory
-
npmjs.com
/package/color-string
web, product
-
nvd.nist.gov
/vuln/detail/CVE-2021-29060
advisory
-
github.com
/Qix-/color-string/releases/tag/1.5.5
web
Sources
- CVE List CVE-2021-29060
- GitHub Advisory GHSA-257v-vj4p-3w2h
- NVD CVE-2021-29060
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.