CVE-2022-24720
Image Processing ADV-Shell Command Injection
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.
INFO
Published Date :
March 1, 2022, 11:15 p.m.
Last Modified :
July 3, 2023, 8:35 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
5.9
Exploitability Score :
3.9
Affected Products
The following products are affected by CVE-2022-24720
vulnerability.
Even if cvefeed.io
is aware of the exact versions of the
products
that
are
affected, the information is not represented in the table below.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2022-24720
.
URL | Resource |
---|---|
https://github.com/janko/image_processing/commit/038e4574e8f4f4b636a62394e09983c71980dada | Patch |
https://github.com/janko/image_processing/security/advisories/GHSA-cxf7-qrc5-9446 | Exploit Vendor Advisory |
https://www.debian.org/security/2022/dsa-5310 | Third Party Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2022-24720
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2022-24720
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by [email protected]
May. 14, 2024
Action Type Old Value New Value -
Reanalysis by [email protected]
Jul. 03, 2023
Action Type Old Value New Value Removed CWE NIST CWE-78 Added CWE NIST NVD-CWE-Other -
Modified Analysis by [email protected]
Feb. 22, 2023
Action Type Old Value New Value Changed Reference Type https://github.com/janko/image_processing/commit/038e4574e8f4f4b636a62394e09983c71980dada Patch, Third Party Advisory https://github.com/janko/image_processing/commit/038e4574e8f4f4b636a62394e09983c71980dada Patch Changed Reference Type https://github.com/janko/image_processing/security/advisories/GHSA-cxf7-qrc5-9446 Exploit, Third Party Advisory https://github.com/janko/image_processing/security/advisories/GHSA-cxf7-qrc5-9446 Exploit, Vendor Advisory Changed Reference Type https://www.debian.org/security/2022/dsa-5310 No Types Assigned https://www.debian.org/security/2022/dsa-5310 Third Party Advisory Added CPE Configuration OR *cpe:2.3:o:debian:debian_linux:11.0:*:*:*:*:*:*:* -
CVE Modified by [email protected]
Dec. 31, 2022
Action Type Old Value New Value Added Reference https://www.debian.org/security/2022/dsa-5310 [No Types Assigned] -
Initial Analysis by [email protected]
Mar. 09, 2022
Action Type Old Value New Value Added CVSS V2 NIST (AV:N/AC:L/Au:N/C:C/I:C/A:C) Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H Changed Reference Type https://github.com/janko/image_processing/commit/038e4574e8f4f4b636a62394e09983c71980dada No Types Assigned https://github.com/janko/image_processing/commit/038e4574e8f4f4b636a62394e09983c71980dada Patch, Third Party Advisory Changed Reference Type https://github.com/janko/image_processing/security/advisories/GHSA-cxf7-qrc5-9446 No Types Assigned https://github.com/janko/image_processing/security/advisories/GHSA-cxf7-qrc5-9446 Exploit, Third Party Advisory Added CWE NIST CWE-78 Added CPE Configuration OR *cpe:2.3:a:image_processing_project:image_processing:*:*:*:*:*:ruby:*:* versions up to (excluding) 1.12.2
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2022-24720
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2022-24720
weaknesses.
Exploit Prediction
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.
0.40 }} 0.06%
score
0.73992
percentile