Bug 2059886 (CVE-2022-24720) - CVE-2022-24720 rubygem-image_processing: remote shell execution via #apply method
Summary: CVE-2022-24720 rubygem-image_processing: remote shell execution via #apply me...
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2022-24720
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2059887
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-03-02 09:50 UTC by Mauro Matteo Cascella
Modified: 2022-03-03 02:20 UTC (History)
1 user (show)

Fixed In Version: rubygem-image_processing 1.12.2
Clone Of:
Environment:
Last Closed: 2022-03-03 02:20:54 UTC
Embargoed:


Attachments (Terms of Use)

Description Mauro Matteo Cascella 2022-03-02 09:50:25 UTC
A flaw was found in image_processing. When using the #apply method from image_processing to apply a series of operations that are coming from unsanitized user input, this flaw allows the attacker to execute shell commands. 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.

References:
https://github.com/janko/image_processing/commit/038e4574e8f4f4b636a62394e09983c71980dada
https://github.com/janko/image_processing/security/advisories/GHSA-cxf7-qrc5-9446

Comment 1 Mauro Matteo Cascella 2022-03-02 09:51:32 UTC
Created rubygem-image_processing tracking bugs for this issue:

Affects: fedora-all [bug 2059887]

Comment 2 Product Security DevOps Team 2022-03-03 02:20:52 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.


Note You need to log in before you can comment on or make changes to this bug.