ADVISORIES

Ubuntu CVE Tracker

UBUNTU-CVE-2024-21896

This advisory was withdrawn on 7 April 2026.

No fix available CVE-2024-21896

Details

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.

Affected packages

EcosystemPackageAffected versions
Ubuntu:25.10nodejs
All versions, no fix listed

References