Advisory

GHSA-65p8-3hm4-h9h8

Also known as: None

Summary

Denial of Service in rgb2hex

Details

All versions of rgb2hex are vulnerable to Regular Expression Denial of Service (ReDoS) when an attacker can pass in a specially crafted invalid color value.

Recommendation

Update to version 0.1.6 or later.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2019-08-23 00:04 UTC
Modified
2021-08-17 21:23 UTC

Affected packages and fixes

rgb2hex

npm · All systems

Affected

  • introduced 0, fixed 0.1.6 (semver)

Fixed versions

0.1.6

Fix

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