CVE-2022-25883
nodejs-semver: Regular expression denial of service
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
1Exploited in Wild
-Decision
Descriptions
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.
A Regular Expression Denial of Service (ReDoS) vulnerability was discovered in node-semver package via the 'new Range' function. This issue could allow an attacker to pass untrusted malicious regex user data as a range, causing the service to excessively consume CPU depending upon the input size, resulting in a denial of service.
Red Hat JBoss Enterprise Application Platform 7 is a platform for Java applications based on the WildFly application runtime. This release of Red Hat JBoss Enterprise Application Platform 7.4.13 serves as a replacement for Red Hat JBoss Enterprise Application Platform 7.4.12 and includes bug fixes and enhancements. See the Red Hat JBoss Enterprise Application Platform 7.4.13 Release Notes for information about the most significant bug fixes and enhancements included in this release. Issues addressed include denial of service and deserialization vulnerabilities.
CVSS Scores
SSVC
- Decision:Attend
Timeline
- 2022-02-24 CVE Reserved
- 2023-06-21 CVE Published
- 2024-12-06 CVE Updated
- 2024-12-06 First Exploit
- 2025-03-30 EPSS Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
CWE
- CWE-1333: Inefficient Regular Expression Complexity
CAPEC
References (8)
URL | Tag | Source |
---|---|---|
https://github.com/npm/node-semver/blob/main/classes/range.js%23L97-L104 | Broken Link | |
https://github.com/npm/node-semver/blob/main/internal/re.js%23L138 | Broken Link | |
https://github.com/npm/node-semver/blob/main/internal/re.js%23L160 | Broken Link |
URL | Date | SRC |
---|---|---|
https://security.snyk.io/vuln/SNYK-JS-SEMVER-3247795 | 2024-12-06 |
URL | Date | SRC |
---|---|---|
https://github.com/npm/node-semver/commit/717534ee353682f3bcf33e60a8af4292626d4441 | 2023-11-07 | |
https://github.com/npm/node-semver/pull/564 | 2023-11-07 |
URL | Date | SRC |
---|---|---|
https://access.redhat.com/security/cve/CVE-2022-25883 | 2024-08-29 | |
https://bugzilla.redhat.com/show_bug.cgi?id=2216475 | 2024-08-29 |
Affected Vendors, Products, and Versions
Vendor | Product | Version | Other | Status | ||||||
---|---|---|---|---|---|---|---|---|---|---|
Vendor | Product | Version | Other | Status | <-- --> | Vendor | Product | Version | Other | Status |
Npmjs Search vendor "Npmjs" | Semver Search vendor "Npmjs" for product "Semver" | < 5.7.2 Search vendor "Npmjs" for product "Semver" and version " < 5.7.2" | node.js |
Affected
| ||||||
Npmjs Search vendor "Npmjs" | Semver Search vendor "Npmjs" for product "Semver" | >= 6.0.0 < 6.3.1 Search vendor "Npmjs" for product "Semver" and version " >= 6.0.0 < 6.3.1" | node.js |
Affected
| ||||||
Npmjs Search vendor "Npmjs" | Semver Search vendor "Npmjs" for product "Semver" | >= 7.0.0 < 7.5.2 Search vendor "Npmjs" for product "Semver" and version " >= 7.0.0 < 7.5.2" | node.js |
Affected
|