Ubuntu CVE Tracker
UBUNTU-CVE-2022-25883
Details
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.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:14.04:LTS | node-semver | All versions, no fix listed |
| Ubuntu:Pro:16.04:LTS | node-semver | All versions, no fix listed |
| Ubuntu:18.04:LTS | node-semver | All versions, no fix listed |
| Ubuntu:20.04:LTS | node-semver | All versions, no fix listed |
| Ubuntu:22.04:LTS | node-semver | All versions, no fix listed |
| Ubuntu:24.04:LTS | node-semver | All versions, no fix listed |
| Ubuntu:25.10 | node-semver | All versions, no fix listed |
| Ubuntu:26.10 | node-semver | All versions, no fix listed |
| Ubuntu:26.04:LTS | node-semver | All versions, no fix listed |
References
- https://ubuntu.com/security/CVE-2022-25883
- https://github.com/npm/node-semver/commit/717534ee353682f3bcf33e60a8af4292626d4441
- https://github.com/npm/node-semver/blob/main/internal/re.js%23L138
- https://security.snyk.io/vuln/SNYK-JS-SEMVER-3247795
- https://github.com/npm/node-semver/blob/main/internal/re.js%23L160
- https://github.com/npm/node-semver/blob/main/classes/range.js%23L97-L104
- https://github.com/npm/node-semver/pull/564
- https://www.cve.org/CVERecord?id=CVE-2022-25883