CVE-2024-21890

MEDIUM

Node.js 20.0.0-20.11.0 - Permission Model Bypass via Wildcard Path Misinterpretation

Title source: llm
STIX 2.1

Description

The Node.js Permission Model does not clarify in the documentation that wildcards should be only used as the last character of a file path. For example: ``` --allow-fs-read=/home/node/.ssh/*.pub ``` will ignore `pub` and give access to everything after `.ssh/`. This misleading documentation 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.

References (3)

Core 3
Core References
Mailing List, Third Party Advisory
http://www.openwall.com/lists/oss-security/2024/03/11/1
Issue Tracking, Third Party Advisory
https://hackerone.com/reports/2257156

Scores

CVSS v3 6.5
EPSS 0.0144
EPSS Percentile 81.0%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

CISA SSVC

Vulnrichment
Exploitation none
Automatable no
Technical Impact partial

Details

Status published
Products (1)
nodejs/node.js 20.0.0 - 20.11.1
Published Feb 20, 2024
Tracked Since Feb 18, 2026