Description
A vulnerability has been identified in Node.js, affecting users of the experimental permission model when the --allow-fs-read flag is used. This flaw arises from an inadequate permission model that fails to restrict file stats through the fs.lstat API. As a result, malicious actors can retrieve stats from files that they do not have explicit read access to. This vulnerability 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.
Product status
4.0 (semver) before 4.*
5.0 (semver) before 5.*
6.0 (semver) before 6.*
7.0 (semver) before 7.*
8.0 (semver) before 8.*
9.0 (semver) before 9.*
10.0 (semver) before 10.*
11.0 (semver) before 11.*
12.0 (semver) before 12.*
13.0 (semver) before 13.*
14.0 (semver) before 14.*
15.0 (semver) before 15.*
16.0 (semver) before 16.*
17.0 (semver) before 17.*
19.0 (semver) before 19.*
20.0 (semver) before 20.15.1
21.0 (semver) before 21.*
22.0 (semver) before 22.4.1
References
www.openwall.com/lists/oss-security/2024/07/11/6
www.openwall.com/lists/oss-security/2024/07/19/3
security.netapp.com/advisory/ntap-20240816-0007/
www.openwall.com/lists/oss-security/2024/07/11/6
www.openwall.com/lists/oss-security/2024/07/19/3