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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| — | semver | < 7.5.2 | 7.5.2 |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | node-semver | 7.5.4+~7.5.0-1 | — |
| Debian 13 | node-semver | 7.5.4+~7.5.0-1 | — |
| Debian 12 | node-semver | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | node-semver | No fix yet | — |
| Ubuntu 26.04 LTS | node-semver | No fix yet | — |
| Ubuntu 25.10 | node-semver | No fix yet | — |
| Ubuntu 24.04 LTS | node-semver | No fix yet | — |
| Ubuntu 22.04 LTS | node-semver | No fix yet | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | node-semver | No fix yet | — |
| Ubuntu 18.04 LTS | node-semver | No fix yet | — |
| Ubuntu Pro 16.04 LTS | node-semver | No fix yet | — |
| Ubuntu Pro 14.04 LTS | node-semver | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 9 | nodejs +3 | 1:18.17.1-1.module+el9.2.0.z+19753+58118bc0 | RHSA-2023:5363 |
| RHEL 9 | nodejs-nodemon | 3.0.1-1.module+el9.2.0.z+19753+58118bc0 | RHSA-2023:5363 |
| RHEL 9 | nodejs-packaging +1 | 2021.06-4.module+el9.1.0+15718+e52ec601 | RHSA-2023:5363 |
| RHEL 9 | npm | 1:9.6.7-1.18.17.1.1.module+el9.2.0.z+19753+58118bc0 | RHSA-2023:5363 |
| RHEL 8 | nodejs +3 | 1:16.20.2-2.module+el8.8.0+19898+ab99ba34 | RHSA-2023:5362, RHSA-2023:5360 |
| RHEL 8 | nodejs-nodemon | 3.0.1-1.module+el8.8.0+19757+8ca87034 | RHSA-2023:5362, RHSA-2023:5360 |
| RHEL 8 | nodejs-packaging | 26-1.module+el8.8.0+19857+6d2a104d | RHSA-2023:5362, RHSA-2023:5360 |
| RHEL 8 | nodejs-packaging-bundler | 2021.06-4.module+el8.7.0+15582+19c314fa | RHSA-2023:5362 |
| RHEL 8 | npm | 1:8.19.4-1.16.20.2.2.module+el8.8.0+19898+ab99ba34 | RHSA-2023:5362, RHSA-2023:5360 |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 8.6 EUS | nodejs +3 | 1:16.20.2-2.module+el8.6.0+19897+9590a839 | RHSA-2023:5361 |
| RHEL 8.6 EUS | nodejs-nodemon | 3.0.1-1.module+el8.6.0+19765+366b9144 | RHSA-2023:5361 |
| RHEL 8.6 EUS | nodejs-packaging | 26-1.module+el8.6.0+19856+c0c87259 | RHSA-2023:5361 |
| RHEL 8.6 EUS | npm | 1:8.19.4-1.16.20.2.2.module+el8.6.0+19897+9590a839 | RHSA-2023:5361 |
| Red Hat JBoss EAP 7 | eap7-activemq-artemis +15 | 2.16.0-15.redhat_00049.1.el7eap | RHSA-2023:5486, RHSA-2023:5485, RHSA-2023:5484 |
| Red Hat JBoss EAP 7 | eap7-bouncycastle +5 | 1.76.0-4.redhat_00001.1.el7eap | RHSA-2023:5486, RHSA-2023:5485, RHSA-2023:5484 |
| Red Hat JBoss EAP 7 | eap7-hal-console | 3.3.19-1.Final_redhat_00001.1.el7eap | RHSA-2023:5486, RHSA-2023:5485, RHSA-2023:5484 |
| Red Hat JBoss EAP 7 | eap7-hibernate +4 | 5.3.31-1.Final_redhat_00001.1.el7eap | RHSA-2023:5486, RHSA-2023:5485, RHSA-2023:5484 |
| Red Hat JBoss EAP 7 | eap7-ironjacamar +8 | 1.5.15-1.Final_redhat_00001.1.el7eap | RHSA-2023:5486, RHSA-2023:5485, RHSA-2023:5484 |
| Red Hat JBoss EAP 7 | eap7-jboss-marshalling +1 | 2.0.13-2.SP1_redhat_00001.1.el7eap | RHSA-2023:5486, RHSA-2023:5485, RHSA-2023:5484 |
| Red Hat JBoss EAP 7 | eap7-jboss-modules | 1.12.2-1.Final_redhat_00001.1.el7eap | RHSA-2023:5486, RHSA-2023:5485, RHSA-2023:5484 |
| Red Hat JBoss EAP 7 | eap7-jboss-server-migration +2 | 1.10.0-31.Final_redhat_00030.1.el7eap | RHSA-2023:5486, RHSA-2023:5485, RHSA-2023:5484 |
| Red Hat JBoss EAP 7 | eap7-jboss-xnio-base | 3.8.10-1.Final_redhat_00001.1.el7eap | RHSA-2023:5486, RHSA-2023:5485, RHSA-2023:5484 |
| Red Hat JBoss EAP 7 | eap7-mod_cluster | 1.4.5-1.Final_redhat_00001.1.el7eap | RHSA-2023:5486, RHSA-2023:5485, RHSA-2023:5484 |
| Red Hat JBoss EAP 7 | eap7-netty +28 | 4.1.94-1.Final_redhat_00001.1.el7eap | RHSA-2023:5486, RHSA-2023:5485, RHSA-2023:5484 |
| Red Hat JBoss EAP 7 | eap7-resteasy +18 | 3.15.8-1.Final_redhat_00001.1.el7eap | RHSA-2023:5486, RHSA-2023:5485, RHSA-2023:5484 |
| Red Hat JBoss EAP 7 | eap7-undertow | 2.2.26-1.SP1_redhat_00001.1.el7eap | RHSA-2023:5486, RHSA-2023:5485, RHSA-2023:5484 |
| Red Hat JBoss EAP 7 | eap7-wildfly +4 | 7.4.13-8.GA_redhat_00001.1.el7eap | RHSA-2023:5486, RHSA-2023:5485, RHSA-2023:5484 |
| Red Hat JBoss EAP 7 | eap7-wildfly-elytron +1 | 1.15.20-1.Final_redhat_00001.1.el7eap | RHSA-2023:5486, RHSA-2023:5485, RHSA-2023:5484 |
| Red Hat JBoss EAP 7 | eap7-wildfly-java-jdk17 | 7.4.13-8.GA_redhat_00001.1.el8eap | RHSA-2023:5486, RHSA-2023:5485 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 9 | nodejs +3 | 1:18.17.1-1.module_el9.2.0+36+853e48f5 | ALSA-2023:5363 |
| AlmaLinux 9 | nodejs-nodemon | 3.0.1-1.module_el9.2.0+36+853e48f5 | ALSA-2023:5363 |
| AlmaLinux 9 | nodejs-packaging +1 | 2021.06-4.module_el9.1.0+13+d9a595ea | ALSA-2023:5363 |
| AlmaLinux 9 | npm | 1:9.6.7-1.18.17.1.1.module_el9.2.0+36+853e48f5 | ALSA-2023:5363 |
| AlmaLinux 8 | nodejs +3 | 1:16.20.2-2.module_el8.8.0+3614+204d6f43 | ALSA-2023:5362, ALSA-2023:5360 |
| AlmaLinux 8 | nodejs-nodemon | 3.0.1-1.module_el8.8.0+3613+1ed8c91d | ALSA-2023:5362, ALSA-2023:5360 |
| AlmaLinux 8 | nodejs-packaging | 26-1.module_el8.8.0+3614+204d6f43 | ALSA-2023:5362, ALSA-2023:5360 |
| AlmaLinux 8 | nodejs-packaging-bundler | 2021.06-4.module_el8.7.0+3343+ea2b7901 | ALSA-2023:5362 |
| AlmaLinux 8 | npm | 1:8.19.4-1.16.20.2.2.module_el8.8.0+3614+204d6f43 | ALSA-2023:5362, ALSA-2023:5360 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 9 | nodejs-nodemon | 3.0.1-1.module+el9.5.0+31770+0da7192d | RLSA-2023:5363 |
| Rocky Linux 9 | nodejs-packaging | 2021.06-4.module+el9.5.0+31770+0da7192d | RLSA-2023:5363 |
| Rocky Linux 8 | nodejs-nodemon | 3.0.1-1.module+el8.9.0+1760+903d54b9 | RLSA-2023:5362, RLSA-2023:5360 |
| Rocky Linux 8 | nodejs-packaging | 26-1.module+el8.9.0+1760+903d54b9 | RLSA-2023:5362, RLSA-2023:5360 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | velociraptor | 0.7.0.4.git74.3426c0a-9.1 | openSUSE-SU-2024:14012-1 |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | nodejs +4 | 1:18.12.1-1.amzn2023.0.9 | ALAS2023-2023-290 |
| Amazon Linux 2023 | npm | 1:8.19.2-1.18.12.1.1.amzn2023.0.9 | ALAS2023-2023-290 |
| Amazon Linux 2023 | v8-devel | 2:10.2.154.15-1.18.12.1.1.amzn2023.0.9 | ALAS2023-2023-290 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | js-jquery +1 | No fix yet | — |
| Azure Linux 2 (CBL-Mariner) | js-jquery +1 | No fix yet | — |
| Azure Linux 2 (CBL-Mariner) | nodejs | 16.20.1-2 | — |
| Azure Linux 2 (CBL-Mariner) | nodejs18 | 18.16.0-3 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 9 | nodejs +3 | 1:18.17.1-1.module+el9.2.0+21169+1d24b6cc | ELSA-2023-5363 |
| Oracle Linux 9 | nodejs-nodemon | 3.0.1-1.module+el9.2.0+21169+1d24b6cc | ELSA-2023-5363 |
| Oracle Linux 9 | nodejs-packaging +1 | 2021.06-4.module+el9.1.0+20762+f52d7401 | ELSA-2023-5363 |
| Oracle Linux 9 | npm | 1:9.6.7-1.18.17.1.1.module+el9.2.0+21169+1d24b6cc | ELSA-2023-5363 |
| Oracle Linux 8 | nodejs +3 | 1:16.20.2-2.module+el8.8.0+21172+0baa0bae | ELSA-2023-5362, ELSA-2023-5360 |
| Oracle Linux 8 | nodejs-nodemon | 3.0.1-1.module+el8.8.0+21170+2efec6d4 | ELSA-2023-5362, ELSA-2023-5360 |
| Oracle Linux 8 | nodejs-packaging | 26-1.module+el8.8.0+21172+0baa0bae | ELSA-2023-5362, ELSA-2023-5360 |
| Oracle Linux 8 | nodejs-packaging-bundler | 2021.06-4.module+el8.7.0+20766+0a247725 | ELSA-2023-5362 |
| Oracle Linux 8 | npm | 1:8.19.4-1.16.20.2.2.module+el8.8.0+21172+0baa0bae | ELSA-2023-5362, ELSA-2023-5360 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | semver | >= 7.0.0, < 7.5.2 | 7.5.2 | GHSA-c2qf-rxjj-qqgw |
| npm | semver | >= 6.0.0, < 6.3.1 | 6.3.1 | GHSA-c2qf-rxjj-qqgw |
| npm | semver | >= 2.0.0-alpha, < 5.7.2 | 5.7.2 | GHSA-c2qf-rxjj-qqgw |
Advisories 28
- ALSA-2023:5363 Important: nodejs:18 security, bug fix, and enhancement update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2023:5360 Important: nodejs:16 security, bug fix, and enhancement update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2023:5362 Important: nodejs:18 security, bug fix, and enhancement update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2023:5486 Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.4.13 security update on RHEL 9 Red Hat Security Advisories (RHSA) · Oct 17, 2026
- RHSA-2023:5484 Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.4.13 security update on RHEL 7 Red Hat Security Advisories (RHSA) · Oct 17, 2026
- RHSA-2023:5485 Red Hat Security Advisory: Red Hat JBoss Enterprise Application Platform 7.4.13 security update on RHEL 8 Red Hat Security Advisories (RHSA) · Oct 17, 2026
- RHSA-2023:5363 Red Hat Security Advisory: nodejs:18 security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Oct 13, 2026
- RHSA-2023:5361 Red Hat Security Advisory: nodejs:16 security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Oct 13, 2026
- RHSA-2023:5362 Red Hat Security Advisory: nodejs:18 security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Oct 13, 2026
- RHSA-2023:5360 Red Hat Security Advisory: nodejs:16 security, bug fix, and enhancement update Red Hat Security Advisories (RHSA) · Oct 13, 2026
- WID-SEC-2024-1944 Red Hat multicluster engine for Kubernetes: Schwachstelle ermöglicht Denial of Service BSI CERT-Bund (WID) · Sep 3, 2026
- WID-SEC-2026-0770 Atlassian Jira: Mehrere Schwachstellen BSI CERT-Bund (WID) · May 18, 2026
- WID-SEC-2026-0177 Atlassian Bamboo, Bitbucket, Confluence und Jira: Mehrere Schwachstellen BSI CERT-Bund (WID) · Mar 18, 2026
- WID-SEC-2026-0438 Atlassian Bamboo und Confluence (Data Center und Server): Mehrere Schwachstellen BSI CERT-Bund (WID) · Mar 17, 2026
- openSUSE-SU-2024:14012-1 system-user-velociraptor-1.0.0-9.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2024-0049 Splunk Enterprise: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jan 25, 2026
- NCSC-2026-0034 Kwetsbaarheden verholpen in Atlassian producten NCSC-NL (Netherlands) · Jan 22, 2026
- WID-SEC-2026-0180 Dell Data Protection Advisor: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jan 20, 2026
- RLSA-2023:5362 Important: nodejs:18 security, bug fix, and enhancement update Rocky Linux Security Advisories · Dec 20, 2025
- RLSA-2023:5360 Important: nodejs:16 security, bug fix, and enhancement update Rocky Linux Security Advisories · Dec 20, 2025
- RLSA-2023:5363 Important: nodejs:18 security, bug fix, and enhancement update Rocky Linux Security Advisories · Oct 9, 2025
- WID-SEC-2023-2964 Splunk Enterprise: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jul 24, 2025
- WID-SEC-2023-3025 IBM InfoSphere Information Server: Mehrere Schwachstellen BSI CERT-Bund (WID) · Dec 4, 2023
- ELSA-2023-5363 Important: nodejs:18 security, bug fix, and enhancement update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Oct 5, 2023
- WID-SEC-2023-2356 IBM QRadar SIEM: Mehre Schwachstellen BSI CERT-Bund (WID) · Sep 28, 2023
- ELSA-2023-5360 Important: nodejs:16 security, bug fix, and enhancement update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Sep 28, 2023
- ELSA-2023-5362 Important: nodejs:18 security, bug fix, and enhancement update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Sep 28, 2023
- ALAS2023-2023-290 Important: nodejs security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Aug 9, 2023
References
- 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/internal/re.js%23L138
- https://github.com/npm/node-semver/blob/main/classes/range.js%23L97-L104
- https://github.com/npm/node-semver/pull/564
- https://github.com/npm/node-semver/commit/717534ee353682f3bcf33e60a8af4292626d4441