Post #4231938
2026-07-29 23:30 UTC
Wonder if this affects Mastodon, via oss-security earlier today: https://github.com/rails/rails/security/advisories/GHSA-xr9x-r78c-5hrm
"In its default configuration, a Rails application that displays image variants may allow an unauthenticated attacker to read arbitrary files from the server, including the process environment."
"An application is affected if it meets all of these requirements:
Uses libvips for Active Storage image processing. This is config.active_storage.variant_processor = :vips, which load_defaults 7.0 set and no later default has changed.
Allows image uploads from untrusted users."
#mastoadmin
Replies (1)
-
@alex@feed.yopp.me 2026-07-30 07:34
@galaxis@mastodon.infra.de looks like mastodon is not affected because they had vips version and support blocking untrusted media and blocking is enabled https://github.com/mastodon/mastodon/blob/ae4f80ee5721465dc55a08b70a9792e9db763459/config/initializers/vips.rb#L29