1
0
Fork 0
forked from fedi/mastodon
mastodon/lib
Pierre Bourdon 36bc90e8aa
blurhash_transcoder: prevent out-of-bound reads with <8bpp images ()
The Blurhash library used by Mastodon requires an input encoded as 24
bits raw RGB data. The conversion to raw RGB using Imagemagick did not
previously specify the desired bit depth. In some situations, this leads
Imagemagick to output in a pixel format using less bpp than expected.
This then manifested as segfaults of the Sidekiq process due to
out-of-bounds read, or potentially a (highly noisy) memory infoleak.

Fixes .
2022-11-11 07:45:16 +01:00
..
active_record Remove dependency on pluck_each gem () 2021-04-12 03:35:58 +02:00
assets png optimization(loss less) () 2022-11-01 15:06:52 +01:00
chewy/strategy Change search indexing to use batches to minimize resource usage () 2022-05-18 23:29:14 +02:00
devise Fix authentication before 2FA challenge () 2019-09-24 04:35:36 +02:00
generators Add post-deployment migration system () 2018-08-13 13:40:01 +02:00
json_ld Fixed code quality issues () 2021-01-31 21:26:09 +01:00
mastodon Bump version to 4.0.0rc2 () 2022-11-06 06:59:56 +01:00
paperclip blurhash_transcoder: prevent out-of-bound reads with <8bpp images () 2022-11-11 07:45:16 +01:00
rails Fix obsolete digitalocean.rake file breaking rake tasks () 2021-02-11 02:11:30 +01:00
redis Change Redis#exists calls to Redis#exists? to avoid deprecation warning () 2020-07-01 19:05:21 +02:00
sanitize_ext Prepare Mastodon for zeitwerk autoloader () 2021-03-19 02:42:43 +01:00
simple_navigation Add customizable user roles () 2022-07-05 02:41:40 +02:00
tasks Fix ENV () 2022-11-11 01:33:32 +01:00
templates Add post-deployment migration system () 2018-08-13 13:40:01 +02:00
terrapin Add Ruby 3.0 support () 2021-05-06 14:22:54 +02:00
webpacker Add subresource integrity for JS and CSS assets () 2020-11-06 11:56:31 +01:00
cli.rb Add ability for admins to delete canonical email blocks () 2021-12-17 23:02:14 +01:00
enumerable.rb Optimize map { ... }.compact calls () 2021-01-10 00:32:01 +01:00
exceptions.rb Improve error reporting and logging when processing remote accounts () 2022-09-20 23:30:26 +02:00