Live threats

All CVEs / Image Processing Project

CVE-2022-24720Image Processing Project Image Processing

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
2.2%
probability of exploitation in 30 days · percentile 83
Auth required
No
Published
Mar 1, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-20
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Image Processing.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
RubyGems image_processing < 1.12.2 1.12.2 gem "image_processing", ">= 1.12.2"

Per OSV / GitHub Advisories (GHSA-cxf7-qrc5-9446). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
image_processing_projectimage_processing< 1.12.2
debiandebian_linux11.0

Official sources

References

Links published by the sources. Open them with care.