CVE-2022-21831: Debian Linux
Critical severity, CVSS 9.8. EPSS: 3.2% probability of exploitation activity in the next 30 days.
A code injection vulnerability exists in the Active Storage >= v5.2.0 that could allow an attacker to execute code via image_processing arguments.
What to do
The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.
- Rubyonrails Active Storage, from 5.2.0, before 5.2.6.3: fixed in 5.2.6.3
- Rubyonrails Active Storage, from 6.0.0, before 6.0.4.7: fixed in 6.0.4.7
- Rubyonrails Active Storage, from 6.1.0, before 6.1.4.7: fixed in 6.1.4.7
- Rubyonrails Active Storage, from 7.0.0, before 7.0.2.3: fixed in 7.0.2.3
Affected products
- Debian Debian Linux: version 10.0 only
- Rubyonrails Active Storage: from 5.2.0, before 5.2.6.3 (fixed in 5.2.6.3); from 6.0.0, before 6.0.4.7 (fixed in 6.0.4.7); from 6.1.0, before 6.1.4.7 (fixed in 6.1.4.7); from 7.0.0, before 7.0.2.3 (fixed in 7.0.2.3)
Affected packages
- activestorage (RubyGems)
Published 2022-05-26. Last modified 2026-06-17.