cveboard RSS feed

CVE-2024-21896

CVE.org · Published

Historical CVEsJSONAI instructions

Record status
Published
Identifier year (not publication year)
2024
Source publication
Source updated
Imported by cveboard
Source snapshot
cve_2026-10-24_midnight_baseline ·

Plain text

CNA source text (English)

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.

Scoped product and version facts

Fix information unknown; no fixed version is derived here. Missing information does not prove that no fix exists.

Exploitation unknown; this catalogue does not assess exploitation.

Node

Vendor
NodeJS
Product
Node
Platforms
Unknown
Default status
unaffected
Node · Scoped product and version facts
Version (version)Status (status)Version scheme (versionType)Exclusive end (lessThan)Inclusive end (lessThanOrEqual)Status changes (at → status)
4.0affectedsemver4.*UnavailableNone listed
5.0affectedsemver5.*UnavailableNone listed
6.0affectedsemver6.*UnavailableNone listed
7.0affectedsemver7.*UnavailableNone listed
8.0affectedsemver8.*UnavailableNone listed
9.0affectedsemver9.*UnavailableNone listed
10.0affectedsemver10.*UnavailableNone listed
11.0affectedsemver11.*UnavailableNone listed
12.0affectedsemver12.*UnavailableNone listed
13.0affectedsemver13.*UnavailableNone listed
14.0affectedsemver14.*UnavailableNone listed
15.0affectedsemver15.*UnavailableNone listed
16.0affectedsemver16.*UnavailableNone listed
17.0affectedsemver17.*UnavailableNone listed
19.0affectedsemver19.*UnavailableNone listed
20.0affectedsemver20.11.1UnavailableNone listed
21.0affectedsemver21.6.2UnavailableNone listed