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.
History

Tue, 22 Apr 2025 19:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published: 2022-03-01T00:00:00.000Z

Updated: 2025-04-22T18:21:17.800Z

Reserved: 2022-02-10T00:00:00.000Z

Link: CVE-2022-24720

cve-icon Vulnrichment

Updated: 2024-08-03T04:20:49.868Z

cve-icon NVD

Status : Modified

Published: 2022-03-01T23:15:08.993

Modified: 2024-11-21T06:50:56.890

Link: CVE-2022-24720

cve-icon Redhat

No data.