Description
A security flaw in Node.js allows a bypass of network import restrictions.
By embedding non-network imports in data URLs, an attacker can execute arbitrary code, compromising system security.
Verified on various platforms, the vulnerability is mitigated by forbidding data URLs in network imports.
Exploiting this flaw can violate network import security, posing a risk to developers and servers.
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.*, 15.0 – < 15.*, 16.0 – < 16.*, 17.0 – < 17.*, 18.0 – < 18.20.4, 19.0 – < 19.*, 20.0 – < 20.15.1, 21.0 – < 21.*, 22.0 – < 22.4.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 | 20.15.1+dfsg-1 | — |
| Debian 13 | nodejs | 20.15.1+dfsg-1 | — |
| Debian 12 | nodejs | 18.20.4+dfsg-1~deb12u1 | DSA-5991-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 24.04 LTS | nodejs | No fix yet | — |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 9 | nodejs +3 | 1:18.20.4-1.module+el9.4.0+22195+c221878e | RHSA-2024:6147, RHSA-2024:5815 |
| RHEL 9 | nodejs-nodemon | 3.0.1-1.module+el9.3.0.z+20478+84a9f781 | RHSA-2024:6147, RHSA-2024:5815 |
| RHEL 9 | nodejs-packaging +1 | 2021.06-4.module+el9.1.0+15718+e52ec601 | RHSA-2024:6147, RHSA-2024:5815 |
| RHEL 9 | npm | 1:10.7.0-1.18.20.4.1.module+el9.4.0+22195+c221878e | RHSA-2024:6147, RHSA-2024:5815 |
| RHEL 8 | nodejs +3 | 1:18.20.4-1.module+el8.10.0+22199+56ea0ead | RHSA-2024:6148, RHSA-2024:5814 |
| RHEL 8 | nodejs-nodemon | 3.0.1-1.module+el8.9.0+20473+c4e3d824 | RHSA-2024:6148, RHSA-2024:5814 |
| RHEL 8 | nodejs-packaging +1 | 2021.06-4.module+el8.9.0+19439+7b18b275 | RHSA-2024:6148, RHSA-2024:5814 |
| RHEL 8 | npm | 1:10.7.0-1.18.20.4.1.module+el8.10.0+22199+56ea0ead | RHSA-2024:6148, RHSA-2024:5814 |
AlmaLinux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux 9 | nodejs +3 | 1:18.20.4-1.module_el9.4.0+112+bb28ff81 | ALSA-2024:6147, ALSA-2024:5815 |
| AlmaLinux 9 | nodejs-nodemon | 3.0.1-1.module_el9.2.0+36+853e48f5 | ALSA-2024:6147, ALSA-2024:5815 |
| AlmaLinux 9 | nodejs-packaging +1 | 2021.06-4.module_el9.1.0+13+d9a595ea | ALSA-2024:6147, ALSA-2024:5815 |
| AlmaLinux 9 | npm | 1:10.7.0-1.18.20.4.1.module_el9.4.0+112+bb28ff81 | ALSA-2024:6147, ALSA-2024:5815 |
| AlmaLinux 8 | nodejs +3 | 1:18.20.4-1.module_el8.10.0+3890+5a092792 | ALSA-2024:6148, ALSA-2024:5814 |
| AlmaLinux 8 | nodejs-nodemon | 3.0.1-1.module_el8.8.0+3613+1ed8c91d | ALSA-2024:6148, ALSA-2024:5814 |
| AlmaLinux 8 | nodejs-packaging +1 | 2021.06-4.module_el8.7.0+3343+ea2b7901 | ALSA-2024:6148, ALSA-2024:5814 |
| AlmaLinux 8 | npm | 1:10.7.0-1.18.20.4.1.module_el8.10.0+3890+5a092792 | ALSA-2024:6148, ALSA-2024:5814 |
Rocky Linux
Errata ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Rocky Linux 9 | nodejs-nodemon | 3.0.1-1.module+el9.5.0+31770+0da7192d | RLSA-2024:6147, RLSA-2024:5815 |
| Rocky Linux 9 | nodejs-packaging | 2021.06-4.module+el9.5.0+31770+0da7192d | RLSA-2024:6147, RLSA-2024:5815 |
| Rocky Linux 8 | nodejs | 1:18.20.4-1.module+el8.10.0+1865+67d146ca | RLSA-2024:6148, RLSA-2024:5814 |
| Rocky Linux 8 | nodejs-nodemon | 3.0.1-1.module+el8.10.0+1666+930e28e8 | RLSA-2024:6148, RLSA-2024:5814 |
| Rocky Linux 8 | nodejs-packaging | 2021.06-4.module+el8.10.0+1667+4a788d89 | RLSA-2024:6148, RLSA-2024:5814 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP6 | nodejs20 | 20.15.1-150600.3.3.2 | SUSE-SU-2024:2574-1 |
| SLES 15 SP5 | nodejs18 | 18.20.4-150400.9.24.2 | SUSE-SU-2024:2542-1 |
| SLES 15 SP5 | nodejs20 | 20.15.1-150500.11.12.2 | SUSE-SU-2024:2543-1 |
| SLES 12 | nodejs18 | 18.20.4-8.24.1 | SUSE-SU-2024:2496-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | nodejs20 | 20.15.1-1.1 | openSUSE-SU-2024:14214-1 |
| openSUSE Tumbleweed | nodejs22 | 22.10.0-1.1 | openSUSE-SU-2024:14435-1 |
| openSUSE Tumbleweed | nodejs24 | 24.11.1-2.1 | openSUSE-SU-2025:15802-1 |
| openSUSE Tumbleweed | nodejs26 | 26.3.1-1.1 | openSUSE-SU-2026:11110-1 |
| openSUSE Leap 15.6 | nodejs20 | 20.15.1-150600.3.3.2 | SUSE-SU-2024:2574-1 |
| openSUSE Leap 15.5 | nodejs18 | 18.20.4-150400.9.24.2 | SUSE-SU-2024:2542-1 |
| openSUSE Leap 15.5 | nodejs20 | 20.15.1-150500.11.12.2 | SUSE-SU-2024:2543-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | nodejs | 20.15.1-r0 | — |
| Alpine v3.23 | nodejs | 20.15.1-r0 | — |
| Alpine v3.22 | nodejs | 20.15.1-r0 | — |
| Alpine v3.21 | nodejs | 20.15.1-r0 | — |
| Alpine v3.20 | nodejs | 20.15.1-r0 | — |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | nodejs | 20.15.1-r0 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | nodejs20 +4 | 1:20.18.0-1.amzn2023.0.2 | ALAS2023-2024-768 |
| Amazon Linux 2023 | nodejs20-npm | 1:10.8.2-1.20.18.0.1.amzn2023.0.2 | ALAS2023-2024-768 |
| Amazon Linux 2023 | v8-11.3-devel | 3:11.3.244.8-1.20.18.0.1.amzn2023.0.2 | ALAS2023-2024-768 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 3 | nodejs | 20.14.0-5 | — |
| Azure Linux 2 (CBL-Mariner) | nodejs18 | 18.20.3-3 | — |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 9 | nodejs +3 | 1:18.20.4-1.module+el9.4.0+90400+35c5e203 | ELSA-2024-6147, ELSA-2024-5815 |
| Oracle Linux 9 | nodejs-nodemon | 3.0.1-1.module+el9.3.0+90066+12d4a8d7 | ELSA-2024-6147, ELSA-2024-5815 |
| Oracle Linux 9 | nodejs-packaging +1 | 2021.06-4.module+el9.1.0+20762+f52d7401 | ELSA-2024-6147, ELSA-2024-5815 |
| Oracle Linux 9 | npm | 1:10.7.0-1.18.20.4.1.module+el9.4.0+90400+35c5e203 | ELSA-2024-6147, ELSA-2024-5815 |
| Oracle Linux 8 | nodejs +3 | 1:18.20.4-1.module+el8.10.0+90402+68b79193 | ELSA-2024-6148, ELSA-2024-5814 |
| Oracle Linux 8 | nodejs-nodemon | 3.0.1-1.module+el8.9.0+90082+b6a613a6 | ELSA-2024-6148, ELSA-2024-5814 |
| Oracle Linux 8 | nodejs-packaging +1 | 2021.06-4.module+el8.9.0+90082+b6a613a6 | ELSA-2024-6148, ELSA-2024-5814 |
| Oracle Linux 8 | npm | 1:10.7.0-1.18.20.4.1.module+el8.10.0+90402+68b79193 | ELSA-2024-6148, ELSA-2024-5814 |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | nodejs-16 +1 | No fix yet | — |
| Wolfi rolling | nodejs-18 | 18.20.4-r0 | — |
| Wolfi rolling | nodejs-20 | 20.15.1-r0 | — |
| Wolfi rolling | nodejs-22 | 22.4.1-r0 | — |
Advisories 33
- ALSA-2024:6147 Moderate: nodejs:18 security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2024:5815 Moderate: nodejs:20 security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2024:6148 Moderate: nodejs:18 security update AlmaLinux Security Advisories · Oct 29, 2026
- ALSA-2024:5814 Moderate: nodejs:20 security update AlmaLinux Security Advisories · Oct 29, 2026
- RHSA-2024:6148 Red Hat Security Advisory: nodejs:18 security update Red Hat Security Advisories (RHSA) · Oct 14, 2026
- RHSA-2024:6147 Red Hat Security Advisory: nodejs:18 security update Red Hat Security Advisories (RHSA) · Oct 14, 2026
- RHSA-2024:5814 Red Hat Security Advisory: nodejs:20 security update Red Hat Security Advisories (RHSA) · Oct 14, 2026
- WID-SEC-2025-0166 Oracle PeopleSoft: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 11, 2026
- WID-SEC-2024-3195 Oracle Communications: Mehrere Schwachstellen BSI CERT-Bund (WID) · Aug 11, 2026
- openSUSE-SU-2026:11110-1 nodejs26-26.3.1-1.1 on GA media SUSE / openSUSE Security Updates · Jun 24, 2026
- WID-SEC-2024-1548 Node.js: Mehrere Schwachstellen BSI CERT-Bund (WID) · Apr 21, 2026
- openSUSE-SU-2025:15802-1 corepack24-24.11.1-2.1 on GA media SUSE / openSUSE Security Updates · Mar 23, 2026
- RHSA-2024:5815 Red Hat Security Advisory: nodejs:20 security update Red Hat Security Advisories (RHSA) · Mar 18, 2026
- DSA-5991-1 nodejs - security update Debian Security (DSA / DLA) · Mar 9, 2026
- RLSA-2024:6148 Moderate: nodejs:18 security update Rocky Linux Security Advisories · Feb 4, 2026
- RLSA-2024:5814 Moderate: nodejs:20 security update Rocky Linux Security Advisories · Feb 4, 2026
- SUSE-SU-2024:2542-1 Security update for nodejs18 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:2496-1 Security update for nodejs18 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:2574-1 Security update for nodejs20 SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2024:2543-1 Security update for nodejs20 SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:14214-1 corepack20-20.15.1-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:14435-1 corepack22-22.10.0-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- RLSA-2024:5815 Moderate: nodejs:20 security update Rocky Linux Security Advisories · Oct 9, 2025
- RLSA-2024:6147 Moderate: nodejs:18 security update Rocky Linux Security Advisories · Oct 9, 2025
- NCSC-2025-0026 Kwetsbaarheden verholpen in Oracle JD Edwards NCSC-NL (Netherlands) · Jan 22, 2025
- NCSC-2025-0023 Kwetsbaarheden verholpen in Oracle PeopleSoft NCSC-NL (Netherlands) · Jan 22, 2025
- ALAS2023-2024-768 Moderate: nodejs20 security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Nov 14, 2024
- NCSC-2024-0414 Kwetsbaarheden verholpen in Oracle Communications NCSC-NL (Netherlands) · Oct 17, 2024
- NCSC-2024-0411 Kwetsbaarheden verholpen in Oracle Database producten NCSC-NL (Netherlands) · Oct 17, 2024
- ELSA-2024-6148 Moderate: nodejs:18 security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Sep 4, 2024
- ELSA-2024-6147 Moderate: nodejs:18 security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Sep 4, 2024
- ELSA-2024-5814 Moderate: nodejs:20 security update (Oracle Linux 8) Oracle Linux Security Advisories (ELSA) · Aug 26, 2024
- ELSA-2024-5815 Moderate: nodejs:20 security update (Oracle Linux 9) Oracle Linux Security Advisories (ELSA) · Aug 26, 2024