🔒 Security update: uploaded images
This patch fixes a moderate severity issue on instances with S3 storage configured. The impact is limited to uploaded images, and we recommend upgrading.
A signed in user could remove an uploaded image that was not theirs: another user's profile picture, a space icon or the instance logo. No data could be read and no account could be accessed. A removed image can be uploaded again from settings.
Rallly now deletes a stored profile picture only when it belongs to the user making the change. (#3797)
Instances without the S3_* environment variables set are not affected. No configuration changes or migrations are needed.
Details are in GHSA-fc7p-4gcr-fr5f. Thanks to @immanuwell for the report.
What's Changed
- 🔒️ Only delete avatar objects the user uploaded (#3797)
Full Changelog: v4.17.1...v4.17.2