v8n
Affected
- introduced
0, fixed1.5.1(semver)
Fixed versions
1.5.1
Fix
- Fixed version
1.5.1npm install [email protected]
Advisory
Also known as: CVE-2022-35923
v8n vulnerable to Inefficient Regular Expression Complexity
Impact
Inefficient regular expression complexity of lowercase() and uppercase() regex could lead to a denial of service attack. With a formed payload 'a' + 'a'.repeat(i) + 'A', only 32 characters payload could take 29443 ms time execution when testing lowercase(). The same issue happens with uppercase().
Patches
v1.5.1
References
huntr.dev report
_Regular Expression Denial of Service (ReDoS) and Catastrophic Backtracking_
For more information
If you have any questions or comments about this advisory:
High Basis: The source's own band: HIGH
0, fixed 1.5.1 (semver)1.5.1
1.5.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