Denial of Service in rgb2hex
Moderate severity
GitHub Reviewed
Published
Aug 23, 2019
to the GitHub Advisory Database
•
Updated Jan 9, 2023
Description
Reviewed
Aug 22, 2019
Published to the GitHub Advisory Database
Aug 23, 2019
Last updated
Jan 9, 2023
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.
References