Advisory

GHSA-5rqg-jm4f-cqx7

Also known as: None

Summary

Infinite loop causing Denial of Service in colors

Details

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.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2022-01-10 17:29 UTC
Modified
2022-01-10 19:56 UTC

Affected packages and fixes

colors

npm · All systems

Affected

  • introduced 1.4.1, last affected 1.4.2 (semver)

Fixed versions

None listed

Fix

No fixed version is listed.

colors

npm · All systems

Affected

  • Versions: 1.4.44-liberty-2

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences