GHSA-36jr-mh4h-2g58 d3-color vulnerable to ReDoS
An attacker can cause a denial of service in applications using the d3-color library by triggering a Regular expression Denial of Service.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is GHSA-36jr-mh4h-2g58?
GHSA-36jr-mh4h-2g58 is a denial of service vulnerability in d3-color, published on 29 Sep 2022. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Which versions are affected by GHSA-36jr-mh4h-2g58?
2 open source packages ship an affected version, including d3-color.
| Package | Affected | Fixed in |
|---|---|---|
d3-color npm | From 1.0.2 | 3.1.0 |
d3-color npm | From 1.0.2 | 3.1.0 |
How do I fix GHSA-36jr-mh4h-2g58?
Upgrade d3-color to 3.1.0 or later.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is GHSA-36jr-mh4h-2g58 being exploited?
There is no known exploitation of GHSA-36jr-mh4h-2g58 in the wild and no public exploit code.