rgb2hex@0.1.4 vulnerabilities

lightweight rgb/rgba to hex parser

Direct Vulnerabilities

Known vulnerabilities in the rgb2hex package. This does not include vulnerabilities belonging to this package’s dependencies.

Automatically find and fix vulnerabilities affecting your projects. Snyk scans for vulnerabilities and provides fixes for free.
Fix for free
Vulnerability Vulnerable Version
  • M
Regular Expression Denial of Service (ReDoS)

rgb2hex is a lightweight rgb/rgba to hex parser.

Affected versions of this package are vulnerable to Regular Expression Denial of Service (ReDoS) when processing certain malformed RGB values.

How to fix Regular Expression Denial of Service (ReDoS)?

Upgrade rgb2hex to version 0.1.6 or higher.

<0.1.6
  • M
Regular Expression Denial of Service (ReDoS)

Affected versions of rgb2hex are vulnerable to Regular expression Denial of Service (ReDoS) when parsing crafted invalid colors.

How to fix Regular Expression Denial of Service (ReDoS)?

Upgrade rgb2hex to version 0.1.6 or higher.

<0.1.6