CVE-2022-25883: semver - Regular Expression Denial of Service
- Cve: CVE-2022-25883
- Name: semver - Regular Expression Denial of Service
- 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.
- Impact: Attackers can cause denial of service by triggering expensive regex processing, leading to service unavailability.
- Remediation: Update to version 7.5.2 or later.
- Vulnerability type: misconfiguration
- Vulnerability impact: denial_of_service
- Requirement type: user_interaction
- Requirements: Attacker needs to provide untrusted user data as range
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 7.5
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Epss score: 0.02761
- Epss percentile: 0.86635
- Assignee: [email protected]
- Published at: 2023-06-21T05:15:09Z
- Age in days: 1251
- Modified at: 2026-06-17T04:34:26Z
- Patch available: yes
- Public exploits total: 1
- References total: 4
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-25883
- Nvd status: analyzed
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
Cwe
| Id | Name |
|---|---|
| CWE-1333 | Inefficient Regular Expression Complexity |
Hackerone
- Reports: 1
- Rank: 5193
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://security.snyk.io/vuln/SNYK-JS-SEMVER-3247795 | nvd | 2023-06-21 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/npm/node-semver/commit/717534ee353682f3bcf33e60a8af4292626d4441 | Patch, Third Party Advisory |
| https://github.com/npm/node-semver/pull/564 | Patch, Third Party Advisory |
| https://security.snyk.io/vuln/SNYK-JS-SEMVER-3247795 | Exploit, Patch, Third Party Advisory |
| https://security.netapp.com/advisory/ntap-20241025-0004/ | Third Party Advisory |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| npmjs:semver | >= 7.0.0, < 7.5.3; >= 6.0.0, < 6.3.1; < 5.7.2 | no | nvd | /v1/products/npmjs/semver |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| npm/node-semver | commit, package, pull | yes | /v1/repositories/npm/node-semver |
Index
- Repositories: 1840
- Repositories high signal: 496
- Packages: 1
Exploitation
- Public exploit: yes
- Public exploit count: 1
- Public exploit first date: 2023-06-21
- Remote: yes
- Hackerone reports: 1
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, exposed hosts