Vulnerability library
Security checkJanuary 09, 2023

Denial of Service in rgb2hex

Understand the exposure, see the recommended fix, and check whether your own website has related weaknesses.

Medium severitynpmrgb2hex

Check your website

Find this and other vulnerabilities with a free scan.

Your scan runs on your computer. No account required.

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 the rgb2hex package to the latest compatible version. Followings are version details:

  • Affected version(s): < 0.1.6
  • Patched version(s): 0.1.6

References

Could your website be exposed too?

SmartScanner can check your website for Denial of Service in rgb2hex and gives you actionable findings to investigate.

Start a free scan

Related Issues

See something that needs correcting? Let us knowUpdated January 09, 2023