All vulnerabilities

Servers and applications

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

Severity
Medium 6.5
Published
20 Feb 2024
Last changed
17 Jun 2026
Added to UpHeron
21 Oct 2026
Fixed in
20.11.1, 21.6.2
Sources
NVD

Affected software

SoftwareAffected versions
Node.jsServers and applications · cpe:a:nodejs:node.js
  • From 20.0.0 before 20.11.1
  • From 21.0.0 before 21.6.2

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2024-21890
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2024-21890