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.
CVE-2022-25883
This medium-severity CVE scores 5.3 under NVD CVSS v3. EPSS exploit-prediction score not yet available (the EPSS model rescores nightly; freshly-published CVEs typically appear within 48 hours). GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- Lower severity and no public exploit yet
A fix is available — apply it.
- CVSS v3
- 5.3
- EG Score
- 5.3(low)
- EPSS
- 84.5%
- KEV
- Not listed
Published
June 21, 2023
Last Modified
September 23, 2025
References (13)
- report@snykhttps://github.com/npm/node-semver/blob/main/classes/range.js%23L97-L104
- report@snykhttps://github.com/npm/node-semver/blob/main/internal/re.js%23L138
- report@snykhttps://github.com/npm/node-semver/blob/main/internal/re.js%23L160
- report@snykhttps://github.com/npm/node-semver/commit/717534ee353682f3bcf33e60a8af4292626d4441
- report@snykhttps://github.com/npm/node-semver/pull/564
- report@snykhttps://security.snyk.io/vuln/SNYK-JS-SEMVER-3247795
- af854a3a-2127-422b-91ae-364da2661108https://github.com/npm/node-semver/blob/main/classes/range.js%23L97-L104
- af854a3a-2127-422b-91ae-364da2661108https://github.com/npm/node-semver/blob/main/internal/re.js%23L138
- af854a3a-2127-422b-91ae-364da2661108https://github.com/npm/node-semver/blob/main/internal/re.js%23L160
- af854a3a-2127-422b-91ae-364da2661108https://github.com/npm/node-semver/commit/717534ee353682f3bcf33e60a8af4292626d4441
- af854a3a-2127-422b-91ae-364da2661108https://github.com/npm/node-semver/pull/564
- af854a3a-2127-422b-91ae-364da2661108https://security.netapp.com/advisory/ntap-20241025-0004/
- af854a3a-2127-422b-91ae-364da2661108https://security.snyk.io/vuln/SNYK-JS-SEMVER-3247795
Vendor Advisories for CVE-2022-25883(7)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- RHSA-2025:19094Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat OpenShift Dev Spaces 3.24.0 Release.
- RHSA-2024:6044Red Hat Product SecurityLow
Red Hat Security Advisory: Red Hat Advanced Cluster Management 2.11.2 bug fixes and container updates
- RHSA-2024:5955Red Hat Product SecurityLow
Red Hat Security Advisory: Multicluster Engine for Kubernetes 2.6.2 security updates and bug fixes
- RHSA-2023:5362Red Hat Product SecurityHigh
Red Hat Security Advisory: nodejs:18 security, bug fix, and enhancement update
- RHSA-2023:5360Red Hat Product SecurityHigh
Red Hat Security Advisory: nodejs:16 security, bug fix, and enhancement update
- RHSA-2023:5363Red Hat Product SecurityHigh
Red Hat Security Advisory: nodejs:18 security, bug fix, and enhancement update
- RHSA-2023:5361Red Hat Product SecurityHigh
Red Hat Security Advisory: nodejs:16 security, bug fix, and enhancement update
Patch Availability(15)
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(1 across 1 ecosystem)
npm(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| semver | — | 5.7.2 | — |
Weakness Classification(1)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(9)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
- Microsoft MSRCCVE-2022-258832023-06-26
CVE-2022-25883
- Red HatRHSA-2023:4341MODERATE2023-06-21
RHSA-2023:4341 — Moderate
- Red HatRHSA-2023:5379MODERATE2023-06-21
RHSA-2023:5379 — Moderate
- Red HatRHSA-2023:5484MODERATE2023-06-21
RHSA-2023:5484 — Moderate
- Red HatRHSA-2023:5485MODERATE2023-06-21
RHSA-2023:5485 — Moderate
- Red HatRHSA-2023:5486MODERATE2023-06-21
RHSA-2023:5486 — Moderate
- Red HatRHSA-2023:5488MODERATE2023-06-21
RHSA-2023:5488 — Moderate
- Red HatRHSA-2023:7222MODERATE2023-06-21
RHSA-2023:7222 — Moderate
- Red HatRHSA-2024:0719MODERATE2023-06-21
RHSA-2024:0719 — Moderate
Data Freshness Timeline
(refreshed 8× in last 7d / 44× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-11 08:25 UTCEPSS rescore
- 2026-07-09 19:07 UTCEPSS rescore
- 2026-07-08 15:12 UTCEPSS rescore
- 2026-07-07 13:44 UTCEPSS rescore
- 2026-07-06 16:25 UTCEPSS rescore
- 2026-07-06 16:25 UTCEPSS rescore
- 2026-07-06 02:21 UTCEPSS rescore
- 2026-07-05 02:28 UTCEPSS rescore
- 2026-07-04 06:29 UTCEPSS rescore
- 2026-07-04 06:29 UTCEPSS rescore
- 2026-07-01 15:04 UTCEPSS rescore
- 2026-06-30 23:20 UTCEPSS rescore
- 2026-06-30 23:20 UTCEPSS rescore
- 2026-06-29 14:04 UTCEPSS rescore
- 2026-06-29 14:04 UTCEPSS rescore
- 2026-06-28 14:06 UTCEPSS rescore
- 2026-06-28 04:54 UTCEPSS rescore
- 2026-06-28 04:54 UTCEPSS rescore
- 2026-06-27 03:07 UTCEPSS rescore
- 2026-06-25 13:48 UTCEPSS rescore
- 2026-06-24 18:31 UTCOSV refresh
- 2026-06-24 14:03 UTCEPSS rescore
- 2026-06-24 14:03 UTCEPSS rescore
- 2026-06-23 21:31 UTCEPSS rescore
- 2026-06-23 21:31 UTCEPSS rescore
Show 56 moreShow fewer
- 2026-06-22 14:24 UTCEPSS rescore
- 2026-06-21 14:55 UTCEPSS rescore
- 2026-06-21 14:55 UTCEPSS rescore
- 2026-06-21 01:58 UTCEPSS rescore
- 2026-06-21 01:58 UTCEPSS rescore
- 2026-06-19 19:24 UTCEPSS rescore
- 2026-06-19 19:24 UTCEPSS rescore
- 2026-06-18 17:51 UTCEPSS rescore
- 2026-06-18 17:51 UTCEPSS rescore
- 2026-06-17 17:51 UTCEPSS rescore
- 2026-06-17 17:51 UTCEPSS rescore
- 2026-06-16 17:51 UTCEPSS rescore
- 2026-06-15 17:46 UTCEPSS rescore
- 2026-06-14 23:15 UTCEPSS rescore
- 2026-06-14 23:15 UTCEPSS rescore
- 2026-06-13 22:58 UTCEPSS rescore
- 2026-06-13 22:58 UTCEPSS rescore
- 2026-06-12 23:10 UTCEPSS rescore
- 2026-06-12 23:10 UTCEPSS rescore
- 2026-06-11 13:58 UTCEPSS rescore
- 2026-06-11 13:58 UTCEPSS rescore
- 2026-06-10 22:16 UTCEPSS rescore
- 2026-06-10 13:20 UTCEPSS rescore
- 2026-06-08 14:15 UTCEPSS rescore
- 2026-06-08 14:15 UTCEPSS rescore
- 2026-06-07 19:46 UTCOSV refresh
- 2026-06-07 15:23 UTCEPSS rescore
- 2026-06-07 15:23 UTCEPSS rescore
- 2026-06-06 13:46 UTCEPSS rescore
- 2026-06-06 13:46 UTCEPSS rescore
- 2026-06-05 22:45 UTCEPSS rescore
- 2026-06-05 06:09 UTCEPSS rescore
- 2026-06-05 06:09 UTCEPSS rescore
- 2026-06-04 13:11 UTCEPSS rescore
- 2026-06-04 13:11 UTCEPSS rescore
- 2026-06-02 20:11 UTCEPSS rescore
- 2026-06-02 20:11 UTCEPSS rescore
- 2026-06-02 20:11 UTCEPSS rescore
- 2026-06-01 13:50 UTCEPSS rescore
- 2026-06-01 13:50 UTCEPSS rescore
- 2026-06-01 13:50 UTCEPSS rescore
- 2026-05-31 22:29 UTCEPSS rescore
- 2026-05-31 22:29 UTCEPSS rescore
- 2026-05-31 00:15 UTCEPSS rescore
- 2026-05-31 00:15 UTCEPSS rescore
- 2026-05-29 13:42 UTCEPSS rescore
- 2026-05-28 13:43 UTCEPSS rescore
- 2026-05-28 13:43 UTCEPSS rescore
- 2026-05-28 13:43 UTCEPSS rescore
- 2026-05-27 13:39 UTCEPSS rescore
- 2026-05-27 13:39 UTCEPSS rescore
- 2026-05-26 13:43 UTCEPSS rescore
- 2026-05-26 07:17 UTCEPSS rescore
- 2026-05-26 07:17 UTCEPSS rescore
- 2026-05-23 09:48 UTCEG score recompute
- 2026-05-23 09:48 UTCVendor advisory
Frequently asked(5)
What is CVE-2022-25883?
When was CVE-2022-25883 disclosed?
Is CVE-2022-25883 actively exploited?
What is the CVSS score of CVE-2022-25883?
How do I remediate CVE-2022-25883?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2022-25883
Is Your Infrastructure Affected by CVE-2022-25883?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.