Vulnérabilités / CVE-2022-24720

critique

CVE-2022-24720

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

Publiée Modifiée CWE 20
Dans la Trivy database depuis au moins le 24 oct. 2026, 07:11 UTCLa date d'entrée avant ce build n'est pas enregistrée.

Sévérité par source

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

Le label propre à Trivy est CRITICAL. Critique selon NVD, GHSA, Ruby Advisory DB. Plus basse selon Ubuntu (moyenne).

Description

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.

Paquets affectés et versions corrigées

SourcePaquetCorrigé 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

Références

Les 9 références

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.