6.5

CVE-2024-22020: nodejs node Improper Control of Generation of Code

Deferred
AliasesALPINE-CVE-2024-22020UBUNTU-CVE-2024-22020DEBIAN-CVE-2024-22020
Published 09-07-2024Last modified 30-04-2025

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.

Priority
Routine

Not severe (CVSS 6.5, local access); no exploitation reported by the 5 checked sources

Source freshness unavailable

How is this decided?
CVSS score
6.5/10
010
Medium · v3.0 (CVE.org)
EPSS score
1.10%
0%100%
Low · 0.00 pp in 30 days
KEVNot listedNot listed by any tracked catalog.
RansomwareNot flaggedNo ransomware use recorded.
Public exploits0No public exploits recorded

Advisory lineage

Upstream 0 · Downstream 14 · Related 13

Timeline

  1. 09-07-2024
    PublishedVulnerability first disclosed.
  2. 30-04-2025
    Last 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

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

04-10-202603-11-2026

Known exploited

Compare KEV catalogs
CISA KEV

Not in the CISA KEV catalog.

ENISA CNW

Not in the ENISA CNW catalog.

CIRCL

Not in the CIRCL catalog.

Public exploits

0 found

No public exploits indexed.

Weaknesses

CWE · root cause

Affected systems

Version check

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

References

14 links
Show all 14 references