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.
| Published | 2024-02-13 |
| Updated | 2026-11-14 |
| Affected | azl3 nodejs 20.14.0-1 on Azure Linux 3.0; azl3 nodejs 20.10.0-2 on Azure Linux 3.0 |
| Fix | Install the latest Microsoft Security Update for the affected product. |
| Vendor advisory | https://msrc.microsoft.com/update-guide/vulnerability/CVE-2024-21896 |
CVEs (1)
| CVE | CWE | Type | Impact | Links |
|---|---|---|---|---|
| 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
- IBM-7173592 — IBM · Critical (9.8) · 2024-10-21
IBM Cognos Analytics is affected by multiple vulnerabilities - IBM-7170411 — IBM · Critical (9.9) · 2024-09-25
Multiple Vulnerabilities in IBM Cloud Pak for Multicloud Management - K000139578 — F5 · N/A (F5 products not affected) · 2024-05-10
Node.js vulnerability CVE-2024-21896 - RHSA-2024:1688 — Red Hat · High (8.1) · 2024-04-08
Red Hat Security Advisory: nodejs:20 security update - RHSA-2024:1687 — Red Hat · High (8.1) · 2024-04-08
Red Hat Security Advisory: nodejs:20 security update - NTAP-20240329-0002 — NetApp · Critical (9.8) · 2024-03-29
CVE-2024-21896 Node.js Vulnerability in NetApp Products - CVE-2024-21896 — Node.js · High (no CVSS assigned) · 2024-02-14
Path traversal by monkey-patching Buffer internals
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.