CVE-2024-21890: nodejs node
Vulnerability summary
CVE-2024-21890 is a medium (CVSS 6.5) vulnerability in nodejs node. EPSS estimates a 0.95% chance of exploitation in the next 30 days, higher than 61.1% of scored vulnerabilities.
Not severe (CVSS 5, local access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 5 · Related 6Timeline
- 20-02-2024PublishedVulnerability first disclosed.
- 30-04-2025Last modifiedVulnerability information updated.
Description
The Node.js Permission Model does not clarify in the documentation that wildcards should be only used as the last character of a file path. For example: ``` --allow-fs-read=/home/node/.ssh/*.pub ``` will ignore `pub` and give access to everything after `.ssh/`. This misleading documentation affects all users using the experimental permission model in Node.js 20 and Node.js 21. Please note that at the time this CVE was issued, the permission model is an experimental feature of Node.js.
CVSS metrics
7 scores · 5 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated6.5MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
- OSV · UbuntuEcosystem advisory · calculated5.0MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- OSV · WolfiEcosystem advisory · calculated5.0MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- OSV · ChainguardEcosystem advisory · calculated5.0MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
- NVDNIST5.0MediumCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS trend
Probability
0.95%
Chance of exploitation in the next 30 days
Percentile
61%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.95% 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 causeNo weakness data has been published for this record.
Affected systems
Known conditions: local access, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard3 products
- eco-nodejs-20.9.0All versions (No fix recorded)
- nodejs-16< 16.20.2-r11
- nodejs-18All versions (No fix recorded)
Nodejs2 products
- 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.* | ≥ 19.0, < 19.* | ≥ 20.0, < 20.11.1 | ≥ 21.0, < 21.6.2
- node.js≥ 20.0.0, < 20.11.1 | ≥ 21.0.0, < 21.6.2
Wolfi2 products
- nodejs-16< 16.20.2-r11
- nodejs-18All versions (No fix recorded)
Ubuntu1 product
- nodejsAll versions (No fix recorded)
4 vendors · 8 products