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.
Metrics
Affected Vendors & Products
References
History
No history.
MITRE
Status: PUBLISHED
Assigner: GitHub_M
Published: 2022-03-01T00:00:00
Updated: 2024-08-03T04:20:49.868Z
Reserved: 2022-02-10T00:00:00
Link: CVE-2022-24720
Vulnrichment
No data.
NVD
Status : Modified
Published: 2022-03-01T23:15:08.993
Modified: 2024-11-21T06:50:56.890
Link: CVE-2022-24720
Redhat
No data.