Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. image_processing
  4. ›
  5. CVE-2022-24720

CVE-2022-24720: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

March 1, 2022 (updated July 3, 2023)

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.

References

  • github.com/advisories/GHSA-cxf7-qrc5-9446

Code Behaviors & Features

Detect and mitigate CVE-2022-24720 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.12.2

Fixed versions

  • 1.12.2

Solution

Upgrade to version 1.12.2 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Source file

gem/image_processing/CVE-2022-24720.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:47 +0000.