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, 30 Oct 2024 18:15:00 +0000
Type | Values Removed | Values Added |
---|---|---|
Metrics |
ssvc
|
MITRE
Status: PUBLISHED
Assigner: hackerone
Published: 2024-02-20T01:31:08.153Z
Updated: 2024-10-30T17:28:51.558Z
Reserved: 2024-01-03T01:04:06.539Z
Link: CVE-2024-21890
Vulnrichment
Updated: 2024-08-01T22:35:33.424Z
NVD
Status : Awaiting Analysis
Published: 2024-02-20T02:15:50.120
Modified: 2024-11-21T08:55:12.183
Link: CVE-2024-21890
Redhat