CVE-2021-23567
Summary
| CVE | CVE-2021-23567 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2022-01-14 20:15:00 UTC |
| Updated | 2022-01-21 19:08:00 UTC |
| Description | 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 |
Risk And Classification
Problem Types: CWE-835
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Application | Colors.js Project | Colors.js | 1.4.1 | All | All | All |
| Application | Colors.js Project | Colors.js | 1.4.44-liberty-2 | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| N/A | CONFIRM | github.com | |
| Denial of Service (DoS) in colors | CVE-2021-23567 | Snyk | CONFIRM | snyk.io | |
| N/A | CONFIRM | github.com | |
| Zalgo issue with `v1.4.44-liberty-2` release · Issue #285 · Marak/colors.js · GitHub | CONFIRM | github.com | |
| Open source maintainer pulls the plug on npm packages colors and faker, now what? | Snyk | CONFIRM | snyk.io | |
| Adds new American flag module · Marak/colors.js@074a0f8 · GitHub | MITRE | github.com | |
| Zalgo issue with `v1.4.44-liberty-2` release · Issue #285 · Marak/colors.js · GitHub | MITRE | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
LEGACY: Unknown
There are currently no legacy QID mappings associated with this CVE.