Back
CVE-2022-25883
Versions of the package semver before 7.5.2 are vulnerable to Regular Expression Denial of Service (ReDoS) via the function new Range,…
Medium5.3EPSS 2.8%
- Published
- Updated
- Reserved
- Assigned by
- snyk
Description
Versions of the package semver before 7.5.2 are vulnerable to Regular Expression Denial of Service (ReDoS) via the function new Range, when untrusted user data is provided as a range.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| snykCNA (assigner) | 3.1 | Medium5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P |
| NVDNVD · Analyzed | 3.1 | High7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |
- EPSS (exploitation in 30 days)
- 2.8% · top 14% of all CVEs (6 Nov 2026)
- CISA SSVC
- Exploitation: poc · Automatable: yes · Technical impact: partial
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 5.3.
Weakness
Affected products
semver
- affected < 7.5.2
Affected packages
From reviewed advisories of the GitHub Advisory Database.
References (7)
- https://security.snyk.io/vuln/SNYK-JS-SEMVER-3247795 (opens in a new tab)x_transferred
- https://github.com/npm/node-semver/blob/main/internal/re.js%23L160 (opens in a new tab)x_transferred
- https://github.com/npm/node-semver/blob/main/internal/re.js%23L138 (opens in a new tab)x_transferred
- https://github.com/npm/node-semver/blob/main/classes/range.js%23L97-L104 (opens in a new tab)x_transferred
- https://github.com/npm/node-semver/pull/564 (opens in a new tab)x_transferred
- https://github.com/npm/node-semver/commit/717534ee353682f3bcf33e60a8af4292626d4441 (opens in a new tab)x_transferred
- https://security.netapp.com/advisory/ntap-20241025-0004/ (opens in a new tab)
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-c2qf-rxjj-qqgw (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2022-25883)Record last updated .