Node.js Data URL Import Bypass
CVE-2024-22020 Published on July 9, 2024

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.

NVD

Weakness Type

What is a Code Injection Vulnerability?

The software constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.

CVE-2024-22020 has been classified to as a Code Injection vulnerability or weakness.


Products Associated with CVE-2024-22020

stack.watch emails you whenever new vulnerabilities are published in Oracle or nodejs node.js. Just hit a watch button to start following.

 
 

Affected Versions

NodeJS Node: nodejs:

Exploit Probability

EPSS
0.13%
Percentile
32.76%

EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.