
CVE catalog
CVE-2021-23567
colors.js: CVE-2021-23567
- Severity
- Low
- Source
- [NVD] · [CVE record]
- EPSS
- 1.73% · Oct 25, 2026
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
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | colors.js | sid | 1.4.0-4 | not affected |
| Debian | colors.js | forky | 1.4.0-4 | not affected |
| Debian | colors.js | trixie | 1.4.0-4 | not affected |
| Debian | colors.js | bookworm | 1.4.0-4 | not affected |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | colors.js | source | sid | Not affected | unimportant | Not reported | Not reported |
| Debian | colors.js | source | forky | Not affected | unimportant | Not reported | Not reported |
| Debian | colors.js | source | trixie | Not affected | unimportant | Not reported | Not reported |
| Debian | colors.js | source | bookworm | Not affected | unimportant | Not reported | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [node-colors]Not affected
Source package: [colors.js]
Details (2)
1.4.0-4· all · bookwormNot affected
dsa · colors.js · debian · bookworm
1.4.0-4· all · bookwormNot affected
dsa · colors.js · debian · bookworm
Observed: