CVE-2022-25883
A public proof of concept exists; no exploitation attested.
- Published2023-06-21
- Fixed in7.5.3 · 7.5.2 · 6.3.1 · 5.7.2
- WeaknessCWE-1333
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2023-06-2105:15CVE publishedNVD
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 7.x | ≥ 7.0.0, < 7.5.3 | 7.5.3 | NVD |
| 7.x | ≥ 7.0.0, < 7.5.2 | 7.5.2 | OSV |
| 6.x | ≥ 6.0.0, < 6.3.1 | 6.3.1 | NVD · OSV |
| 5.7 | < 5.7.2 | 5.7.2 | NVD |
| 5.7 | ≥ 2.0.0-alpha, < 5.7.2 | 5.7.2 | OSV |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As snyk, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- semverAffected
- < 7.5.2fixed in 7.5.2semver
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2023-06-21
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- @rootio/semverRoot:npmall versions · fixed in 5.7.1-root.io.1
- @rootio/semverRoot:npmall versions · fixed in 5.0.3-root.io.1
- @rootio/semverRoot:npmall versions · fixed in 5.0.3-root.io.2
- @rootio/semverRoot:npmall versions · fixed in 5.3.0-root.io.1
- @rootio/semverRoot:npmall versions · fixed in 5.7.1-root.io.2
- @rootio/semverRoot:npmall versions · fixed in 6.3.0-root.io.1
- @rootio/semverRoot:npmall versions · fixed in 7.0.0-root.io.1
- @rootio/semverRoot:npmall versions · fixed in 7.0.0-root.io.2
160 more package ranges on OSV.dev
Vendor advisories
nodejs-semver: Regular expression denial of service
mta/mta-ui-rhel9 as a component of Migration Toolkit for Applications 6 · migration-toolkit-virtualization/mtv-ui-rhel8 as a component of Migration Toolkit for Virtualization · openshift-pipelines/pipelines-hub-ui-rhel8 as a component of OpenShift Pipelines · +57 more
Red Hat Security Advisory: Red Hat OpenShift Dev Spaces 3.24.0 Release.
Red Hat Security Advisory: Red Hat Advanced Cluster Management 2.11.2 bug fixes and container updates
Red Hat Security Advisory: Multicluster Engine for Kubernetes 2.6.2 security updates and bug fixes
Red Hat Security Advisory: Migration Toolkit for Runtimes security, bug fix and enhancement update
Red Hat Security Advisory: Migration Toolkit for Containers (MTC) 1.8.2 security and bug fix update
10 more advisories
Fix
- Update Npmjs semver to 7.5.3 · 7.5.2 · 6.3.1 · 5.7.2
- Vendor fix Red Hat Product Security RHSA-2025:19094 · 4 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
- Vendor fix Red Hat Product Security RHSA-2024:6044 · 171 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
- Vendor fix Red Hat Product Security RHSA-2024:5955 · 155 productsFor multicluster engine for Kubernetes, see the following documentation for details on how to install the images: https://access.redhat.com/documentation/en-us/red_hat_advanced_cluster_management_for_kubernetes/2.11/html/clusters/cluster_mce_overview#mce-install-intro
- Vendor fix Red Hat Product Security RHSA-2024:0719 · 7 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
- Vendor fix Red Hat Product Security RHSA-2023:5485 · 119 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
- Vendor fix Red Hat Product Security RHSA-2023:5488 · 1 productBefore applying the update, back up your existing installation, including all applications, configuration files, databases and database settings, and so on. The References section of this erratum contains a download link (you must log in to download the update).
Advisories and patches
- github.comPatch
- github.comPatch
- security.snyk.ioPatch
Detection
- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- CISA-ADP (SSVC)PoC stated2024-12-06
- PoC-in-GitHubno public repository identifiedread 2026-11-10
- Metasploit modules
- none listed Metasploit Framework
Sources
- CISA-ADPSSVC decisionpoc2024-12-06
- CNACVSS 3.15.3known since 2026-10-23
- NVDCVSS 3.17.5read 2026-10-23
- CISA-ADPweakness (CWE)CWE-13332024-12-06
- CNAweakness (CWE)CWE-1333known since 2026-10-23
- NVDweakness (CWE)CWE-1333read 2026-10-23
- FIRST EPSSEPSS score2.8 %2026-11-09
- OSVaffected packages—
- GitHub AdvisoriesadvisoryHIGH2023-06-22
Identifiers
- AZL-27207same flawAzure Linux · MIT
- AZL-27208same flawAzure Linux · MIT
- AZL-43534same flawAzure Linux · MIT
- AZL-43717same flawAzure Linux · MIT
- AZL-44694same flawAzure Linux · MIT
- AZL-45168same flawAzure Linux · MIT
- CGA-9jfw-xgcr-5vj3same flawChainguard · CC-BY-NC-ND-4.0
- CGA-jrq5-vc64-c9x2same flawChainguard · CC-BY-NC-ND-4.0
- CGA-rmm2-3h6f-4rq2same flawChainguard · CC-BY-NC-ND-4.0
- CGA-wpvh-6wc4-2p68same flawChainguard · CC-BY-NC-ND-4.0
- EUVD-2023-1769same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-c2qf-rxjj-qqgwsame flawGitHub Advisory Database · CC-BY-4.0
- MINI-7h79-62v2-3j6xsame flawMinimOS · LicenseRef-unstated
- MINI-8v88-r933-jw5hsame flawMinimOS · LicenseRef-unstated
- ALSA-2023:5360advisory covering several CVEsAlmaLinux · MIT
- ALSA-2023:5362advisory covering several CVEsAlmaLinux · MIT
- ALSA-2023:5363advisory covering several CVEsAlmaLinux · MIT
- openSUSE-SU-2024:14012-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- RHSA-2023:5360advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2023:5361advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2023:5362advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2023:5363advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2023:5484advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2023:5485advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2023:5486advisory covering several CVEsRed Hat · CC-BY-4.0
- RLSA-2023:5360advisory covering several CVEsRocky Linux · BSD-3-Clause
- RLSA-2023:5362advisory covering several CVEsRocky Linux · BSD-3-Clause
- RLSA-2023:5363advisory covering several CVEsRocky Linux · BSD-3-Clause
Technical details
- CVSS v3 Vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Published
- 2023-06-21
- Last Modified
- 2026-06-17
- NVD status
- Analyzed
- GitHub Advisory
- GHSA-c2qf-rxjj-qqgw
Frequently asked questions
What is CVE-2022-25883?
Is CVE-2022-25883 actively exploited?
What is the CVSS score for CVE-2022-25883?
Running semver? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-c2qf-rxjj-qqgw
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0