CVE-2024-22020: nodejs node Improper Control of Generation of Code
Vulnerability summary
CVE-2024-22020 is a medium (CVSS 6.5) Improper Control of Generation of Code vulnerability in nodejs node. EPSS estimates a 1.10% chance of exploitation in the next 30 days, higher than 65.8% of scored vulnerabilities.
Not severe (CVSS 6.5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 14 · Related 13Timeline
- 09-07-2024PublishedVulnerability first disclosed.
- 30-04-2025Last modifiedVulnerability information updated.
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.
CVSS metrics
5 scores · 5 sources · 1 version- OSV · AlpineEcosystem advisory · calculated6.5MediumCVSS:3.0/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:H
- OSV · UbuntuEcosystem advisory · calculated6.5MediumCVSS:3.0/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:H
- OSV · DebianEcosystem advisory · calculated6.5MediumCVSS:3.0/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:H
- NVDNIST6.5MediumCVSS:3.0/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:H/A:H
EPSS trend
Probability
1.10%
Chance of exploitation in the next 30 days
Percentile
66%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.10% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: local access, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard6 products
- eco-nodejs-20.9.0All versions (No fix recorded)
- nodejs-16All versions (No fix recorded)
- nodejs-18< 18.20.4-r0
- nodejs-20< 20.15.1-r0
- nodejs-21All versions (No fix recorded)
Wolfi5 products
- nodejs-16All versions (No fix recorded)
- nodejs-18< 18.20.4-r0
- nodejs-20< 20.15.1-r0
- nodejs-21All versions (No fix recorded)
- nodejs-22< 22.4.1-r0
Alpine1 product
- nodejs< 20.15.1-r0
Debian1 product
- nodejs< 18.20.4+dfsg-1~deb12u1 | < 20.15.1+dfsg-1
Nodejs1 product
- node≥ 4.0, < 4.* | ≥ 5.0, < 5.* | ≥ 6.0, < 6.* | ≥ 7.0, < 7.* | ≥ 8.0, < 8.* | ≥ 9.0, < 9.* | ≥ 10.0, < 10.* | ≥ 11.0, < 11.* | ≥ 12.0, < 12.* | ≥ 13.0, < 13.* | ≥ 14.0, < 14.* | ≥ 15.0, < 15.* | ≥ 16.0, < 16.* | ≥ 17.0, < 17.* | ≥ 18.0, < 18.20.4 | ≥ 19.0, < 19.* | ≥ 20.0, < 20.15.1 | ≥ 21.0, < 21.* | ≥ 22.0, < 22.4.1
Ubuntu1 product
- nodejsAll versions (No fix recorded)
6 vendors · 15 products