Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34.4k
permission: fix chmod,chown,link, and lutimes#47529
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
permission: fix chmod,chown,link, and lutimes #47529
Uh oh!
There was an error while loading. Please reload this page.
Conversation
RafaelGSS commented Apr 12, 2023 • edited
Loading Uh oh!
There was an error while loading. Please reload this page.
edited
Uh oh!
There was an error while loading. Please reload this page.
Signed-off-by: RafaelGSS <[email protected]>
nodejs-github-bot commented Apr 12, 2023
marco-ippolito left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
nodejs-github-bot commented Apr 13, 2023
nodejs-github-bot commented Apr 13, 2023
Fast-track has been requested by @RafaelGSS. Please 👍 to approve. |
RafaelGSS commented Apr 13, 2023
I need to include it on v20.0.0 proposal for security reasons. |
tniessen left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The title and description only mention chmod and chown, but based on the diff, it looks like there are also issues with link and lutimes.
tniessen commented Apr 13, 2023
We've previously delayed releasing the permission model whenever a new vulnerability was found. #44004 (comment) suggested a "a baking-time of 1 release for this feature (after landing all the patches)". It's not semver-major so we could land it in 20.1.0 instead, but I assume that's not really an option because 20.x is picking up everything from the main branch. |
RafaelGSS commented Apr 13, 2023
To not land it on v20.x we would need a revert PR to all affected PRs, which I'm not considering as an option for now. |
nodejs-github-bot commented Apr 13, 2023
Landed in 1323992 |
Signed-off-by: RafaelGSS <[email protected]> PR-URL: #47529 Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Marco Ippolito <[email protected]>
Signed-off-by: RafaelGSS <[email protected]> PR-URL: #47529 Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Marco Ippolito <[email protected]>
Signed-off-by: RafaelGSS <[email protected]> PR-URL: #47529 Reviewed-By: Benjamin Gruenbaum <[email protected]> Reviewed-By: Marco Ippolito <[email protected]>
fs.chmod,fs.chown,fs.link, andfs.lutimeswasn't handled properly by the permission model. This PR fixes it and increase the coverage of all file system API using permission modelcc: @nodejs/security-wg