2084AI Security Observatory

CVE

CVE-2024-21890

CVE-2024-21890MED 6.5EPSS 62%

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