All reports
Medium

Denial of Service in rgb2hex

Affected versions

Affected versions
< 0.1.6
Fixed version
0.1.6

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.

Links