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.
Metrics
Affected Vendors & Products
References
History
Wed, 12 Feb 2025 15:15:00 +0000
Type | Values Removed | Values Added |
---|---|---|
First Time appeared |
Nodejs
Nodejs node.js |
|
Weaknesses | NVD-CWE-Other | |
CPEs | cpe:2.3:a:nodejs:node.js:*:*:*:*:*:*:*:* | |
Vendors & Products |
Nodejs
Nodejs node.js |
|
Metrics |
cvssV3_1
|
cvssV3_1
|
Wed, 30 Oct 2024 18:15:00 +0000
Type | Values Removed | Values Added |
---|---|---|
Metrics |
ssvc
|

Status: PUBLISHED
Assigner: hackerone
Published:
Updated: 2025-02-13T17:33:21.694Z
Reserved: 2024-01-03T01:04:06.539Z
Link: CVE-2024-21890

Updated: 2024-08-01T22:35:33.424Z

Status : Analyzed
Published: 2024-02-20T02:15:50.120
Modified: 2025-02-12T14:59:58.097
Link: CVE-2024-21890
