Vendors › Node.js

CVE-2024-21890

Medium (no CVSS assigned) EPSS 0.9% Node.js · Node.js

Improper handling of wildcards in --allow-fs-read and --allow-fs-write

The permission model treats wildcards in --allow-fs-read and --allow-fs-write as matching everything after their position, not just as a final character, so a narrow-looking rule can grant broad filesystem access.

Published2024-02-14
Updated2024-02-14
AffectedNode.js 21.x, 20.x, 18.x
FixUpgrade to v21.6.2, v20.11.1, v18.19.1 (first fixed release per supported branch).
Vendor advisoryhttps://nodejs.org/en/blog/vulnerability/february-2024-security-releases#improper-handling-of-wildcards-in---allow-fs-read-and---allow-fs-write-cve-2024-21890---medium

CVEs (1)

CVECWETypeImpactLinks
CVE-2024-21890———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.