image_processing is vulnerable to Remote Code Execution (RCE)
88
CVE Score
High
Remote Code Execution (RCE)
The MiniMagick backend applies loader and saver option hashes through apply_options, which used Ruby send to invoke option names on the underlying MiniMagick::Tool object. Because send can call private methods such as Kernel#system, an attacker who can supply loader or saver option keys can trigger arbitrary shell commands when those options are passed to ImageProcessing::MiniMagick.loader or .saver. Before the fix, values like system: "touch /tmp/pwned" could execute on the host. The patch switches to public_send, which restricts dispatch to public methods and blocks this command-injection path.
Upgrade the image_processing library to the patch version.
You are affected if you are using a version that falls within the vulnerable range.
0.11.0 - 2.0.0
Fixed in 2.0.1image_processing is vulnerable to Remote Code Execution (RCE) in versions 0.11.0 - 2.0.0.
Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.
No credit card required | Scan results in 32 seconds.
I consent to receiving marketing communications based on Aikido’s Privacy Policy.
SOC 2Compliant
ISO 27001Compliant
ISO 42001Compliant© All Intel data is openly available and commercially licensed.