Every CVESearch/Get API key

GHSA-5rqg-jm4f-cqx7

Infinite loop causing Denial of Service in colors

No score

GHSA-5rqg-jm4f-cqx7 is a vulnerability with no CVSS score yet in Colors, published January 10, 2022. No source lists public exploit code. No source names a fixed version.

What does this mean?
Severity
UnratedNo CVSS score yet
Exploit chance
UnscoredNo EPSS score yet
Exploitation
None knownNot on CISA’s or ENISA’s lists
Fixed in
No fix listedNo source names one

Description

colors is a library for including colored text in node.js consoles. Between 07 and 09 January 2022, colors versions 1.4.1, 1.4.2, and 1.4.44-liberty-2 were published including malicious code that caused a Denial of Service due to an infinite loop. Software dependent on these versions experienced the printing of randomized characters to console and an infinite loop resulting in unbound system resource consumption.

Users of colors relying on these specific versions should downgrade to version 1.4.0.

Affected packages

Affected packages
PackageAffectedFixed
Colors
npm
1.4.1 to 1.4.2None known
Colors
npm
1.4.44-liberty-2 to 1.4.44-liberty-2None known
colors
npm
1.4.1 to 1.4.2None known
colors
npm
Listed versions
1.4.44-liberty-2
None known

What each source reports

GitHub AdvisoriesNo score

Infinite loop causing Denial of Service in colors

colors is a library for including colored text in node.js consoles. Between 07 and 09 January 2022, colors versions 1.4.1, 1.4.2, and 1.4.44-liberty-2 were published including malicious code that caused a Denial of Service due to an infinite loop. Software dependent on these versions experienced the printing of randomized characters to console and an infinite loop resulting in unbound system resource consumption.

Users of colors relying on these specific versions should downgrade to version 1.4.0.

Record
GHSA-5rqg-jm4f-cqx7
Weakness
CWE-835
Updated
2026-11-02
OSVNo score

Infinite loop causing Denial of Service in colors

colors is a library for including colored text in node.js consoles. Between 07 and 09 January 2022, colors versions 1.4.1, 1.4.2, and 1.4.44-liberty-2 were published including malicious code that caused a Denial of Service due to an infinite loop. Software dependent on these versions experienced the printing of randomized characters to console and an infinite loop resulting in unbound system resource consumption.

Users of colors relying on these specific versions should downgrade to version 1.4.0.

Record
GHSA-5rqg-jm4f-cqx7
Weakness
CWE-835
Updated
2026-11-02

History

History
RecordedChangedSources
first indexedGitHub Advisories, OSV

Dates are when Every CVE recorded each change. Upstream dates may differ.

References

MoveEnter Open