CVE-2024-21890

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
Link Resource
http://www.openwall.com/lists/oss-security/2024/03/11/1 Mailing List Third Party Advisory
https://hackerone.com/reports/2257156 Issue Tracking Third Party Advisory
https://security.netapp.com/advisory/ntap-20240315-0002/ Third Party Advisory
http://www.openwall.com/lists/oss-security/2024/03/11/1 Mailing List Third Party Advisory
https://hackerone.com/reports/2257156 Issue Tracking Third Party Advisory
https://security.netapp.com/advisory/ntap-20240315-0002/ Third Party Advisory
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:nodejs:node.js:*:*:*:*:*:*:*:*
cpe:2.3:a:nodejs:node.js:*:*:*:*:*:*:*:*

History

12 Feb 2025, 14:59

Type Values Removed Values Added
CVSS v2 : unknown
v3 : 5.0
v2 : unknown
v3 : 6.5
First Time Nodejs node.js
Nodejs
CWE NVD-CWE-Other
CPE cpe:2.3:a:nodejs:node.js:*:*:*:*:*:*:*:*
References () http://www.openwall.com/lists/oss-security/2024/03/11/1 - () http://www.openwall.com/lists/oss-security/2024/03/11/1 - Mailing List, Third Party Advisory
References () https://hackerone.com/reports/2257156 - () https://hackerone.com/reports/2257156 - Issue Tracking, Third Party Advisory
References () https://security.netapp.com/advisory/ntap-20240315-0002/ - () https://security.netapp.com/advisory/ntap-20240315-0002/ - Third Party Advisory

Information

Published : 2024-02-20 02:15

Updated : 2025-02-12 14:59


NVD link : CVE-2024-21890

Mitre link : CVE-2024-21890

CVE.ORG link : CVE-2024-21890


JSON object : View

Products Affected

nodejs

  • node.js