CVE-2022-25883
published medium CVSS 3.1 · 5.3nodejs-semver: Regular expression denial of service
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | semver0 to < 7.5.2 | Affected | Not stated | snyk |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2023-290 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | nodejs | Advisory build | 1:16.20.2-2.module_el8.8.0+3614+204d6f43 | ALSA-2023:5360 |
| Oracle Linux | 8 | nodejsaarch64 · nodejs · 16b | Advisory build | 1:16.20.2-2.module+el8.8.0+21172+0baa0bae | ELSA-2023-5360 |
| Red Hat Enterprise Linux | RHEL-8 | nodejsaarch64 | Advisory build | 1:16.20.2-2.module+el8.6.0+19897+9590a839 | RHSA-2023:5361 |
| AlmaLinux | 8 | nodejs | Advisory build | 1:18.17.1-1.module_el8.8.0+3613+1ed8c91d | ALSA-2023:5362 |
| AlmaLinux | 8 | nodejs-devel | Advisory build | 1:16.20.2-2.module_el8.8.0+3614+204d6f43 | ALSA-2023:5360 |
| AlmaLinux | 8 | nodejs-devel | Advisory build | 1:18.17.1-1.module_el8.8.0+3613+1ed8c91d | ALSA-2023:5362 |
Show 94 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 8 | nodejs-docs | Advisory build | 1:16.20.2-2.module_el8.8.0+3614+204d6f43 | ALSA-2023:5360 |
| AlmaLinux | 8 | nodejs-docs | Advisory build | 1:18.17.1-1.module_el8.8.0+3613+1ed8c91d | ALSA-2023:5362 |
| AlmaLinux | 8 | nodejs-full-i18n | Advisory build | 1:16.20.2-2.module_el8.8.0+3614+204d6f43 | ALSA-2023:5360 |
| AlmaLinux | 8 | nodejs-full-i18n | Advisory build | 1:18.17.1-1.module_el8.8.0+3613+1ed8c91d | ALSA-2023:5362 |
| AlmaLinux | 8 | nodejs-nodemon | Advisory build | 3.0.1-1.module_el8.8.0+3613+1ed8c91d | ALSA-2023:5362 |
| AlmaLinux | 8 | nodejs-nodemon | Advisory build | 3.0.1-1.module_el8.8.0+3614+204d6f43 | ALSA-2023:5360 |
| AlmaLinux | 8 | nodejs-packaging | Advisory build | 2021.06-4.module_el8.7.0+3343+ea2b7901 | ALSA-2023:5362 |
| AlmaLinux | 8 | nodejs-packaging | Advisory build | 26-1.module_el8.8.0+3614+204d6f43 | ALSA-2023:5360 |
| AlmaLinux | 8 | nodejs-packaging-bundler | Advisory build | 2021.06-4.module_el8.7.0+3343+ea2b7901 | ALSA-2023:5362 |
| AlmaLinux | 8 | npm | Advisory build | 1:8.19.4-1.16.20.2.2.module_el8.8.0+3614+204d6f43 | ALSA-2023:5360 |
| AlmaLinux | 8 | npm | Advisory build | 1:9.6.7-1.18.17.1.1.module_el8.8.0+3613+1ed8c91d | ALSA-2023:5362 |
| AlmaLinux | 9 | nodejs | Advisory build | 1:18.17.1-1.module_el9.2.0+36+853e48f5 | ALSA-2023:5363 |
| AlmaLinux | 9 | nodejs-devel | Advisory build | 1:18.17.1-1.module_el9.2.0+36+853e48f5 | ALSA-2023:5363 |
| AlmaLinux | 9 | nodejs-docs | Advisory build | 1:18.17.1-1.module_el9.2.0+36+853e48f5 | ALSA-2023:5363 |
| AlmaLinux | 9 | nodejs-full-i18n | Advisory build | 1:18.17.1-1.module_el9.2.0+36+853e48f5 | ALSA-2023:5363 |
| AlmaLinux | 9 | nodejs-nodemon | Advisory build | 3.0.1-1.module_el9.2.0+36+853e48f5 | ALSA-2023:5363 |
| AlmaLinux | 9 | nodejs-packaging | Advisory build | 2021.06-4.module_el9.1.0+13+d9a595ea | ALSA-2023:5363 |
| AlmaLinux | 9 | nodejs-packaging-bundler | Advisory build | 2021.06-4.module_el9.1.0+13+d9a595ea | ALSA-2023:5363 |
| AlmaLinux | 9 | npm | Advisory build | 1:9.6.7-1.18.17.1.1.module_el9.2.0+36+853e48f5 | ALSA-2023:5363 |
| Oracle Linux | 8 | nodejsaarch64 · nodejs · 18b | Advisory build | 1:18.17.1-1.module+el8.8.0+21170+2efec6d4 | ELSA-2023-5362 |
| Oracle Linux | 8 | nodejsx86_64 · nodejs · 16b | Advisory build | 1:16.20.2-2.module+el8.8.0+21172+0baa0bae | ELSA-2023-5360 |
| Oracle Linux | 8 | nodejsx86_64 · nodejs · 18b | Advisory build | 1:18.17.1-1.module+el8.8.0+21170+2efec6d4 | ELSA-2023-5362 |
| Oracle Linux | 8 | nodejs-develaarch64 · nodejs · 16b | Advisory build | 1:16.20.2-2.module+el8.8.0+21172+0baa0bae | ELSA-2023-5360 |
| Oracle Linux | 8 | nodejs-develaarch64 · nodejs · 18b | Advisory build | 1:18.17.1-1.module+el8.8.0+21170+2efec6d4 | ELSA-2023-5362 |
| Oracle Linux | 8 | nodejs-develx86_64 · nodejs · 16b | Advisory build | 1:16.20.2-2.module+el8.8.0+21172+0baa0bae | ELSA-2023-5360 |
| Oracle Linux | 8 | nodejs-develx86_64 · nodejs · 18b | Advisory build | 1:18.17.1-1.module+el8.8.0+21170+2efec6d4 | ELSA-2023-5362 |
| Oracle Linux | 8 | nodejs-docsaarch64 · nodejs · 16b | Advisory build | 1:16.20.2-2.module+el8.8.0+21172+0baa0bae | ELSA-2023-5360 |
| Oracle Linux | 8 | nodejs-docsaarch64 · nodejs · 18b | Advisory build | 1:18.17.1-1.module+el8.8.0+21170+2efec6d4 | ELSA-2023-5362 |
| Oracle Linux | 8 | nodejs-docsx86_64 · nodejs · 16b | Advisory build | 1:16.20.2-2.module+el8.8.0+21172+0baa0bae | ELSA-2023-5360 |
| Oracle Linux | 8 | nodejs-docsx86_64 · nodejs · 18b | Advisory build | 1:18.17.1-1.module+el8.8.0+21170+2efec6d4 | ELSA-2023-5362 |
| Oracle Linux | 8 | nodejs-full-i18naarch64 · nodejs · 16b | Advisory build | 1:16.20.2-2.module+el8.8.0+21172+0baa0bae | ELSA-2023-5360 |
| Oracle Linux | 8 | nodejs-full-i18naarch64 · nodejs · 18b | Advisory build | 1:18.17.1-1.module+el8.8.0+21170+2efec6d4 | ELSA-2023-5362 |
| Oracle Linux | 8 | nodejs-full-i18nx86_64 · nodejs · 16b | Advisory build | 1:16.20.2-2.module+el8.8.0+21172+0baa0bae | ELSA-2023-5360 |
| Oracle Linux | 8 | nodejs-full-i18nx86_64 · nodejs · 18b | Advisory build | 1:18.17.1-1.module+el8.8.0+21170+2efec6d4 | ELSA-2023-5362 |
| Oracle Linux | 8 | nodejs-nodemonaarch64 · nodejs · 16b | Advisory build | 0:3.0.1-1.module+el8.8.0+21172+0baa0bae | ELSA-2023-5360 |
| Oracle Linux | 8 | nodejs-nodemonaarch64 · nodejs · 18b | Advisory build | 0:3.0.1-1.module+el8.8.0+21170+2efec6d4 | ELSA-2023-5362 |
| Oracle Linux | 8 | nodejs-nodemonx86_64 · nodejs · 16b | Advisory build | 0:3.0.1-1.module+el8.8.0+21172+0baa0bae | ELSA-2023-5360 |
| Oracle Linux | 8 | nodejs-nodemonx86_64 · nodejs · 18b | Advisory build | 0:3.0.1-1.module+el8.8.0+21170+2efec6d4 | ELSA-2023-5362 |
| Oracle Linux | 8 | nodejs-packagingaarch64 · nodejs · 16b | Advisory build | 0:26-1.module+el8.8.0+21172+0baa0bae | ELSA-2023-5360 |
| Oracle Linux | 8 | nodejs-packagingaarch64 · nodejs · 18b | Advisory build | 0:2021.06-4.module+el8.7.0+20766+0a247725 | ELSA-2023-5362 |
| Oracle Linux | 8 | nodejs-packagingx86_64 · nodejs · 16b | Advisory build | 0:26-1.module+el8.8.0+21172+0baa0bae | ELSA-2023-5360 |
| Oracle Linux | 8 | nodejs-packagingx86_64 · nodejs · 18b | Advisory build | 0:2021.06-4.module+el8.7.0+20766+0a247725 | ELSA-2023-5362 |
| Oracle Linux | 8 | nodejs-packaging-bundleraarch64 · nodejs · 18b | Advisory build | 0:2021.06-4.module+el8.7.0+20766+0a247725 | ELSA-2023-5362 |
| Oracle Linux | 8 | nodejs-packaging-bundlerx86_64 · nodejs · 18b | Advisory build | 0:2021.06-4.module+el8.7.0+20766+0a247725 | ELSA-2023-5362 |
| Oracle Linux | 8 | npmaarch64 · nodejs · 16b | Advisory build | 1:8.19.4-1.16.20.2.2.module+el8.8.0+21172+0baa0bae | ELSA-2023-5360 |
| Oracle Linux | 8 | npmaarch64 · nodejs · 18b | Advisory build | 1:9.6.7-1.18.17.1.1.module+el8.8.0+21170+2efec6d4 | ELSA-2023-5362 |
| Oracle Linux | 8 | npmx86_64 · nodejs · 16b | Advisory build | 1:8.19.4-1.16.20.2.2.module+el8.8.0+21172+0baa0bae | ELSA-2023-5360 |
| Oracle Linux | 8 | npmx86_64 · nodejs · 18b | Advisory build | 1:9.6.7-1.18.17.1.1.module+el8.8.0+21170+2efec6d4 | ELSA-2023-5362 |
| Oracle Linux | 9 | nodejsaarch64 · nodejs · 18b | Advisory build | 1:18.17.1-1.module+el9.2.0+21169+1d24b6cc | ELSA-2023-5363 |
| Oracle Linux | 9 | nodejsx86_64 · nodejs · 18b | Advisory build | 1:18.17.1-1.module+el9.2.0+21169+1d24b6cc | ELSA-2023-5363 |
| Oracle Linux | 9 | nodejs-develaarch64 · nodejs · 18b | Advisory build | 1:18.17.1-1.module+el9.2.0+21169+1d24b6cc | ELSA-2023-5363 |
| Oracle Linux | 9 | nodejs-develx86_64 · nodejs · 18b | Advisory build | 1:18.17.1-1.module+el9.2.0+21169+1d24b6cc | ELSA-2023-5363 |
| Oracle Linux | 9 | nodejs-docsaarch64 · nodejs · 18b | Advisory build | 1:18.17.1-1.module+el9.2.0+21169+1d24b6cc | ELSA-2023-5363 |
| Oracle Linux | 9 | nodejs-docsx86_64 · nodejs · 18b | Advisory build | 1:18.17.1-1.module+el9.2.0+21169+1d24b6cc | ELSA-2023-5363 |
| Oracle Linux | 9 | nodejs-full-i18naarch64 · nodejs · 18b | Advisory build | 1:18.17.1-1.module+el9.2.0+21169+1d24b6cc | ELSA-2023-5363 |
| Oracle Linux | 9 | nodejs-full-i18nx86_64 · nodejs · 18b | Advisory build | 1:18.17.1-1.module+el9.2.0+21169+1d24b6cc | ELSA-2023-5363 |
| Oracle Linux | 9 | nodejs-nodemonaarch64 · nodejs · 18b | Advisory build | 0:3.0.1-1.module+el9.2.0+21169+1d24b6cc | ELSA-2023-5363 |
| Oracle Linux | 9 | nodejs-nodemonx86_64 · nodejs · 18b | Advisory build | 0:3.0.1-1.module+el9.2.0+21169+1d24b6cc | ELSA-2023-5363 |
| Oracle Linux | 9 | nodejs-packagingaarch64 · nodejs · 18b | Advisory build | 0:2021.06-4.module+el9.1.0+20762+f52d7401 | ELSA-2023-5363 |
| Oracle Linux | 9 | nodejs-packagingx86_64 · nodejs · 18b | Advisory build | 0:2021.06-4.module+el9.1.0+20762+f52d7401 | ELSA-2023-5363 |
| Oracle Linux | 9 | nodejs-packaging-bundleraarch64 · nodejs · 18b | Advisory build | 0:2021.06-4.module+el9.1.0+20762+f52d7401 | ELSA-2023-5363 |
| Oracle Linux | 9 | nodejs-packaging-bundlerx86_64 · nodejs · 18b | Advisory build | 0:2021.06-4.module+el9.1.0+20762+f52d7401 | ELSA-2023-5363 |
| Oracle Linux | 9 | npmaarch64 · nodejs · 18b | Advisory build | 1:9.6.7-1.18.17.1.1.module+el9.2.0+21169+1d24b6cc | ELSA-2023-5363 |
| Oracle Linux | 9 | npmx86_64 · nodejs · 18b | Advisory build | 1:9.6.7-1.18.17.1.1.module+el9.2.0+21169+1d24b6cc | ELSA-2023-5363 |
| Red Hat Enterprise Linux | RHEL-8 | nodejsaarch64 | Advisory build | 1:16.20.2-2.module+el8.8.0+19898+ab99ba34 | RHSA-2023:5360 |
| Red Hat Enterprise Linux | RHEL-8 | nodejsaarch64 | Advisory build | 1:18.17.1-1.module+el8.8.0+19757+8ca87034 | RHSA-2023:5362 |
| Red Hat Enterprise Linux | RHEL-8 | nodejsppc64le | Advisory build | 1:16.20.2-2.module+el8.6.0+19897+9590a839 | RHSA-2023:5361 |
| Red Hat Enterprise Linux | RHEL-8 | nodejsppc64le | Advisory build | 1:16.20.2-2.module+el8.8.0+19898+ab99ba34 | RHSA-2023:5360 |
| Red Hat Enterprise Linux | RHEL-8 | nodejsppc64le | Advisory build | 1:18.17.1-1.module+el8.8.0+19757+8ca87034 | RHSA-2023:5362 |
| Red Hat Enterprise Linux | RHEL-8 | nodejss390x | Advisory build | 1:16.20.2-2.module+el8.6.0+19897+9590a839 | RHSA-2023:5361 |
| Red Hat Enterprise Linux | RHEL-8 | nodejss390x | Advisory build | 1:16.20.2-2.module+el8.8.0+19898+ab99ba34 | RHSA-2023:5360 |
| Red Hat Enterprise Linux | RHEL-8 | nodejss390x | Advisory build | 1:18.17.1-1.module+el8.8.0+19757+8ca87034 | RHSA-2023:5362 |
| Red Hat Enterprise Linux | RHEL-8 | nodejssrc | Advisory build | 1:16.20.2-2.module+el8.6.0+19897+9590a839 | RHSA-2023:5361 |
| Red Hat Enterprise Linux | RHEL-8 | nodejssrc | Advisory build | 1:16.20.2-2.module+el8.8.0+19898+ab99ba34 | RHSA-2023:5360 |
| Red Hat Enterprise Linux | RHEL-8 | nodejssrc | Advisory build | 1:18.17.1-1.module+el8.8.0+19757+8ca87034 | RHSA-2023:5362 |
| Red Hat Enterprise Linux | RHEL-8 | nodejsx86_64 | Advisory build | 1:16.20.2-2.module+el8.6.0+19897+9590a839 | RHSA-2023:5361 |
| Red Hat Enterprise Linux | RHEL-8 | nodejsx86_64 | Advisory build | 1:16.20.2-2.module+el8.8.0+19898+ab99ba34 | RHSA-2023:5360 |
| Red Hat Enterprise Linux | RHEL-8 | nodejsx86_64 | Advisory build | 1:18.17.1-1.module+el8.8.0+19757+8ca87034 | RHSA-2023:5362 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-debuginfoaarch64 | Advisory build | 1:16.20.2-2.module+el8.6.0+19897+9590a839 | RHSA-2023:5361 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-debuginfoaarch64 | Advisory build | 1:16.20.2-2.module+el8.8.0+19898+ab99ba34 | RHSA-2023:5360 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-debuginfoaarch64 | Advisory build | 1:18.17.1-1.module+el8.8.0+19757+8ca87034 | RHSA-2023:5362 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-debuginfoppc64le | Advisory build | 1:16.20.2-2.module+el8.6.0+19897+9590a839 | RHSA-2023:5361 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-debuginfoppc64le | Advisory build | 1:16.20.2-2.module+el8.8.0+19898+ab99ba34 | RHSA-2023:5360 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-debuginfoppc64le | Advisory build | 1:18.17.1-1.module+el8.8.0+19757+8ca87034 | RHSA-2023:5362 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-debuginfos390x | Advisory build | 1:16.20.2-2.module+el8.6.0+19897+9590a839 | RHSA-2023:5361 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-debuginfos390x | Advisory build | 1:16.20.2-2.module+el8.8.0+19898+ab99ba34 | RHSA-2023:5360 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-debuginfos390x | Advisory build | 1:18.17.1-1.module+el8.8.0+19757+8ca87034 | RHSA-2023:5362 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-debuginfox86_64 | Advisory build | 1:16.20.2-2.module+el8.6.0+19897+9590a839 | RHSA-2023:5361 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-debuginfox86_64 | Advisory build | 1:16.20.2-2.module+el8.8.0+19898+ab99ba34 | RHSA-2023:5360 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-debuginfox86_64 | Advisory build | 1:18.17.1-1.module+el8.8.0+19757+8ca87034 | RHSA-2023:5362 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-debugsourceaarch64 | Advisory build | 1:16.20.2-2.module+el8.6.0+19897+9590a839 | RHSA-2023:5361 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-debugsourceaarch64 | Advisory build | 1:16.20.2-2.module+el8.8.0+19898+ab99ba34 | RHSA-2023:5360 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-debugsourceaarch64 | Advisory build | 1:18.17.1-1.module+el8.8.0+19757+8ca87034 | RHSA-2023:5362 |
| Red Hat Enterprise Linux | RHEL-8 | nodejs-debugsourceppc64le | Advisory build | 1:16.20.2-2.module+el8.6.0+19897+9590a839 | RHSA-2023:5361 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- snyk · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L/E:P
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | semver | 0 to < 7.5.2 (affected · semver) | snyk · cna |
Weaknesses
2- CWE-1333 Regular Expression Denial of Service (ReDoS)
- CWE-1333 CWE-1333 Inefficient Regular Expression Complexity
References
7- https://github.com/npm/node-semver/blob/main/classes/range.js%23L97-L104
- https://github.com/npm/node-semver/blob/main/internal/re.js%23L138
- https://github.com/npm/node-semver/blob/main/internal/re.js%23L160
- https://github.com/npm/node-semver/commit/717534ee353682f3bcf33e60a8af4292626d4441
- https://github.com/npm/node-semver/pull/564
- https://security.netapp.com/advisory/ntap-20241025-0004/
- https://security.snyk.io/vuln/SNYK-JS-SEMVER-3247795
Provider assertions
3snyk · cna
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 35f090902e0385108708cd2b5e660408eeb2a215707e46a9e1a77dc194b02132
- Ingested
- 23 Sep 2026, 07:59:13 UTC
- Source record
- Official CVE record