
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-24293 is a security vulnerability in Active Storage, a component of Ruby on Rails, discovered and disclosed on March 31, 2025. The vulnerability affects versions >= 5.2.0 of Active Storage when used with the imageprocessing gem and minimagick as the image processor. The issue stems from a downgrade problem where certain transformation methods included in the default allowed list could enable potential command injection attacks (GitHub Advisory).
The vulnerability exists due to three specific transformation methods ('apply', 'loader', and 'saver') in Active Storage's default allowed list that could circumvent safe defaults. When applications accept arbitrary user input for transformation methods or their parameters, this could lead to command injection vulnerabilities. The issue has been assigned a CVSS v4.0 base score indicating high severity with the vector string 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:P (GitHub Advisory).
The vulnerability allows potential attackers to execute arbitrary commands through image transformation parameters when applications accept untrusted user input. This could lead to unauthorized access to protected user data and potential system compromise. The vulnerability particularly affects applications that use Active Storage with the imageprocessing gem and minimagick as the image processor (GitHub Advisory).
The issue has been fixed in versions 7.1.5.2, 7.2.2.2, and 8.0.2.1 of Rails. For users unable to upgrade immediately, it is recommended to implement strict validation of user-supplied methods and parameters, and deploy a strong ImageMagick security policy. The fix involved removing the dangerous transformation methods 'apply', 'loader', and 'saver' from the allowed list (GitHub Advisory, Rails Commit).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."