CVE-2022-25883
Summary
| CVE | CVE-2022-25883 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2023-06-21 05:15:00 UTC |
| Updated | 2023-11-07 03:44:00 UTC |
| 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. |
Risk And Classification
Problem Types: CWE-1333
NVD Known Affected Configurations (CPE 2.3)
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| github.com/npm/node-semver/blob/main/internal/re.js%23L138 | MISC | github.com | |
| github.com/npm/node-semver/blob/main/internal/re.js%23L160 | MISC | github.com | |
| Regular Expression Denial of Service (ReDoS) in semver | CVE-2022-25883 | Snyk | MISC | security.snyk.io | |
| github.com/npm/node-semver/blob/main/classes/range.js%23L97-L104 | MISC | github.com | |
| fix: better handling of whitespace (#564) · npm/node-semver@717534e · GitHub | MISC | github.com | |
| fix: better handling of whitespace by lukekarrys · Pull Request #564 · npm/node-semver · GitHub | MISC | github.com | |
| node-semver/range.js at main · npm/node-semver · GitHub | MITRE | github.com | |
| node-semver/internal/re.js at main · npm/node-semver · GitHub | MITRE | github.com | |
| node-semver/internal/re.js at main · npm/node-semver · GitHub | MITRE | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.
Legacy QID Mappings
- 160945 Oracle Enterprise Linux Security Update for 18 (ELSA-2023-5363)
- 160946 Oracle Enterprise Linux Security Update for nodejs:18 (ELSA-2023-5362)
- 160947 Oracle Enterprise Linux Security Update for nodejs:16 (ELSA-2023-5360)
- 242084 Red Hat Update for nodejs:18 security (RHSA-2023:5363)
- 242085 Red Hat Update for nodejs:16 security (RHSA-2023:5361)
- 242086 Red Hat Update for nodejs:18 security (RHSA-2023:5362)
- 242087 Red Hat Update for nodejs:16 security (RHSA-2023:5360)
- 242105 Red Hat Update for JBoss Enterprise Application Platform 7.4.1 on RHEL 9 (RHSA-2023:5486)
- 242106 Red Hat Update for JBoss Enterprise Application Platform 7.4.1 on RHEL 7 (RHSA-2023:5484)
- 242122 Red Hat Update for JBoss Enterprise Application Platform 7.4.1 on RHEL 8 (RHSA-2023:5485)
- 355802 Amazon Linux Security Advisory for nodejs : ALAS2023-2023-290
- 907082 Common Base Linux Mariner (CBL-Mariner) Security Update for nodejs18 (27208-1)
- 907107 Common Base Linux Mariner (CBL-Mariner) Security Update for nodejs (27207-1)
- 941273 AlmaLinux Security Update for nodejs:18 (ALSA-2023:5362)
- 941274 AlmaLinux Security Update for nodejs:16 (ALSA-2023:5360)
- 941275 AlmaLinux Security Update for nodejs:18 (ALSA-2023:5363)
- 961024 Rocky Linux Security Update for nodejs:18 (RLSA-2023:5363)