BREACHSPIDER
CVE databaseVendorsIntelResearchFeaturesDevelopersDocsPricingSign inStart free trial

CVE-2024-21896 in Nodejs and 1 more product

Critical 9.8 Industrial / OT

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.

Affects 2 products from 2 vendors. Description from NVD and MITRE.

CVSS 3.19.8
EPSS1.3%
EPSS percentile71th

Remotely exploitable over the network, low complexity, no authentication required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Nodejs Nodejs 21.6.1 ≥ 20.0.0, < 20.11.1 ≥ 21.0.0, < 21.6.2
Nodejs Node.Js 21.6.1 ≥ 20.0.0, < 20.11.1 ≥ 21.0.0, < 21.6.2
Siemens — —
Siemens Sinec Ins < 1.0 SP2 Update 3

Fix and vendor advisory

  • SINEC INS: Update to V1.0 SP2 Update 3 or later version

Source: ICSA-24-319-08

View Vendor Advisory →

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Record details

CVE IDCVE-2024-21896
BreachSpider IDBS-2024-GLOBAL-051976-C
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Published2024-02-20
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Compensating controls AI-drafted, review before use

Implement strict input validation and sanitization for all user-provided paths. Use a secure coding practice that avoids the use of experimental features in production environments. Regularly update and patch Node.js to the latest stable version.

NERC CIP: CIP-007 CIP-007-R2

IEC 62443: SR 7.6

Not validated for your network. A compensating control does not replace the vendor fix.

Check devices from your own code or AI agent: free 14-day trial

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.