Skip to content
Noroxi
CVE-2024-22020· NVD / CVE Program· CNA hackerone

A security flaw in Node.js allows a bypass of network import restrictions.

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.

MediumCVSS 6.5 · v3.0—No exploit Fix available
Published
Jul 8, 2024
Updated
Jun 17, 2026
EPSS
1.1% · 64th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

26

Monitor

Low priority for now.

CVSS
26 / 40 · 6.5 / 10
CISA KEV
0 / 30 · Not listed
EPSS
0 / 30 · 1.1%

CISA SSVC decision

Exploitation
none
Automatable
no
Technical impact
total

Vulnrichment: CISA's decision-tree inputs.

CNA vs NVD score

NVD
—
CNA · hackerone
6.5
NVD has not scored this yet; the score shown is the CNA’s.

The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.

Affected systems

VendorProduct
nodejsnodejs

Versions reported by the vendor

Affected version ranges reported by the assigning authority (hackerone). Independent of NVD's CPE analysis and usually ahead of it.

  • NodeJS Node

    • 4.0 and later · before 4.*affected · semver
    • 5.0 and later · before 5.*affected · semver
    • 6.0 and later · before 6.*affected · semver
    • 7.0 and later · before 7.*affected · semver
    • 8.0 and later · before 8.*affected · semver
    • 9.0 and later · before 9.*affected · semver
    • 10.0 and later · before 10.*affected · semver
    • 11.0 and later · before 11.*affected · semver
    • 12.0 and later · before 12.*affected · semver
    • 13.0 and later · before 13.*affected · semver

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
AlmaLinux:8nodejsbefore 1:20.16.0-1.module_el8.10.0+3882+e12e42db1:20.16.0-1.module_el8.10.0+3882+e12e42db
AlmaLinux:8nodejsbefore 1:18.20.4-1.module_el8.10.0+3890+5a0927921:18.20.4-1.module_el8.10.0+3890+5a092792
AlmaLinux:8nodejs-develbefore 1:18.20.4-1.module_el8.10.0+3890+5a0927921:18.20.4-1.module_el8.10.0+3890+5a092792
AlmaLinux:8nodejs-develbefore 1:20.16.0-1.module_el8.10.0+3882+e12e42db1:20.16.0-1.module_el8.10.0+3882+e12e42db
AlmaLinux:8nodejs-docsbefore 1:18.20.4-1.module_el8.10.0+3890+5a0927921:18.20.4-1.module_el8.10.0+3890+5a092792
AlmaLinux:8nodejs-docsbefore 1:20.16.0-1.module_el8.10.0+3882+e12e42db1:20.16.0-1.module_el8.10.0+3882+e12e42db
AlmaLinux:8nodejs-full-i18nbefore 1:18.20.4-1.module_el8.10.0+3890+5a0927921:18.20.4-1.module_el8.10.0+3890+5a092792
AlmaLinux:8nodejs-full-i18nbefore 1:20.16.0-1.module_el8.10.0+3882+e12e42db1:20.16.0-1.module_el8.10.0+3882+e12e42db
AlmaLinux:8nodejs-nodemonbefore 3.0.1-1.module_el8.9.0+3731+490e3ce53.0.1-1.module_el8.9.0+3731+490e3ce5
AlmaLinux:8nodejs-nodemonbefore 3.0.1-1.module_el8.8.0+3613+1ed8c91d3.0.1-1.module_el8.8.0+3613+1ed8c91d
AlmaLinux:8nodejs-packagingbefore 2021.06-4.module_el8.7.0+3343+ea2b79012021.06-4.module_el8.7.0+3343+ea2b7901
AlmaLinux:8nodejs-packagingbefore 2021.06-4.module_el8.9.0+3775+d8460d352021.06-4.module_el8.9.0+3775+d8460d35
AlmaLinux:8nodejs-packaging-bundlerbefore 2021.06-4.module_el8.9.0+3775+d8460d352021.06-4.module_el8.9.0+3775+d8460d35
AlmaLinux:8nodejs-packaging-bundlerbefore 2021.06-4.module_el8.7.0+3343+ea2b79012021.06-4.module_el8.7.0+3343+ea2b7901
AlmaLinux:8npmbefore 1:10.8.1-1.20.16.0.1.module_el8.10.0+3882+e12e42db1:10.8.1-1.20.16.0.1.module_el8.10.0+3882+e12e42db
AlmaLinux:8npmbefore 1:10.7.0-1.18.20.4.1.module_el8.10.0+3890+5a0927921:10.7.0-1.18.20.4.1.module_el8.10.0+3890+5a092792
AlmaLinux:9nodejsbefore 1:18.20.4-1.module_el9.4.0+112+bb28ff811:18.20.4-1.module_el9.4.0+112+bb28ff81
AlmaLinux:9nodejsbefore 1:20.16.0-1.module_el9.4.0+107+dbd477e41:20.16.0-1.module_el9.4.0+107+dbd477e4
AlmaLinux:9nodejs-develbefore 1:18.20.4-1.module_el9.4.0+112+bb28ff811:18.20.4-1.module_el9.4.0+112+bb28ff81
AlmaLinux:9nodejs-develbefore 1:20.16.0-1.module_el9.4.0+107+dbd477e41:20.16.0-1.module_el9.4.0+107+dbd477e4
AlmaLinux:9nodejs-docsbefore 1:20.16.0-1.module_el9.4.0+107+dbd477e41:20.16.0-1.module_el9.4.0+107+dbd477e4
AlmaLinux:9nodejs-docsbefore 1:18.20.4-1.module_el9.4.0+112+bb28ff811:18.20.4-1.module_el9.4.0+112+bb28ff81
AlmaLinux:9nodejs-full-i18nbefore 1:20.16.0-1.module_el9.4.0+107+dbd477e41:20.16.0-1.module_el9.4.0+107+dbd477e4
AlmaLinux:9nodejs-full-i18nbefore 1:18.20.4-1.module_el9.4.0+112+bb28ff811:18.20.4-1.module_el9.4.0+112+bb28ff81

+79

Other highest-scoring records for the same primary product.

  • CVE-2024-27983An attacker can make the Node.js HTTP/2 server completely unavailable by sending a small amount of HTTP/2 frames packets with a few HTTP/2 f
    58Plan
  • CVE-2025-27210An incomplete fix has been identified for CVE-2025-23084 in Node.js, specifically affecting Windows device names like CON, PRN, and AUX.
    35Monitor
  • CVE-2024-27980Due to the improper handling of batch files in child_process.spawn / child_process.spawnSync, a malicious command line argument can inject a
    32Monitor
  • CVE-2024-36138Bypass incomplete fix of CVE-2024-27980, that arises from improper handling of batch files with all possible extensions on Windows via child
    32Monitor
  • CVE-2026-56848A flaw in Node.js HTTP/2 handling allows `nghttp2_session_mem_send()` to be called re-entrantly while `nghttp2_session_mem_recv()` is execut
    30Monitor
  • CVE-2026-56846A flaw in Node.js HTTP/2 handling can cause HTTP/2 retained header blocks evade maxSessionMemory and enable remote memory exhaustion.
    30Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
NodeJS Node10.*Vendor (CNA)
NodeJS Node11.*Vendor (CNA)
NodeJS Node12.*Vendor (CNA)
NodeJS Node13.*Vendor (CNA)
NodeJS Node14.*Vendor (CNA)
NodeJS Node15.*Vendor (CNA)
NodeJS Node16.*Vendor (CNA)
NodeJS Node17.*Vendor (CNA)
NodeJS Node18.20.4Vendor (CNA)
NodeJS Node19.*Vendor (CNA)
NodeJS Node20.15.1Vendor (CNA)
NodeJS Node21.*Vendor (CNA)
NodeJS Node22.4.1Vendor (CNA)
NodeJS Node4.*Vendor (CNA)
NodeJS Node5.*Vendor (CNA)
NodeJS Node6.*Vendor (CNA)
NodeJS Node7.*Vendor (CNA)
NodeJS Node8.*Vendor (CNA)
NodeJS Node9.*Vendor (CNA)
almalinux:nodejs1:20.16.0-1.module_el8.10.0+3882+e12e42db · AlmaLinux:8Package registry (OSV)
almalinux:nodejs-devel1:20.16.0-1.module_el8.10.0+3882+e12e42db · AlmaLinux:8Package registry (OSV)
almalinux:nodejs-docs1:20.16.0-1.module_el8.10.0+3882+e12e42db · AlmaLinux:8Package registry (OSV)
almalinux:nodejs-full-i18n1:20.16.0-1.module_el8.10.0+3882+e12e42db · AlmaLinux:8Package registry (OSV)
almalinux:nodejs-nodemon3.0.1-1.module_el8.9.0+3731+490e3ce5 · AlmaLinux:8Package registry (OSV)
almalinux:nodejs-packaging2021.06-4.module_el8.9.0+3775+d8460d35 · AlmaLinux:8Package registry (OSV)
almalinux:nodejs-packaging-bundler2021.06-4.module_el8.9.0+3775+d8460d35 · AlmaLinux:8Package registry (OSV)
almalinux:npm1:10.8.1-1.20.16.0.1.module_el8.10.0+3882+e12e42db · AlmaLinux:8Package registry (OSV)
alpine:nodejs20.15.1-r0 · Alpine:v3.19Package registry (OSV)
debian:nodejs18.20.4+dfsg-1~deb12u1 · Debian:12Package registry (OSV)
opensuse:nodejs1818.20.4-150400.9.24.2 · openSUSE:Leap 15.5Package registry (OSV)

+20

Exploit status

No known public exploit

No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

No dated events beyond publication.

EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

  • CVE-2023-3933361 days apartMaliciously crafted export names in an imported WebAssembly module can inject JavaScript code.
    21Monitor

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

The product’s vendor appears in a public program. Matched by name; verify the scope text in the program.

Technical details

Attack conditions

  • Someone with local access to the system can trigger it.
  • No account or password is required.
  • A user must open a link or visit a page.
  • Special conditions such as timing or configuration are required.

If successful

Confidentiality
low · data can be read
Integrity
high · data or configuration can be modified
Availability
high · the service can be disrupted
Attack vector
Local
Attack complexity
High
Privileges required
None
User interaction
Required
Scope
Unchanged
Confidentiality impact
Low
Integrity impact
High
Availability impact
High

CVSS vector

CVSS:3.0/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:H

nvd-secondary

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records