Description
A OS Command Injection vulnerability exists in Node.js versions <14.20.0, <16.20.0, <18.5.0 due to an insufficient IsAllowedHost check that can easily be bypassed because IsIPAddress does not properly check if an IP address is invalid before making DBS requests allowing rebinding attacks.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| NodeJS | Node | 4.0 – < 4.*, 5.0 – < 5.*, 6.0 – < 6.*, 7.0 – < 7.*, 8.0 – < 8.*, 9.0 – < 9.*, 10.0 – < 10.*, 11.0 – < 11.*, 12.0 – < 12.*, 13.0 – < 13.*, 14.0 – < 14.20.1, 15.0 – < 15.*, 16.0 – < 16.17.1, 17.0 – < 17.*, 18.0 – < 18.9.1 | 4.* |
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 | nodejs | 18.6.0+dfsg-3 | — |
| Debian 13 | nodejs | 18.6.0+dfsg-3 | — |
| Debian 12 | nodejs | 18.6.0+dfsg-3 | — |
| Debian 11 | nodejs | 12.22.12~dfsg-1~deb11u3 | DSA-5326-1 |
| Debian 10 | nodejs | 10.24.0~dfsg-1~deb10u2 | DLA-3137-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | nodejs | 12.22.9~dfsg-1ubuntu3.2 | USN-6491-1 |
| Ubuntu 20.04 LTS | nodejs | 10.19.0~dfsg-3ubuntu1.3 | USN-6491-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 18.04 LTS | nodejs | 8.10.0~dfsg-2ubuntu0.4+esm4 | USN-6491-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 9 | nodejs +3 | 1:16.16.0-1.el9_0 | RHSA-2022:6595 |
| RHEL 9 | nodejs-nodemon | 2.0.19-1.el9_0 | RHSA-2022:6595 |
| RHEL 9 | npm | 1:8.11.0-1.16.16.0.1.el9_0 | RHSA-2022:6595 |
| RHEL 8 | nodejs +3 | 1:14.20.0-2.module+el8.6.0+16231+7c1b33d9 | RHSA-2022:6449, RHSA-2022:6448 |
| RHEL 8 | nodejs-nodemon | 2.0.19-2.module+el8.6.0+16231+7c1b33d9 | RHSA-2022:6449, RHSA-2022:6448 |
| RHEL 8 | nodejs-packaging | 23-3.module+el8.3.0+6519+9f98ed83 | RHSA-2022:6449, RHSA-2022:6448 |
| RHEL 8 | npm | 1:6.14.17-1.14.20.0.2.module+el8.6.0+16231+7c1b33d9 | RHSA-2022:6449, RHSA-2022:6448 |
| RHEL 3 | rh-nodejs14-nodejs +2 | 14.20.0-2.el7 | RHSA-2022:6389 |
| RHEL 3 | rh-nodejs14-nodejs-nodemon | 2.0.19-1.el7 | RHSA-2022:6389 |
| RHEL 3 | rh-nodejs14-npm | 6.14.17-14.20.0.2.el7 | RHSA-2022:6389 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 8.4 EUS | nodejs +3 | 1:14.20.0-2.module+el8.4.0+16234+70f4adc8 | RHSA-2022:6985 |
| RHEL 8.4 EUS | nodejs-nodemon | 2.0.19-2.module+el8.4.0+16234+70f4adc8 | RHSA-2022:6985 |
| RHEL 8.4 EUS | nodejs-packaging | 23-3.module+el8.3.0+6519+9f98ed83 | RHSA-2022:6985 |
| RHEL 8.4 EUS | npm | 1:6.14.17-1.14.20.0.2.module+el8.4.0+16234+70f4adc8 | RHSA-2022:6985 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 9 | nodejs +3 | 1:16.16.0-1.el9_0 | ALSA-2022:6595 |
| AlmaLinux 9 | nodejs-nodemon | 2.0.19-1.el9_0 | ALSA-2022:6595 |
| AlmaLinux 9 | npm | 1:8.11.0-1.16.16.0.1.el9_0 | ALSA-2022:6595 |
| AlmaLinux 8 | nodejs +3 | 1:14.20.0-2.module_el8.6.0+3261+490666b3 | ALSA-2022:6448 |
| AlmaLinux 8 | nodejs-nodemon | 2.0.19-2.module_el8.6.0+3261+490666b3 | ALSA-2022:6448 |
| AlmaLinux 8 | nodejs-packaging | 23-3.module_el8.5.0+2618+8d46dafd | ALSA-2022:6448 |
| AlmaLinux 8 | npm | 1:6.14.17-1.14.20.0.2.module_el8.6.0+3261+490666b3 | ALSA-2022:6448 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 9 | nodejs-nodemon | 2.0.19-1.el9_0 | RLSA-2022:6595 |
| Rocky Linux 8 | nodejs | 1:14.20.0-2.module+el8.6.0+1004+df064614 | RLSA-2022:6449, RLSA-2022:6448 |
| Rocky Linux 8 | nodejs-nodemon | 2.0.19-2.module+el8.6.0+1003+ae94235a | RLSA-2022:6449, RLSA-2022:6448 |
| Rocky Linux 8 | nodejs-packaging | 23-3.module+el8.3.0+100+234774f7 | RLSA-2022:6449, RLSA-2022:6448 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP4 | nodejs16 | 16.16.0-150400.3.3.2 | SUSE-SU-2022:2491-1 |
| SLES 15 SP4 | nodejs18 | 18.13.0-150400.9.3.1 | SUSE-SU-2023:0419-1 |
| SLES 15 SP3 | nodejs12 | 12.22.12-150200.4.35.1 | SUSE-SU-2022:2430-1 |
| SLES 15 SP3 | nodejs14 | 14.20.0-150200.15.34.1 | SUSE-SU-2022:2425-1 |
| SLES 15 SP3 | nodejs16 | 16.16.0-150300.7.6.2 | SUSE-SU-2022:2551-1 |
| SLES 15 SP2 | nodejs10 | 10.24.1-150000.1.47.1 | SUSE-SU-2022:2855-1 |
| SLES 15 SP2 | nodejs12 | 12.22.12-150200.4.35.1 | SUSE-SU-2022:2430-1 |
| SLES 15 SP2 | nodejs14 | 14.20.0-150200.15.34.1 | SUSE-SU-2022:2425-1 |
| SLES 15 SP1 | nodejs10 | 10.24.1-150000.1.47.1 | SUSE-SU-2022:2855-1 |
| SLES 15 | nodejs10 | 10.24.1-150000.1.47.1 | SUSE-SU-2022:2855-1 |
Show 12 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 12 | nodejs12 | 12.22.12-1.51.1 | SUSE-SU-2022:2417-1 |
| SLES 12 | nodejs14 | 14.20.0-6.31.1 | SUSE-SU-2022:2416-1 |
| SLES 12 | nodejs16 | 16.16.0-8.6.1 | SUSE-SU-2022:2415-1 |
| SLES 12 | nodejs18 | 18.13.0-8.3.1 | SUSE-SU-2023:0408-1 |
| SLES for SAP 15 SP2 | nodejs10 | 10.24.1-150000.1.47.1 | SUSE-SU-2022:2855-1 |
| SLES for SAP 15 SP2 | nodejs12 | 12.22.12-150200.4.35.1 | SUSE-SU-2022:2430-1 |
| SLES for SAP 15 SP2 | nodejs14 | 14.20.0-150200.15.34.1 | SUSE-SU-2022:2425-1 |
| SLES for SAP 15 SP1 | nodejs10 | 10.24.1-150000.1.47.1 | SUSE-SU-2022:2855-1 |
| SLES for SAP 15 | nodejs10 | 10.24.1-150000.1.47.1 | SUSE-SU-2022:2855-1 |
| SLE HPC 15 SP2 | nodejs10 | 10.24.1-150000.1.47.1 | SUSE-SU-2022:2855-1 |
| SLE HPC 15 SP2 | nodejs12 | 12.22.12-150200.4.35.1 | SUSE-SU-2022:2430-1 |
| SLE HPC 15 SP2 | nodejs14 | 14.20.0-150200.15.34.1 | SUSE-SU-2022:2425-1 |
| SLE HPC 15 SP1 | nodejs10 | 10.24.1-150000.1.47.1 | SUSE-SU-2022:2855-1 |
| SLE HPC 15 | nodejs10 | 10.24.1-150000.1.47.1 | SUSE-SU-2022:2855-1 |
| SUSE Manager Server 4.1 | nodejs10 | 10.24.1-150000.1.47.1 | SUSE-SU-2022:2855-1 |
| SUSE Manager Server 4.1 | nodejs12 | 12.22.12-150200.4.35.1 | SUSE-SU-2022:2430-1 |
| SUSE Manager Server 4.1 | nodejs14 | 14.20.0-150200.15.34.1 | SUSE-SU-2022:2425-1 |
| SUSE Manager Retail Branch Server 4.1 | nodejs10 | 10.24.1-150000.1.47.1 | SUSE-SU-2022:2855-1 |
| SUSE Manager Retail Branch Server 4.1 | nodejs12 | 12.22.12-150200.4.35.1 | SUSE-SU-2022:2430-1 |
| SUSE Manager Retail Branch Server 4.1 | nodejs14 | 14.20.0-150200.15.34.1 | SUSE-SU-2022:2425-1 |
| SUSE Manager Proxy 4.1 | nodejs10 | 10.24.1-150000.1.47.1 | SUSE-SU-2022:2855-1 |
| SUSE Manager Proxy 4.1 | nodejs12 | 12.22.12-150200.4.35.1 | SUSE-SU-2022:2430-1 |
| SUSE Manager Proxy 4.1 | nodejs14 | 14.20.0-150200.15.34.1 | SUSE-SU-2022:2425-1 |
| SUSE Enterprise Storage 7 | nodejs10 | 10.24.1-150000.1.47.1 | SUSE-SU-2022:2855-1 |
| SUSE Enterprise Storage 7 | nodejs12 | 12.22.12-150200.4.35.1 | SUSE-SU-2022:2430-1 |
| SUSE Enterprise Storage 7 | nodejs14 | 14.20.0-150200.15.34.1 | SUSE-SU-2022:2425-1 |
| SUSE Enterprise Storage 6 | nodejs10 | 10.24.1-150000.1.47.1 | SUSE-SU-2022:2855-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | nodejs16 | 16.16.0-1.1 | openSUSE-SU-2024:12199-1 |
| openSUSE Tumbleweed | nodejs18 | 18.9.0-1.1 | openSUSE-SU-2024:12349-1 |
| openSUSE Leap 15.5 | nodejs18 | 18.13.0-150400.9.3.1 | SUSE-SU-2023:0419-1 |
| openSUSE Leap 15.4 | nodejs10 | 10.24.1-150000.1.47.1 | SUSE-SU-2022:2855-1 |
| openSUSE Leap 15.4 | nodejs12 | 12.22.12-150200.4.35.1 | SUSE-SU-2022:2430-1 |
| openSUSE Leap 15.4 | nodejs14 | 14.20.0-150200.15.34.1 | SUSE-SU-2022:2425-1 |
| openSUSE Leap 15.4 | nodejs16 | 16.16.0-150400.3.3.2 | SUSE-SU-2022:2491-1 |
| openSUSE Leap 15.4 | nodejs18 | 18.13.0-150400.9.3.1 | SUSE-SU-2023:0419-1 |
| openSUSE Leap 15.3 | nodejs10 | 10.24.1-150000.1.47.1 | SUSE-SU-2022:2855-1 |
| openSUSE Leap 15.3 | nodejs12 | 12.22.12-150200.4.35.1 | SUSE-SU-2022:2430-1 |
| openSUSE Leap 15.3 | nodejs14 | 14.20.0-150200.15.34.1 | SUSE-SU-2022:2425-1 |
| openSUSE Leap 15.3 | nodejs16 | 16.16.0-150300.7.6.2 | SUSE-SU-2022:2551-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | nodejs-current | 18.6.0-r0 | — |
| Alpine v3.23 | nodejs-current | 18.6.0-r0 | — |
| Alpine v3.22 | nodejs-current | 18.6.0-r0 | — |
| Alpine v3.21 | nodejs-current | 18.6.0-r0 | — |
| Alpine v3.20 | nodejs-current | 18.6.0-r0 | — |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | nodejs-current | 18.6.0-r0 | — |
| Alpine v3.18 | nodejs-current | 18.6.0-r0 | — |
| Alpine v3.17 | nodejs-current | 18.6.0-r0 | — |
| Alpine v3.16 | nodejs-current | 18.6.0-r0 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | nodejs +4 | 1:18.12.1-1.amzn2023.0.2 | ALAS2023-2023-084 |
| Amazon Linux 2023 | npm | 1:8.19.2-1.18.12.1.1.amzn2023.0.2 | ALAS2023-2023-084 |
| Amazon Linux 2023 | v8-devel | 2:10.2.154.15-1.18.12.1.1.amzn2023.0.2 | ALAS2023-2023-084 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 2 (CBL-Mariner) | nodejs | 16.20.2-4 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 9 | graalvm22-ce-11 +41 | 22.3.0-1.el9 | ELSA-2022-9955, ELSA-2022-9954, ELSA-2022-9953 |
| Oracle Linux 9 | nodejs +3 | 1:16.16.0-1.el9_0 | ELSA-2022-6595 |
| Oracle Linux 9 | nodejs-nodemon | 2.0.19-1.el9_0 | ELSA-2022-6595 |
| Oracle Linux 9 | npm | 1:8.11.0-1.16.16.0.1.el9_0 | ELSA-2022-6595 |
| Oracle Linux 8 | graalvm22-ce-11 +41 | 22.3.0-1.el8 | ELSA-2022-9951, ELSA-2022-9950, ELSA-2022-9949 |
| Oracle Linux 8 | nodejs +3 | 1:14.20.0-2.module+el8.6.0+20729+8fb6d84e | ELSA-2022-6449, ELSA-2022-6448 |
| Oracle Linux 8 | nodejs-nodemon | 2.0.19-2.module+el8.6.0+20729+8fb6d84e | ELSA-2022-6449, ELSA-2022-6448 |
| Oracle Linux 8 | nodejs-packaging | 23-3.module+el8.3.0+7818+6cd30d85 | ELSA-2022-6449, ELSA-2022-6448 |
| Oracle Linux 8 | npm | 1:6.14.17-1.14.20.0.2.module+el8.6.0+20729+8fb6d84e | ELSA-2022-6449, ELSA-2022-6448 |
| Oracle Linux 7 | graalvm22-ce-11 +41 | 22.3.0-1.el7 | ELSA-2022-9947, ELSA-2022-9946, ELSA-2022-9945 |
Advisories 50
- ALSA-2022:6595 Moderate: nodejs and nodejs-nodemon security and bug fix update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2022:6448 Moderate: nodejs:14 security and bug fix update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2022:6595 Red Hat Security Advisory: nodejs and nodejs-nodemon security and bug fix update Red Hat Security Advisories (RHSA) · Oct 14, 2026
- RHSA-2022:6449 Red Hat Security Advisory: nodejs:16 security and bug fix update Red Hat Security Advisories (RHSA) · Oct 14, 2026
- RHSA-2022:6985 Red Hat Security Advisory: nodejs:14 security and bug fix update Red Hat Security Advisories (RHSA) · Oct 13, 2026
- RHSA-2022:6448 Red Hat Security Advisory: nodejs:14 security and bug fix update Red Hat Security Advisories (RHSA) · Oct 13, 2026
- RHSA-2022:6389 Red Hat Security Advisory: rh-nodejs14-nodejs and rh-nodejs14-nodejs-nodemon security and bug fix update Red Hat Security Advisories (RHSA) · Oct 13, 2026
- USN-6491-1 nodejs vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DSA-5326-1 nodejs - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-3137-1 nodejs - security update Debian Security (DSA / DLA) · Mar 9, 2026
- RLSA-2022:6449 Moderate: nodejs:16 security and bug fix update Rocky Linux Security Advisories · Feb 5, 2026
- RLSA-2022:6448 Moderate: nodejs:14 security and bug fix update Rocky Linux Security Advisories · Feb 4, 2026
- RLSA-2022:6595 Moderate: nodejs and nodejs-nodemon security and bug fix update Rocky Linux Security Advisories · Feb 4, 2026
- openSUSE-SU-2024:12349-1 corepack18-18.9.0-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:2416-1 Security update for nodejs14 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:2415-1 Security update for nodejs16 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:2430-1 Security update for nodejs12 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:2425-1 Security update for nodejs14 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:2855-1 Security update for nodejs10 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:0419-1 Security update for nodejs18 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:2551-1 Security update for nodejs16 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2023:0408-1 Security update for nodejs18 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:12199-1 corepack16-16.16.0-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:2491-1 Security update for nodejs16 SUSE / openSUSE Security Updates · Feb 4, 2026
- FSA-202302 Festo: Several vulnerabilities in FactoryViews CERT@VDE · Feb 2, 2026
- WID-SEC-2023-0395 Splunk Splunk Enterprise: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 18, 2025
- WID-SEC-2022-1375 JFrog Artifactory: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 12, 2025
- WID-SEC-2023-0138 Oracle Communications Applications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jul 15, 2025
- WID-SEC-2022-0621 Node.js: Mehrere Schwachstellen ermöglichen Codeausführung BSI CERT-Bund (WID) · May 18, 2025
- SUSE-SU-2022:2417-1 Security update for nodejs12 SUSE / openSUSE Security Updates · May 2, 2025
- WID-SEC-2022-1461 IBM Spectrum Protect: Mehrere Schwachstellen BSI CERT-Bund (WID) · Jun 20, 2023
- WID-SEC-2023-0561 Xerox FreeFlow Print Server: Mehrere Schwachstellen BSI CERT-Bund (WID) · May 18, 2023
- ALAS2023-2023-084 Important: nodejs security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Feb 22, 2023
- ICSA-23-017-03 Siemens SINEC INS CISA ICS & IT advisories · Jan 10, 2023
- SSA-332410 SSA-332410: Multiple Vulnerabilities in SINEC INS before V1.0 SP2 Update 1 Siemens ProductCERT · Jan 10, 2023
- ELSA-2022-9952 Important: GraalVM Security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Oct 25, 2022
- ELSA-2022-9947 Important: GraalVM Security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Oct 25, 2022
- ELSA-2022-9944 Important: GraalVM Security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Oct 25, 2022
- ELSA-2022-9945 Important: GraalVM Security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Oct 25, 2022
- ELSA-2022-9950 Important: GraalVM Security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Oct 25, 2022
- ELSA-2022-9949 Important: GraalVM Security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Oct 25, 2022
- ELSA-2022-9953 Important: GraalVM Security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Oct 25, 2022
- ELSA-2022-9948 Important: GraalVM Security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Oct 25, 2022
- ELSA-2022-9955 Important: GraalVM Security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Oct 25, 2022
- ELSA-2022-9951 Important: GraalVM Security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Oct 25, 2022
- ELSA-2022-9954 Important: GraalVM Security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Oct 25, 2022
- ELSA-2022-9946 Important: GraalVM Security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Oct 25, 2022
- ELSA-2022-6595 Moderate: nodejs and nodejs-nodemon security and bug fix update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Sep 22, 2022
- ELSA-2022-6448 Moderate: nodejs:14 security and bug fix update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Sep 15, 2022
- ELSA-2022-6449 Moderate: nodejs:16 security and bug fix update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Sep 15, 2022