Live threats

All CVEs / Color-string Project

CVE-2021-29060Color-string Project Color-string

Medium 5.3 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Color-string.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
color-string_projectcolor-string< 1.5.5

Official sources

References

Links published by the sources. Open them with care.