CVE-2021-40892 Denial of service in n/a

High 7.5 Published Updated

Attackers can cause denial of service in applications using validate-color by submitting crafted invalid rgb(a) strings that trigger excessive CPU usage.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2021-40892?

CVE-2021-40892 is a high-severity denial of service vulnerability in n/a, published on 24 Jun 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

A Regular Expression Denial of Service (ReDOS) vulnerability was discovered in validate-color v2.1.0 when handling crafted invalid rgb(a) strings.

Weakness: CWE-1333

Which versions are affected by CVE-2021-40892?

It affects 1 product.

Products include Validate Color Project Validate Color.

How do I fix CVE-2021-40892?

No fix has been published for CVE-2021-40892 yet. Limit exposure of the affected software until one is available.

Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.

Is CVE-2021-40892 being exploited?

There is no known exploitation of CVE-2021-40892 in the wild and no public exploit code.

Sources

Also known as GHSA-m96c-6rgj-h42p.

Is CVE-2021-40892 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free