Denial of service (DoS) in colors
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · High
- Fix status
- No fix listed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-835.
Summary
The package colors after 1.4.0 are vulnerable to Denial of Service (DoS) that was introduced through an infinite loop in the americanFlag module. Unfortunately this appears to have been a purposeful attempt by a maintainer of colors to make the package unusable, other maintainers' controls over this package appear to have been revoked in an attempt to prevent them from fixing the issue. Vulnerable Code js for (let i = 666; i < Infinity; i++;) { Alternative Remediation Suggested * Pin dependancy to 1.4.0
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | colors | next of 1.4.0 and later | — | No fix listed | CNA |
| — | colors (npm) | 1.4.1 and later | — | No fix listed | GHSA-gh88-3pxp-6fm8 |
- colors Vendor— Affected next of 1.4.0 and later Fixed in — No fix listed CNA
- colors (npm) Vendor— Affected 1.4.1 and later Fixed in — No fix listed GHSA-gh88-3pxp-6fm8
CPE configurations NVD · 2
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:colors.js_project:colors.js:1.4.1:*:*:*:*:node.js:*:* | 1.4.1 | Vulnerable | Colors.js Project |
| cpe:2.3:a:colors.js_project:colors.js:1.4.44-liberty-2:*:*:*:*:node.js:*:* | 1.4.44-liberty-2 | Vulnerable | Colors.js Project |
- cpe:2.3:a:colors.js_project:colors.js:1.4.1:*:*:*:*:node.js:*:* Versions 1.4.1 Vulnerable ·Colors.js Project
- cpe:2.3:a:colors.js_project:colors.js:1.4.44-liberty-2:*:*:*:*:node.js:*:* Versions 1.4.44-liberty-2 Vulnerable ·Colors.js Project
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2021-23567
- 2026-10-03 Alias added: GHSA-gh88-3pxp-6fm8
References
Exploit 2
Sources
- CVE-2021-23567 · CVE Program
- CVE-2021-23567 · NVD
- FIRST EPSS
- GHSA-gh88-3pxp-6fm8 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences