Vendors › Microsoft

MICROSOFT-CVE-2024-21896

Critical (9.8) EPSS 1.3% Microsoft · Azure

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.

A flaw in Azure Linux could let an attacker exploit the flaw to compromise the affected component.

Published2024-02-13
Updated2026-11-14
Affectedazl3 nodejs 20.14.0-1 on Azure Linux 3.0; azl3 nodejs 20.10.0-2 on Azure Linux 3.0
FixInstall the latest Microsoft Security Update for the affected product.
Vendor advisoryhttps://msrc.microsoft.com/update-guide/vulnerability/CVE-2024-21896

CVEs (1)

CVECWETypeImpactLinks
CVE-2024-21896———NVD · CVE.org · EUVD

CWE, type and impact come from the NVD enrichment pass; unfilled rows are pending enrichment.

Same CVE in other advisories

Open in the CVEMesh app Create a free account

Track this advisory against your own stack — add your assets and CVEMesh shows which advisories actually apply to the versions you run.

CVEMesh aggregates public vendor advisories as guidance; always verify against the vendor's official advisory before patching or upgrading.