VULNERABILITY INTELLIGENCE
CVE-2024-21891
CVSS score8.8 HIGH
EPSS probability1.24%
CISA KEVNot currently listed
Published2024-02-20
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
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.
Weakness classification
- nvd@nist.gov: CWE-22
- 134c704f-9b21-4f2e-91b3-4a467353bcc0: CWE-22
Primary references
- support@hackerone.com — Mailing List, Third Party Advisory
- support@hackerone.com — Issue Tracking, Third Party Advisory
- support@hackerone.com — Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Mailing List, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Issue Tracking, Third Party Advisory
- af854a3a-2127-422b-91ae-364da2661108 — Third Party Advisory