CVE-2022-24720

CVSS V2 High 10 CVSS V3 Critical 9.8
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.
Overview
  • CVE ID
  • CVE-2022-24720
  • Assigner
  • security-advisories@github.com
  • Vulnerability Status
  • Analyzed
  • Published Version
  • 2022-03-01T23:15:08
  • Last Modified Date
  • 2023-02-22T17:49:00
CPE Configuration (Product)
CPE Vulnerable Operator Version Start Version End
cpe:2.3:a:image_processing_project:image_processing:*:*:*:*:*:ruby:*:* 1 OR 1.12.2
CVSS Version 2
  • Version
  • 2.0
  • Vector String
  • AV:N/AC:L/Au:N/C:C/I:C/A:C
  • Access Vector
  • NETWORK
  • Access Compatibility
  • LOW
  • Authentication
  • NONE
  • Confidentiality Impact
  • COMPLETE
  • Integrity Impact
  • COMPLETE
  • Availability Impact
  • COMPLETE
  • Base Score
  • 10
  • Severity
  • HIGH
  • Exploitability Score
  • 10
  • Impact Score
  • 10
CVSS Version 3
  • Version
  • 3.1
  • Vector String
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
  • Attack Vector
  • NETWORK
  • Attack Compatibility
  • LOW
  • Privileges Required
  • NONE
  • User Interaction
  • NONE
  • Scope
  • UNCHANGED
  • Confidentiality Impact
  • HIGH
  • Availability Impact
  • HIGH
  • Base Score
  • 9.8
  • Base Severity
  • CRITICAL
  • Exploitability Score
  • 3.9
  • Impact Score
  • 5.9
History
Created Old Value New Value Data Type Notes
2022-05-10 15:46:47 Added to TrackCVE
2022-12-06 11:06:26 2022-03-01T23:15Z 2022-03-01T23:15:08 CVE Published Date updated
2022-12-06 11:06:26 2022-03-09T17:58:52 CVE Modified Date updated
2022-12-06 11:06:26 Analyzed Vulnerability Status updated
2022-12-31 18:14:57 2022-12-31T17:15:09 CVE Modified Date updated
2022-12-31 18:14:57 Analyzed Modified Vulnerability Status updated
2022-12-31 18:14:57 Weakness Enumeration update
2022-12-31 18:14:57 References updated
2023-01-09 20:17:53 Modified Undergoing Analysis Vulnerability Status updated
2023-02-22 19:13:12 2023-02-22T17:49:00 CVE Modified Date updated
2023-02-22 19:13:12 Undergoing Analysis Analyzed Vulnerability Status updated