cvedb.io
CVE-2022-24720
CRITICAL · CVSS 9.8
EPSS exploitation probability: 0%
Published 2022-03-01T23:15:08.993 · Last modified 2026-06-17T04:32:22.093

Summary

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.

Affected products

image_processing_project — image_processing

Does this affect you?

Add your gear to cvedb and we'll alert you only when image_processing_project ships something exploited.

Check my exposure →

References

This product uses data from the NVD API but is not endorsed or certified by the NVD. Informational only; not professional security advice.