GHSA-65p8-3hm4-h9h8
6.5medium
Denial of Service in rgb2hex
- Severity
- 6.5medium CVSS:3.1 by GitHub
- Published
- Last changed
Description
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| rgb2hex (npm) | before 0.1.6 | GitHub Advisory Database |
Classification
References
Sources
| Source | Record | Licence |
|---|---|---|
| GitHub Advisory Database | GHSA-65p8-3hm4-h9h8 changed 2021-08-17 | CC-BY-4.0 |