2084AI Security Observatory

CVE

CVE-2024-21891

CVE-2024-21891HIGH 8.8EPSS 70%

CNA description

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, the permission model is an experimental feature of Node.js.

Affected versions

All Node.js vulnerabilities →

  • ≥ 21.0.0, < 21.6.2Fixed in 21.6.2
  • ≥ 20.0.0, < 20.11.1Fixed in 20.11.1

Distribution packages (Debian, Ubuntu, Red Hat…) backport fixes without changing the upstream version: check your distribution’s advisory as well.

Data: NVD (public domain), CISA KEV (CC0), FIRST EPSS, OSV.dev / GitHub Advisory Database (CC-BY 4.0) · This database lists affected versions and fixes only. It never hosts or links exploit code.