Vulnerability in Terser
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.
Vulnerability class: ReDoS (Regular Expression Denial of Service)
EPSS: 0.030 (86.0th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 5.3 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L.
Affected products
- Terser
- N/a Terser — versions unspecified, 5.0.0
Weakness classification (CWE)
Public proof-of-concept exploits
References
- report@snyk.io (Exploit, Patch, Third Party Advisory, x_refsource_MISC)
- report@snyk.io (Exploit, Patch, Third Party Advisory, x_refsource_MISC)
- report@snyk.io (x_refsource_MISC, Broken Link)
- report@snyk.io (Patch, Third Party Advisory, x_refsource_MISC)
- report@snyk.io (Patch, Third Party Advisory, x_refsource_MISC)
Frequently asked questions
- What is CVE-2022-25858?
- CVE-2022-25858 is a medium-severity vulnerability in Terser, classified under Inefficient Regular Expression Complexity. CVSS score: 5.3/10. Published 2022-07-15.
- How severe is CVE-2022-25858?
- Medium severity. CVSS v3 base score is 5.3 out of 10.
- Is CVE-2022-25858 known to be exploited?
- 4 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.