UBUNTU-CVE-2024-21890
Advisory lineage Upstream: 1 Downstream: 0
Upstream
Published: 20 Feb 2024, 02:15
Last modified:20 May 2026, 16:16
Vulnerability Summary
Overall Risk (default)
medium
26/100 CVSS Score
6.5 MEDIUM
3.1 (osv_ubuntu)
EPSS Score
No data
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected
Timeline
20 Feb 2024, 02:15
Published
Vulnerability first disclosed
20 May 2026, 16:16
Last Modified
Vulnerability information updated
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.
CVSS Metrics
- v3.1•MEDIUM•Score: 6.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
- v3.0•MEDIUM•Score: 5CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
Affected Systems
- ubuntu•nodejs
all | all
References (4)
- https://ubuntu.com/security/CVE-2024-21890
- https://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
- https://www.cve.org/CVERecord?id=CVE-2024-21890
- https://www.openwall.com/lists/oss-security/2024/03/11/1