CVE-2024-21890

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

Medium · published February 20, 2024

CVSS v3.0
5.0
EPSS
1%
Percentile
60.7
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.0
5.0 · MEDIUM
Vector
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
CVSS v4.0
Not supplied
EPSS
0.00945 · 60.7th percentile
Published
2024-02-20T01:31Z
EPSS history
Timeline
  • 20 FEB 01:31Z
    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
    cvelistv5