GHSA-6chw-6frg-f759 Regular Expression Denial of Service in Acorn
Attackers can cause a denial of service in applications using the Acorn parser by submitting specific invalid UTF-16 strings that trigger an infinite loop.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is GHSA-6chw-6frg-f759?
GHSA-6chw-6frg-f759 is a denial of service vulnerability in acorn, published on 3 Apr 2020. 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-6chw-6frg-f759?
6 open source packages ship an affected version, including acorn.
| Package | Affected | Fixed in |
|---|---|---|
acorn npm | From 5.5.0 | 5.7.4 |
acorn npm | From 5.5.0 | 5.7.4 |
acorn npm | From 6.0.0 | 6.4.1 |
acorn npm | From 6.0.0 | 6.4.1 |
acorn npm | From 7.0.0 | 7.1.1 |
acorn npm | From 7.0.0 | 7.1.1 |
How do I fix GHSA-6chw-6frg-f759?
Upgrade acorn to a fixed version for your release line: 5.7.4, 6.4.1 or 7.1.1.
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-6chw-6frg-f759 being exploited?
There is no known exploitation of GHSA-6chw-6frg-f759 in the wild and no public exploit code.