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.
References
Link | Resource |
---|---|
https://github.com/terser/terser/blob/master/lib/compress/evaluate.js%23L135 | Broken Link |
https://github.com/terser/terser/commit/a4da7349fdc92c05094f41d33d06d8cd4e90e76b | Patch Third Party Advisory |
https://github.com/terser/terser/commit/d8cc5691be980d663c29cc4d5ce67e852d597012 | Patch Third Party Advisory |
https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2949722 | Exploit Patch Third Party Advisory |
https://snyk.io/vuln/SNYK-JS-TERSER-2806366 | Exploit Patch Third Party Advisory |
History
No history.
MITRE Information
Status: PUBLISHED
Assigner: snyk
Published: 2022-07-15T00:00:00
Updated: 2022-07-15T20:00:19
Reserved: 2022-02-24T00:00:00
Link: CVE-2022-25858
JSON object: View
NVD Information
Status : Analyzed
Published: 2022-07-15T20:15:08.427
Modified: 2023-08-08T14:22:24.967
Link: CVE-2022-25858
JSON object: View
Redhat Information
No data.
CWE