Vulnerability

CVE-2024-21890

mediumCVSS 3.1 6.5Published 20 Feb 2024

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

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.

Affected products

From the NVD's configuration data (CPE), vendor first.

  • Node.js node.js

References

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning