ADVISORIES

CVE Program

CNA-CVE-2024-22020

Details

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 packages

EcosystemPackageAffected versions
Node.jsnode
From 4.0 before 5
From 5.0 before 6
From 6.0 before 7
From 7.0 before 8
From 8.0 before 9
From 9.0 before 10
From 10.0 before 11
From 11.0 before 12
From 12.0 before 13
From 13.0 before 14
From 14.0 before 15
From 15.0 before 16
From 16.0 before 17
From 17.0 before 18
From 18.0 before 18.20.4 (fixed in 18.20.4)
From 19.0 before 20
From 20.0 before 20.15.1 (fixed in 20.15.1)
From 21.0 before 22
From 22.0 before 22.4.1 (fixed in 22.4.1)

References