Terser insecure use of regular expressions leads to ReDoS
The package terser before 4.8.1, from 5.0.0 and before 5.14.2 are vulnerable to Regular Expression Denial of Service (ReDoS) due to insecure usage of regular expressions.
01
describes (1)
Related CVEs.
| ID | severity | exploitable | ||
|---|---|---|---|---|
| CVE-2022-25858US | high7.5 | — | ||
The package terser before 4.8.1, from 5.0.0 and before 5.14.2 are vulnerable to Regular Expression Denial of Service (ReDoS) due to insecure usage of regular expressions. | ||||
02
references
External citations — patches, advisories, analysis.
- https://github.com/terser/terserPACKAGE
- https://github.com/terser/terser/blob/master/lib/compress/evaluate.js%23L135WEB
- https://github.com/terser/terser/commit/a4da7349fdc92c05094f41d33d06d8cd4e90e76bWEB
- https://github.com/terser/terser/commit/d8cc5691be980d663c29cc4d5ce67e852d597012WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-25858ADVISORY
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2949722WEB
- https://snyk.io/vuln/SNYK-JS-TERSER-2806366WEB
scry
Advisories like this name the exposed products attackers go after on your perimeter. See what is exposed on your perimeter with a free passive scan.
Free scan