Regular Expression Denial of Service in Acorn
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from GitHub. Impact type from CWE-400.
Summary
Affected versions of acorn are vulnerable to Regular Expression Denial of Service. A regex in the form of /[x-\ud800]/u causes the parser to enter an infinite loop. The string is not valid UTF16 which usually results in it being sanitized before reaching the parser. If an application processes untrusted input and passes it directly to acorn, attackers may leverage the vulnerability leading to Denial of Service.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | acorn (npm) | 5.5.0 to before 5.7.4 | 5.7.4 | Patch available | GHSA-6chw-6frg-f759 |
| — | acorn (npm) | 6.0.0 to before 6.4.1 | 6.4.1 | Patch available | GHSA-6chw-6frg-f759 |
| — | acorn (npm) | 7.0.0 to before 7.1.1 | 7.1.1 | Patch available | GHSA-6chw-6frg-f759 |
- acorn (npm) Vendor— Affected 5.5.0 to before 5.7.4 Fixed in 5.7.4 Patch available GHSA-6chw-6frg-f759
- acorn (npm) Vendor— Affected 6.0.0 to before 6.4.1 Fixed in 6.4.1 Patch available GHSA-6chw-6frg-f759
- acorn (npm) Vendor— Affected 7.0.0 to before 7.1.1 Fixed in 7.1.1 Patch available GHSA-6chw-6frg-f759
Remediation
- Fix · GHSA-6chw-6frg-f759 acorn (npm) Fixed in 5.7.4 Advisory →
- Fix · GHSA-6chw-6frg-f759 acorn (npm) Fixed in 6.4.1 Advisory →
- Fix · GHSA-6chw-6frg-f759 acorn (npm) Fixed in 7.1.1 Advisory →
Timeline
- 2026-10-03 Threatist record created from GHSA-6chw-6frg-f759
References
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences