CVE-2024-22020
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
02 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
03 Exploitation and scoring
- Exploitation
- Assessed, none found. CISA's assessment recorded neither public exploit code nor evidence of exploitation when it was made.
- SSVC decision
- ExploitationnoneCISA recorded no public exploit code and no evidence of exploitation.
- AutomatablenoAt least one step from reconnaissance to exploitation cannot be reliably automated.
- Technical ImpacttotalSuccessful exploitation gives total control of the vulnerable component.
- EPSS probability
- 1.10% probability of exploitation activity in the next 30 days.
- EPSS percentile
- Equal to or higher than the score of 65.5% of scored records. A rank, not a probability.
- NVD base score
- 6.5 (CVSS v3.x), scored by the NVD independently of the CNA.
- NVD CVSS vector
- CVSS:3.0/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:H
- NVD analysis status
- Deferred. NVD last modified this record on 2026-06-17.
- Red Hat severity
- Moderate. Red Hat's rating for its own products, not a CVSS rating.
Exploit-prediction scores from FIRST. Independent scoring and analysis status from the NVD. Vendor severity from Red Hat. Exploitation assessment and catalog membership from CISA.
04 Metadata
- Published
- 2024-07-09 01:07Z2 YR AGO
- Last updated
- 2025-04-30 22:25Z1 YR AGO
- Reserved
- 2024-01-04
- Assigning CNA
- hackerone
- Record state
- PUBLISHED
- Severity
- Medium (CVSS 6.5)
- CNA CVSS vector
- CVSS:3.0/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:H
- Weaknesses
- CWE-94Improper Control of Generation of Code ('Code Injection')Base
- Data version
- 5.1
- Document digest
- 9b4187e993d3cce4ed242ec66300766cccb5154ed438420e8e0f0299022e82cf
05 Affected products
06 References
- hackerone.comhttps://hackerone.com/reports/2092749
- www.openwall.comhttp://www.openwall.com/lists/oss-security/2024/07/11/6
- www.openwall.comhttp://www.openwall.com/lists/oss-security/2024/07/19/3
- security.netapp.comhttps://security.netapp.com/advisory/ntap-20241122-0006/
07 Fixed in
AlmaLinux 8
- nodejs Fixed
A version is affected if any line below covers it.
- Affected before 1:18.20.4-1.module_el8.10.0+3890+5a092792
- Affected before 1:20.16.0-1.module_el8.10.0+3882+e12e42db
- nodejs-devel Fixed
A version is affected if any line below covers it.
- Affected before 1:18.20.4-1.module_el8.10.0+3890+5a092792
- Affected before 1:20.16.0-1.module_el8.10.0+3882+e12e42db
- nodejs-docs Fixed
A version is affected if any line below covers it.
- Affected before 1:18.20.4-1.module_el8.10.0+3890+5a092792
- Affected before 1:20.16.0-1.module_el8.10.0+3882+e12e42db
- nodejs-full-i18n Fixed
A version is affected if any line below covers it.
- Affected before 1:18.20.4-1.module_el8.10.0+3890+5a092792
- Affected before 1:20.16.0-1.module_el8.10.0+3882+e12e42db
- nodejs-nodemon Fixed
A version is affected if any line below covers it.
- Affected before 3.0.1-1.module_el8.8.0+3613+1ed8c91d
- Affected before 3.0.1-1.module_el8.9.0+3731+490e3ce5
- nodejs-packaging Fixed
A version is affected if any line below covers it.
- Affected before 2021.06-4.module_el8.7.0+3343+ea2b7901
- Affected before 2021.06-4.module_el8.9.0+3775+d8460d35
- nodejs-packaging-bundler Fixed
A version is affected if any line below covers it.
- Affected before 2021.06-4.module_el8.7.0+3343+ea2b7901
- Affected before 2021.06-4.module_el8.9.0+3775+d8460d35
- npm Fixed
A version is affected if any line below covers it.
- Affected before 1:10.7.0-1.18.20.4.1.module_el8.10.0+3890+5a092792
- Affected before 1:10.8.1-1.20.16.0.1.module_el8.10.0+3882+e12e42db
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
AlmaLinux 9
- nodejs Fixed
A version is affected if any line below covers it.
- Affected before 1:18.20.4-1.module_el9.4.0+112+bb28ff81
- Affected before 1:20.16.0-1.module_el9.4.0+107+dbd477e4
- nodejs-devel Fixed
A version is affected if any line below covers it.
- Affected before 1:18.20.4-1.module_el9.4.0+112+bb28ff81
- Affected before 1:20.16.0-1.module_el9.4.0+107+dbd477e4
- nodejs-docs Fixed
A version is affected if any line below covers it.
- Affected before 1:18.20.4-1.module_el9.4.0+112+bb28ff81
- Affected before 1:20.16.0-1.module_el9.4.0+107+dbd477e4
- nodejs-full-i18n Fixed
A version is affected if any line below covers it.
- Affected before 1:18.20.4-1.module_el9.4.0+112+bb28ff81
- Affected before 1:20.16.0-1.module_el9.4.0+107+dbd477e4
- nodejs-nodemon Fixed
A version is affected if any line below covers it.
- Affected before 3.0.1-1.module_el9.2.0+36+853e48f5
- Affected before 3.0.1-1.module_el9.3.0+47+c33bc288
- nodejs-packaging Fixed
A version is affected if any line below covers it.
- Affected before 2021.06-4.module_el9.1.0+13+d9a595ea
- Affected before 2021.06-4.module_el9.3.0+88+29afeaa2
- nodejs-packaging-bundler Fixed
A version is affected if any line below covers it.
- Affected before 2021.06-4.module_el9.1.0+13+d9a595ea
- Affected before 2021.06-4.module_el9.3.0+88+29afeaa2
- npm Fixed
A version is affected if any line below covers it.
- Affected before 1:10.7.0-1.18.20.4.1.module_el9.4.0+112+bb28ff81
- Affected before 1:10.8.1-1.20.16.0.1.module_el9.4.0+107+dbd477e4
Source: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
CloudLinux 8
- nodejs Fixed
A version is affected if any line below covers it.
- Affected before 1:18.20.4-1.module_el8.10.0+3890+5a092792
- Affected before 1:20.16.0-1.module_el8.10.0+3882+e12e42db
- nodejs-devel Fixed
A version is affected if any line below covers it.
- Affected before 1:18.20.4-1.module_el8.10.0+3890+5a092792
- Affected before 1:20.16.0-1.module_el8.10.0+3882+e12e42db
- nodejs-docs Fixed
A version is affected if any line below covers it.
- Affected before 1:18.20.4-1.module_el8.10.0+3890+5a092792
- Affected before 1:20.16.0-1.module_el8.10.0+3882+e12e42db
- nodejs-full-i18n Fixed
A version is affected if any line below covers it.
- Affected before 1:18.20.4-1.module_el8.10.0+3890+5a092792
- Affected before 1:20.16.0-1.module_el8.10.0+3882+e12e42db
- nodejs-nodemon Fixed
A version is affected if any line below covers it.
- Affected before 3.0.1-1.module_el8.8.0+3613+1ed8c91d
- Affected before 3.0.1-1.module_el8.9.0+3731+490e3ce5
- nodejs-packaging Fixed
A version is affected if any line below covers it.
- Affected before 2021.06-4.module_el8.7.0+3343+ea2b7901
- Affected before 2021.06-4.module_el8.9.0+3775+d8460d35
- nodejs-packaging-bundler Fixed
A version is affected if any line below covers it.
- Affected before 2021.06-4.module_el8.7.0+3343+ea2b7901
- Affected before 2021.06-4.module_el8.9.0+3775+d8460d35
- npm Fixed
A version is affected if any line below covers it.
- Affected before 1:10.7.0-1.18.20.4.1.module_el8.10.0+3890+5a092792
- Affected before 1:10.8.1-1.20.16.0.1.module_el8.10.0+3882+e12e42db
Derived from AlmaLinux 8. Partial coverage: only packages taken from AlmaLinux 8 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
CloudLinux 9
- nodejs Fixed
A version is affected if any line below covers it.
- Affected before 1:18.20.4-1.module_el9.4.0+112+bb28ff81
- Affected before 1:20.16.0-1.module_el9.4.0+107+dbd477e4
- nodejs-devel Fixed
A version is affected if any line below covers it.
- Affected before 1:18.20.4-1.module_el9.4.0+112+bb28ff81
- Affected before 1:20.16.0-1.module_el9.4.0+107+dbd477e4
- nodejs-docs Fixed
A version is affected if any line below covers it.
- Affected before 1:18.20.4-1.module_el9.4.0+112+bb28ff81
- Affected before 1:20.16.0-1.module_el9.4.0+107+dbd477e4
- nodejs-full-i18n Fixed
A version is affected if any line below covers it.
- Affected before 1:18.20.4-1.module_el9.4.0+112+bb28ff81
- Affected before 1:20.16.0-1.module_el9.4.0+107+dbd477e4
- nodejs-nodemon Fixed
A version is affected if any line below covers it.
- Affected before 3.0.1-1.module_el9.2.0+36+853e48f5
- Affected before 3.0.1-1.module_el9.3.0+47+c33bc288
- nodejs-packaging Fixed
A version is affected if any line below covers it.
- Affected before 2021.06-4.module_el9.1.0+13+d9a595ea
- Affected before 2021.06-4.module_el9.3.0+88+29afeaa2
- nodejs-packaging-bundler Fixed
A version is affected if any line below covers it.
- Affected before 2021.06-4.module_el9.1.0+13+d9a595ea
- Affected before 2021.06-4.module_el9.3.0+88+29afeaa2
- npm Fixed
A version is affected if any line below covers it.
- Affected before 1:10.7.0-1.18.20.4.1.module_el9.4.0+112+bb28ff81
- Affected before 1:10.8.1-1.20.16.0.1.module_el9.4.0+107+dbd477e4
Derived from AlmaLinux 9. Partial coverage: only packages taken from AlmaLinux 9 are listed.
Source: CloudLinux errata, CloudLinux Inc. Derived from: AlmaLinux, AlmaLinux OS. Copyright (c) 2023 AlmaLinux OS. Licensed under MIT License. Received through OSV.dev. Reformatted by exploit.cc.
Debian 12
- nodejs Fixed in 18.20.4+dfsg-1~deb12u1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 13
- nodejs Fixed in 20.15.1+dfsg-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Debian 14
- nodejs Fixed in 20.15.1+dfsg-1
Source: Debian Security Tracker, the Debian security team. Received through OSV.dev. Reformatted by exploit.cc.
Ubuntu 24.04 LTS
- nodejs No fix yet
Source: Ubuntu, Canonical Ltd. Licensed under CC BY-SA 4.0. Received through OSV.dev. Reformatted by exploit.cc.
A release or ecosystem missing from this list has no record here. It may be unaffected or not covered by the source. Source notices and licences.