Improper handling of wildcards in --allow-fs-read and --allow-fs-write
Team Summary
Official summary from Internet Bug Bounty
Improper handling of wildcards in --allow-fs-read and --allow-fs-write (CVE-2024-21890) - (Medium) 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/. Impacts: This misleading documentation affects all users using the experimental permission model in active release lines: 20.x and 21.x. Please note that at the time this CVE was issued, the permission model is an experimental feature of Node.js. Thank you, to Tobias Nießen for reporting this vulnerability and thank you Rafael Gonzaga for fixing it. Full Security Advisory: https://nodejs.org/en/blog/vulnerability/february-2024-security-releases
Vulnerability Details
Technical details and impact analysis
Report Details
Additional information and metadata
State
Closed
Substate
Resolved
Bounty
$1290.00
Submitted
Weakness
Improper Access Control - Generic