CVE-2022-24720 Details
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.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 22, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/janko/image_processing/commit/038e4574e8f4f4b636a62394e09983c71980dada | CVE | Patch |
| https://github.com/janko/image_processing/security/advisories/GHSA-cxf7-qrc5-9446 | CVE | ExploitVendor Advisory |
| https://www.debian.org/security/2022/dsa-5310 | CVE | Third Party Advisory |
| https://github.com/janko/image_processing/commit/038e4574e8f4f4b636a62394e09983c71980dada | [email protected] | Patch |
| https://github.com/janko/image_processing/security/advisories/GHSA-cxf7-qrc5-9446 | [email protected] | ExploitVendor Advisory |
| https://www.debian.org/security/2022/dsa-5310 | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| NVD-CWE-Other | Weakness Not in a Standard CWE Category | [email protected] |
| CWE-20 | Improper Input Validation | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| image processing project image processing | < 1.12.2 |
CPE
Remediation
| |
| debian debian linux | 11.0 |
CPE
Remediation
| |
Change History
8 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Jul 3, 2023 | Reanalysis | [email protected] |
| Feb 22, 2023 | Modified Analysis | [email protected] |
| Dec 31, 2022 | CVE Modified | [email protected] |
| Mar 9, 2022 | Initial Analysis | [email protected] |