CVE-2022-25858
HIGHCVSS 7.5/10EPSS 2.32%
Last modified
CVE-2022-25858 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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.. EPSS estimates a 2.32% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Terser | Terser | < 4.8.1 |
| Terser | Terser | >= 5.0.0, < 5.14.2 |
References
- https://github.com/terser/terser/commit/a4da7349fdc92c05094f41d33d06d8cd4e90e76bPatch, Third Party Advisory
- https://github.com/terser/terser/commit/d8cc5691be980d663c29cc4d5ce67e852d597012Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2949722Exploit, Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-TERSER-2806366Exploit, Patch, Third Party Advisory
- https://github.com/terser/terser/commit/a4da7349fdc92c05094f41d33d06d8cd4e90e76bPatch, Third Party Advisory
- https://github.com/terser/terser/commit/d8cc5691be980d663c29cc4d5ce67e852d597012Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JAVA-ORGWEBJARSNPM-2949722Exploit, Patch, Third Party Advisory
- https://snyk.io/vuln/SNYK-JS-TERSER-2806366Exploit, Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Modified
Frequently Asked Questions
What is CVE-2022-25858?
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.
How severe is CVE-2022-25858?
CVE-2022-25858 has a CVSS score of 7.5/10 (HIGH severity). The EPSS model estimates a 2.32% probability of exploitation in the next 30 days.
How do I fix CVE-2022-25858?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.
Are you affected by CVE-2022-25858?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
