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

Wed, 12 Feb 2025 15:30:00 +0000

Type Values Removed Values Added
First Time appeared Nodejs
Nodejs node.js
CPEs cpe:2.3:a:nodejs:node.js:*:*:*:*:*:*:*:*
Vendors & Products Nodejs
Nodejs node.js
Metrics cvssV3_1

{'score': 6.6, 'vector': 'CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N'}

cvssV3_1

{'score': 8.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: hackerone

Published:

Updated: 2025-02-13T17:33:22.386Z

Reserved: 2024-01-03T01:04:06.539Z

Link: CVE-2024-21891

cve-icon Vulnrichment

Updated: 2024-08-01T22:35:33.379Z

cve-icon NVD

Status : Analyzed

Published: 2024-02-20T02:15:50.347

Modified: 2025-02-12T15:08:32.153

Link: CVE-2024-21891

cve-icon Redhat

Severity : Moderate

Publid Date: 2024-02-19T00:00:00Z

Links: CVE-2024-21891 - Bugzilla