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.
History

No history.

cve-icon MITRE

Status: PUBLISHED

Assigner: hackerone

Published: 2024-02-20T01:31:08.153Z

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

Reserved: 2024-01-03T01:04:06.539Z

Link: CVE-2024-21890

cve-icon Vulnrichment

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

cve-icon NVD

Status : Awaiting Analysis

Published: 2024-02-20T02:15:50.120

Modified: 2024-05-01T18:15:13.430

Link: CVE-2024-21890

cve-icon Redhat

Severity : Moderate

Publid Date: 2024-02-19T00:00:00Z

Links: CVE-2024-21890 - Bugzilla