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.
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2022
- CVE-2022-25852All versions of package pg-native; all versions of package l…7.5
- CVE-2022-25853All versions of the package semver-tags are vulnerable to Co…7.8
- CVE-2022-25854This affects the package @yaireo/tagify before 4.9.8. The pa…5.4
- CVE-2022-25855All versions of the package create-choo-app3 are vulnerable …7.8
- CVE-2022-25856The package github.com/argoproj/argo-events/sensors/artifact…7.5
- CVE-2022-25857The package org.yaml:snakeyaml from 0 and before 1.31 are vu…7.5
- CVE-2022-2586It was discovered that a nft object or expression could refe…7.8
- CVE-2022-25860Versions of the package simple-git before 3.16.0 are vulnera…9.8
- CVE-2022-25862This affects the package sds from 0.0.0. The library could b…7.5
- CVE-2022-25863The package gatsby-plugin-mdx before 2.14.1, from 3.0.0 and …9.8
- CVE-2022-25864Uncontrolled search path in some Intel(R) oneMKL software be…7.8
- CVE-2022-25865The package workspace-tools before 0.18.4 are vulnerable to …9.8
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
