acorn
Affected
- introduced
5.5.0, fixed5.7.4(semver)
Fixed versions
5.7.4
Fix
- Fixed version
5.7.4npm install [email protected]
Advisory
Also known as: None
Regular Expression Denial of Service in Acorn
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.
High Basis: The source's own band: HIGH
5.5.0, fixed 5.7.4 (semver)5.7.4
5.7.4npm install [email protected]6.0.0, fixed 6.4.1 (semver)6.4.1
6.4.1npm install [email protected]7.0.0, fixed 7.1.1 (semver)7.1.1
7.1.1npm install [email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0