CVE-2021-23567

Denial of Service (DoS)

High · published January 14, 2022

CVSS v3.1
7.5
EPSS
2%
Percentile
77.5
In the wild
Unconfirmed
What it is

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

The record
Technical detail
CVSS v3.1
7.5 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS v4.0
Not supplied
EPSS
0.01733 · 77.5th percentile
Published
2022-01-14T20:05Z
EPSS history
Timeline
  • 14 JAN 20:05Z
    Denial of Service (DoS)
    cvelistv5