cve.bz

CVE-2021-29060 color-string project color-string

5.3 mediumExploit referenceEPSS 3.0%Fix available

Medium (5.3) in color-string project color-string. EPSS 3.0% estimated probability of exploitation activity in the next 30 days. Fixed in color-string 1.5.5.

On this page
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.

Severity

CVSS 3.1

5.3 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L
EPSS
3.0% (unchanged from 3.1% a week ago; 3.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 88th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-770 Allocation of Resources Without Limits or Throttling
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-29060 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-29060?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-29060?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-29060 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
color-string_project:color-stringbefore 1.5.5

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-257v-vj4p-3w2hnpmcolor-string<1.5.51.5.5

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14node-color-string1.5.4-2DEBIAN-CVE-2021-29060
Ubuntu18.04:LTS, 20.04:LTS, 22.04:LTS and 4 morenode-color-stringno fix listedUBUNTU-CVE-2021-29060

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

OpenShift Service Mesh 1.1.x is in its maintenance phase, only Important and Critical vulnerabilities will be fixed at this time.

In OpenShift Container Platform (OCP) and OpenShift Service Mesh (OSSM) some components include the vulnerable color-string library, but access is protected by OpenShift OAuth what reducing impact by this flaw to LOW.

Starting in OCP 4.7, the kibana component is shipping as "container first" content and as a part of the OpenShift Logging product (openshift-logging/kibana6-rhel8) and is not affected by this vulnerability. The kibana components delivered in OCP 4.6 and earlier are marked as `Out of support scope` because these versions are already under Maintenance Phase of the support.

In Red Hat Advanced Cluster Management for Kubernetes (RHACM) all containers are using the 1.5.5 fixed version, hence not RHACM version is affected by this flaw.

In Red Hat Virtualization a vulnerable version of color-string is used in ovirt-web-ui and ovirt-engine-ui-extensions. It is a build-time dependency not exploitable in the delivered product. Therefore impact is rated Low and it will not be immediately fixed. An update may be provided in future releases.

ProductPackageStateAdvisory
Logging Subsystem for Red Hat OpenShiftopenshift-logging/kibana6-rhel8Not affected
OpenShift Service Mesh 1servicemesh-grafanaWill not fix
OpenShift Service Mesh 1servicemesh-prometheusWill not fix
OpenShift Service Mesh 2.0servicemesh-grafanaAffected
OpenShift Service Mesh 2.0servicemesh-prometheusAffected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/console-rhel8Not affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/console-ui-rhel8Not affected
Red Hat Advanced Cluster Management for Kubernetes 2rhacm2/search-ui-rhel8Not affected
Red Hat OpenShift Container Platform 3.11kibanaOut of support scope
Red Hat OpenShift Container Platform 4kibanaOut of support scope
Red Hat OpenShift Container Platform 4openshift4/ose-grafanaFix deferred
Red Hat OpenShift Container Platform 4openshift4/ose-logging-kibana6Out of support scope
Red Hat OpenShift Container Platform 4openshift4/ose-prometheusFix deferred
Red Hat OpenShift Container Platform 4openshift4/ose-thanos-rhel8Fix deferred
Red Hat Quay 3quay/quay-rhel8Will not fix
Red Hat Virtualization 4ovirt-engine-ui-extensionsWill not fix
Red Hat Virtualization 4ovirt-web-uiWill not fix

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-29060.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-770 (20).

References

Check your stackJSON