First published: Tue Mar 01 2022(Updated: )
image_processing is an image processing wrapper for libvips and ImageMagick/GraphicsMagick. Prior to version 1.12.2, using the `#apply` method from image_processing to apply a series of operations that are coming from unsanitized user input allows the attacker to execute shell commands. This method is called internally by Active Storage variants, so Active Storage is vulnerable as well. The vulnerability has been fixed in version 1.12.2 of image_processing. As a workaround, users who process based on user input should always sanitize the user input by allowing only a constrained set of operations.
Credit: security-advisories@github.com security-advisories@github.com
Affected Software | Affected Version | How to fix |
---|---|---|
debian/ruby-image-processing | 1.10.3-1+deb11u1 1.10.3-3 | |
Image Processing Project Image Processing | <1.12.2 | |
Debian Debian Linux | =11.0 | |
ubuntu/ruby-image-processing | <1.10.3-1ubuntu0.20.04.1 | 1.10.3-1ubuntu0.20.04.1 |
ubuntu/ruby-image-processing | <1.10.3-1ubuntu0.22.04.1 | 1.10.3-1ubuntu0.22.04.1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.