# CVE-2024-22020: A security flaw in Node.js allows a bypass of network import restrictions.

- Severity: Medium 6.5 (CVSS:3.0, scored by hackerone) `CVSS:3.0/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.10%, higher than 66% of CVEs (2026-12-01)
- Published: 2024-07-09T01:07:28.098Z
- Modified: 2026-06-17T07:10:33.183Z
- Also known as: BIT-NODE-2024-22020, BIT-NODE-MIN-2024-22020
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: hackerone

## 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.

(As written by CVE List.)

## Affected

- NodeJS Node: from 4.0 before 4.*; from 5.0 before 5.*; from 6.0 before 6.*; from 7.0 before 7.*; from 8.0 before 8.*; from 9.0 before 9.*; from 10.0 before 10.*; from 11.0 before 11.*; from 12.0 before 12.*; from 13.0 before 13.*; from 14.0 before 14.*; from 15.0 before 15.*; and 7 more
- nodejs nodejs: 21.6.1; 20.11.0; 18.19.0
- node (Bitnami): before 18.20.4; from 19.0.0 before 20.15.1; from 21.0.0 before 22.4.1
- node-min (Bitnami): before 18.20.5; from 19.0.0 before 20.18.1; from 21.0.0 before 22.12.0

## Every score

- hackerone: CVSS:3.0 6.5 Medium `CVSS:3.0/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:H`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://hackerone.com/reports/2092749> (web)
- <http://www.openwall.com/lists/oss-security/2024/07/11/6> (web)
- <http://www.openwall.com/lists/oss-security/2024/07/19/3> (web)
- <https://security.netapp.com/advisory/ntap-20241122-0006/> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-22020> (web)
- <https://github.com/nodejs/node/releases/tag/v18.20.4> (web)
- <https://github.com/nodejs/node/releases/tag/v20.15.1> (web)
- <https://github.com/nodejs/node/releases/tag/v22.4.1> (web)

## Sources

- CVE List: [CVE-2024-22020](https://www.cve.org/CVERecord?id=CVE-2024-22020), CVE Terms of Use, modified 2025-04-30
- NVD: [CVE-2024-22020](https://nvd.nist.gov/vuln/detail/CVE-2024-22020), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-NODE-2024-22020](https://osv.dev/vulnerability/BIT-NODE-2024-22020), Apache-2.0, modified 2026-02-11
- Bitnami Vulnerability Database: [BIT-NODE-MIN-2024-22020](https://osv.dev/vulnerability/BIT-NODE-MIN-2024-22020), Apache-2.0, modified 2026-02-11

---

Page: https://cve.day/CVE-2024-22020 · Whole record: https://cve.day/CVE-2024-22020.json · Rebuilt by cve.day 2026-11-25T22:58:42.567Z
