Vulnerabilidades / CVE-2022-24720

crítica

CVE-2022-24720

image_processing is an image processing wrapper for libvips and ImageM ...

Publicada Modificada CWE 20
En la Trivy database desde, como mínimo, el 24 oct 2026, 07:11 UTCNo consta cuándo entró antes de ese build.

Severidad por fuente

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GHSA9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

La etiqueta propia de Trivy es CRITICAL. Crítica según NVD, GHSA, Ruby Advisory DB. Más baja según Ubuntu (media).

Descripción

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.

Paquetes afectados y versiones corregidas

FuentePaqueteCorregido en
rubygems::GitHub Security Advisory RubyGemsimage_processing1.12.2
rubygems::Ruby Advisory Databaseimage_processing>= 1.12.2
debian 11ruby-image-processing1.10.3-1+deb11u1
debian 12ruby-image-processing1.10.3-2
echoruby-image-processing1.10.3-2
rapidfort ubuntu 20.04ruby-image-processing0:1.10.3-1ubuntu0.20.04.1
rapidfort ubuntu 22.04ruby-image-processing0:1.10.3-1ubuntu0.20.04.1
rapidfort ubuntu 24.04ruby-image-processing0:1.10.3-1ubuntu0.20.04.1
ubuntu 20.04ruby-image-processing1.10.3-1ubuntu0.20.04.1
ubuntu 20.04-ESMruby-image-processing1.10.3-1ubuntu0.20.04.1
ubuntu 22.04ruby-image-processing1.10.3-1ubuntu0.22.04.1

Referencias

Las 9 referencias

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.