CVE-2024-21890
MEDIUM 6.5CVSS 3.1The 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.
- Published
- 20 Feb 2024
- Last modified
- 17 Jun 2026
- Assigned by
- support@hackerone.com
- NVD status
- Analyzed
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
| NVD | support@hackerone.com (Secondary) | CVSS 3.0 | MEDIUM 5.0 | CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | nodejs | node.jscpe:2.3:a:nodejs:node.js:*:*:*:*:*:*:*:* |
>= 20.0.0, < 20.11.1 | 20.11.1 |
| NVD | nodejs | node.jscpe:2.3:a:nodejs:node.js:*:*:*:*:*:*:*:* |
>= 21.0.0, < 21.6.2 | 21.6.2 |
References
- http://www.openwall.com/lists/oss-security/2024/03/11/1 · Mailing List, Third Party Advisory
- https://hackerone.com/reports/2257156 · Issue Tracking, Third Party Advisory
- https://security.netapp.com/advisory/ntap-20240315-0002/ · Third Party Advisory
History
- 25 Nov 2026 20:54 UTC · NVD: first stored (published 20 Feb 2024)