CVE-2022-24720 The advisory has been revoked - it doesn't affect any version of package ruby-image-processing  (opens in a new tab)


Threat Intelligence

EPSS
2.69% (87th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-DEBIAN13-RUBYIMAGEPROCESSING-5695102
  • published3 Mar 2022
  • disclosed1 Mar 2022

Introduced: 1 Mar 2022

CVE-2022-24720  (opens in a new tab)

Amendment

The Debian security team deemed this advisory irrelevant for Debian:13.

NVD Description

Note: Versions mentioned in the description apply only to the upstream ruby-image-processing package and not the ruby-image-processing package as distributed by Debian.

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.