Denial of Service in rgb2hex
Priority LOW 38CWE-400Published · Updated
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from GitHub. Impact type from CWE-400.
Summary
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.
Why it matters now
Fix Fixed rgb2hex (npm): 0.1.6
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | rgb2hex (npm) | before 0.1.6 | 0.1.6 | Patch available | GHSA-65p8-3hm4-h9h8 |
- rgb2hex (npm) Vendor— Affected before 0.1.6 Fixed in 0.1.6 Patch available GHSA-65p8-3hm4-h9h8
Remediation
- Fix · GHSA-65p8-3hm4-h9h8 rgb2hex (npm) Fixed in 0.1.6 Advisory →
Timeline
- 2026-10-03 Threatist record created from GHSA-65p8-3hm4-h9h8
References
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences