CVE-2022-24720
Summary
| CVE | CVE-2022-24720 |
|---|---|
| State | PUBLIC |
| Assigner | [email protected] |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2022-03-01 23:15:00 UTC |
| Updated | 2023-07-03 20:35:00 UTC |
| 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. |
Risk And Classification
Problem Types: NVD-CWE-Other
NVD Known Affected Configurations (CPE 2.3)
| Type | Vendor | Product | Version | Update | Edition | Language |
|---|---|---|---|---|---|---|
| Operating System | Debian | Debian Linux | 11.0 | All | All | All |
| Application | Image Processing Project | Image Processing | All | All | All | All |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| Prevent remote shell execution in `#apply` · janko/image_processing@038e457 · GitHub | MISC | github.com | |
| Remote shell execution vulnerability in ImageProcessing · Advisory · janko/image_processing · GitHub | CONFIRM | github.com | |
| Debian -- Security Information -- DSA-5310-1 ruby-image-processing | DEBIAN | www.debian.org | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
No vendor comments have been submitted for this CVE.