U.S. flag   An official website of the United States government
Dot gov

Official websites use .gov
A .gov website belongs to an official government organization in the United States.

Https

Secure .gov websites use HTTPS
A lock (Dot gov) or https:// means you've safely connected to the .gov website. Share sensitive information only on official, secure websites.

Vulnerability Change Records for CVE-2024-21896

Change History

New CVE Received by NIST 2/19/2024 9:15:50 PM

Action Type Old Value New Value
Added CVSS V3

								
							
							
						
HackerOne AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:N
Added Description

								
							
							
						
The permission model protects itself against path traversal attacks by calling path.resolve() on any paths given by the user. If the path is to be treated as a Buffer, the implementation uses Buffer.from() to obtain a Buffer from the result of path.resolve(). By monkey-patching Buffer internals, namely, Buffer.prototype.utf8Write, the application can modify the result of path.resolve(), which leads to a path traversal vulnerability.
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.
Added Reference

								
							
							
						
HackerOne https://hackerone.com/reports/2218653 [No types assigned]