Excessive privileges In nodejs
Description
A flaw in Node.js's permission model allows a file's access and modification timestamps to be changed via futimes() even when the process has only read permissions. Unlike utimes(), futimes() does not apply the expected write-permission checks, which means file metadata can be modified in read-only directories. This behavior could be used to alter timestamps in ways that obscure activity, reducing the reliability of logs. This vulnerability affects users of the permission model on Node.js v20, v22, v24, and v25.
Mitigation
Update Impact
Minimal update. May introduce new vulnerabilities or breaking changes.
Ecosystem | Component | Affected version | Patched versions |
|---|---|---|---|
alpine v3.22 | 22.22.0-r0 | ||
debian 13 | 20.19.2+dfsg-1+deb13u1 | ||
debian 14 | 22.22.0+dfsg+~cs22.19.6-1 | ||
alpine v3.23 | 24.13.0-r0 | ||
rpm rhel8 | 1:20.20.0-1.module+el8.10.0+23905+c49b2aec | ||
rpm rhel9 | 1:20.20.0-1.module+el9.7.0+23895+0637d423 | ||
rpm rhel10 | 1:24.13.0-1.el10_1 | ||
rpm rhel10 | 1:22.22.0-3.el10_1 | ||
alpine v3.21 | 22.22.2-r0 | ||
alpine v3.24 | 24.13.0-r0 |
1-10 of 11
10
Aliases
References