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
Advisories
| Source | ID | Title |
|---|---|---|
Debian DSA |
DSA-5310-1 | ruby-image-processing security update |
EUVD |
EUVD-2022-1412 | 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. |
Github GHSA |
GHSA-cxf7-qrc5-9446 | Remote shell execution vulnerability in image_processing |
Ubuntu USN |
USN-6675-1 | ImageProcessing vulnerability |
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Tue, 22 Apr 2025 19:15:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
Status: PUBLISHED
Assigner: GitHub_M
Published:
Updated: 2025-04-22T18:21:17.800Z
Reserved: 2022-02-10T00:00:00.000Z
Link: CVE-2022-24720
Updated: 2024-08-03T04:20:49.868Z
Status : Modified
Published: 2022-03-01T23:15:08.993
Modified: 2024-11-21T06:50:56.890
Link: CVE-2022-24720
No data.
OpenCVE Enrichment
No data.
Debian DSA
EUVD
Github GHSA
Ubuntu USN