Security mailing lists by PureSourceCode

CVE-2024-21890

MEDIUM 6.5CVSS 3.1

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.

Published
20 Feb 2024
Last modified
17 Jun 2026
Assigned by
support@hackerone.com
NVD status
Analyzed
Sources
NVDJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
NVD support@hackerone.com (Secondary) CVSS 3.0 MEDIUM 5.0 CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD nodejs node.js
cpe:2.3:a:nodejs:node.js:*:*:*:*:*:*:*:*
>= 20.0.0, < 20.11.1 20.11.1
NVD nodejs node.js
cpe:2.3:a:nodejs:node.js:*:*:*:*:*:*:*:*
>= 21.0.0, < 21.6.2 21.6.2

References

History

  • 25 Nov 2026 20:54 UTC · NVD: first stored (published 20 Feb 2024)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.