CVE-2022-25883
HIGHCVSS 7.5/10EPSS 2.76%
Last modified
CVE-2022-25883 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. . EPSS estimates a 2.76% chance of exploitation in the next 30 days.
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.
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 |
|---|---|---|
| Npmjs | Semver | < 5.7.2 |
| Npmjs | Semver | >= 6.0.0, < 6.3.1 |
| Npmjs | Semver | >= 7.0.0, < 7.5.3 |
References
- https://github.com/npm/node-semver/commit/717534ee353682f3bcf33e60a8af4292626d4441Patch, Third Party Advisory
- https://github.com/npm/node-semver/pull/564Patch, Third Party Advisory
- https://security.snyk.io/vuln/SNYK-JS-SEMVER-3247795Exploit, Patch, Third Party Advisory
- https://github.com/npm/node-semver/commit/717534ee353682f3bcf33e60a8af4292626d4441Patch, Third Party Advisory
- https://github.com/npm/node-semver/pull/564Patch, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20241025-0004/Third Party Advisory
- https://security.snyk.io/vuln/SNYK-JS-SEMVER-3247795Exploit, Patch, Third Party Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is 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, when untrusted user data is provided as a range.
How severe is CVE-2022-25883?
CVE-2022-25883 has a CVSS score of 7.5/10 (HIGH severity). The EPSS model estimates a 2.76% probability of exploitation in the next 30 days.
How do I fix CVE-2022-25883?
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.
Are you affected by CVE-2022-25883?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
