All vulnerabilities

Servers and applications

CVE-2024-21891

Node.js depends on multiple built-in utility functions to normalize paths provided to node:fs functions, which can be overwitten with user-defined implementations leading to filesystem permission model bypass through path traversal attack. This vulnerability 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,…

Severity
High 8.8
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-21891
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2024-21891