Upstream information

CVE-2025-24293 at MITRE

Description

# Active Storage allowed transformation methods potentially unsafe

Active Storage attempts to prevent the use of potentially unsafe image
transformation methods and parameters by default.

The default allowed list contains three methods allow for the circumvention
of the safe defaults which enables potential command injection
vulnerabilities in cases where arbitrary user supplied input is accepted as
valid transformation methods or parameters.


Impact
------
This vulnerability impacts applications that use Active Storage with the image_processing processing gem in addition to mini_magick as the image processor.

Vulnerable code will look something similar to this:
```
<%= image_tag blob.variant(params[:t] => params[:v]) %>
```

Where the transformation method or its arguments are untrusted arbitrary input.

All users running an affected release should either upgrade or use one of the workarounds immediately.



Workarounds
-----------
Consuming user supplied input for image transformation methods or their parameters is unsupported behavior and should be considered dangerous.

Strict validation of user supplied methods and parameters should be performed
as well as having a strong [ImageMagick security
policy](https://imagemagick.org/script/security-policy.php) deployed.

Credits
-------

Thank you [lio346](https://hackerone.com/lio346) for reporting this!

Other Security Trackers

SUSE information

Overall state of this security issue: Resolved

This issue is currently rated as having important severity.

CVSS v3 Scores
CVSS detail SUSE
Base Score 8.1
Vector CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack Vector Network
Attack Complexity High
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality Impact High
Integrity Impact High
Availability Impact High
CVSSv3 Version 3.1
CVSS v4 Scores
CVSS detail CNA (HackerOne) SUSE
Base Score 9.2 9.2
Vector CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Attack Vector Network Network
Attack Complexity Low Low
Attack Requirements Present Present
Privileges Required None None
User Interaction None None
Vulnerable System Confidentiality Impact High High
Vulnerable System Integrity Impact High High
Vulnerable System Availability Impact High High
Subsequent System Confidentiality Impact None None
Subsequent System Integrity Impact None None
Subsequent System Availability Impact None None
CVSSv4 Version 4.0 4.0
SUSE Bugzilla entry: 1257617 [NEW]

No SUSE Security Announcements cross referenced.


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification. The updates are grouped by state of their lifecycle. SUSE product lifecycles are documented on the lifecycle page.

Product(s) Source package State
Products under general support and receiving all security fixes.
SUSE Linux Enterprise High Availability Extension 15 SP7 hawk2 Not affected
SUSE Linux Enterprise High Availability Extension 16.0 hawk2 Already fixed
SUSE Linux Enterprise Server for SAP applications 16.0 hawk2 Already fixed
openSUSE Leap 15.6 hawk2 Not affected
Products under Long Term Service Pack support and receiving important and critical security fixes.
SUSE Linux Enterprise High Availability Extension 12 SP5 hawk2 Not affected
SUSE Linux Enterprise High Availability Extension 15 SP4 hawk2 Not affected
SUSE Linux Enterprise High Availability Extension 15 SP5 hawk2 Not affected
SUSE Linux Enterprise Server for SAP Applications 12 SP5 hawk2 Not affected
Products past their end of life and not receiving proactive updates anymore.
SUSE Linux Enterprise High Availability Extension 12 SP4 hawk2 Not affected
SUSE Linux Enterprise High Availability Extension 15 hawk2 Not affected
SUSE Linux Enterprise High Availability Extension 15 SP1 hawk2 Not affected
SUSE Linux Enterprise High Availability Extension 15 SP2 hawk2 Not affected
SUSE Linux Enterprise High Availability Extension 15 SP3 hawk2 Not affected
SUSE Linux Enterprise High Availability Extension 15 SP6 hawk2 Not affected
openSUSE Leap 15.3 hawk2 Not affected
openSUSE Leap 15.4 hawk2 Not affected
openSUSE Leap 15.5 hawk2 Not affected


SUSE Timeline for this CVE

CVE page created: Sat Jan 31 00:02:56 2026
CVE page last modified: Tue Feb 3 16:12:55 2026