CVE-2022-21831Published May 26, 2022 · May 26Updated Jun 17
Possible code injection vulnerability in Rails / Active Storage
https://github.com/rails/rails
Critical9.8Fix available
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| activestorage RubyGems |
|
|
https://github.com/rails/rails
| Product | Affected | Fixed in |
|---|---|---|
| activestorage RubyGems |
|
|
A code injection vulnerability exists in the Active Storage >= v5.2.0 that could allow an attacker to execute code via image_processing arguments.
From the CVE record · hackerone
Active Storage has a code injection vulnerability in its image_processing arguments. An attacker who can supply those arguments could execute code; the input does not specify whether authentication or user interaction is required.
Check RubyGems activestorage installations running versions >=5.2.0 <5.2.6.3, >=6.0.0 <6.0.4.7, >=6.1.0 <6.1.4.7, or >=7.0.0 <7.0.2.3.