
CVE catalog
CVE-2022-21831
rails: CVE-2022-21831
- Severity
- Critical · CVSS 9.8
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 3.10% · Oct 22, 2026
A code injection vulnerability exists in the Active Storage >= v5.2.0 that could allow an attacker to execute code via image_processing arguments.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | rails | sid | 2:7.2.4+dfsg-2 | fixed |
| Debian | rails | forky | 2:7.2.4+dfsg-1 | fixed |
| Debian | rails | trixie | 2:7.2.2.2+dfsg-2~deb13u1 | fixed |
| Debian | rails | trixie-security | 2:7.2.2.2+dfsg-2~deb13u2 | fixed |
| Debian | rails | bookworm | 2:6.1.7.10+dfsg-1~deb12u2 | fixed |
| Debian | rails | bookworm-security | 2:6.1.7.10+dfsg-1~deb12u3 | fixed |
| Opensuse | rubygem-activestorage-7.0 | tumbleweed | 7.0.2.3-1.1 | fixed |
| Opensuse | rubygem-activestorage-7.0 | tumbleweed | 7.0.8.4-1.1 | fixed |
| Opensuse | ruby3.2-rubygem-activestorage-7.0 | tumbleweed | 7.0.4.3-1.1 | fixed |
| Opensuse | rubygem-activestorage-7.0 | tumbleweed | 7.0.8.6-1.3 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | rails | source | sid | 2:6.1.4.7+dfsg-1 | not yet assigned | Not reported | [1011940] |
| Debian | rails | source | forky | 2:6.1.4.7+dfsg-1 | not yet assigned | Not reported | [1011940] |
| Debian | rails | source | trixie | 2:6.1.4.7+dfsg-1 | not yet assigned | Not reported | [1011940] |
| Debian | rails | source | bookworm | 2:6.1.4.7+dfsg-1 | not yet assigned | Not reported | [1011940] |
| Opensuse | rubygem-activestorage-7.0 | rpm | tumbleweed | 7.0.2.3-1.1 | Not reported | OPENSUSE-SU-2024:11903-1 | Not reported |
| Opensuse | rubygem-activestorage-7.0 | rpm | tumbleweed | 7.0.8.4-1.1 | Not reported | OPENSUSE-SU-2024:14070-1 | Not reported |
| Opensuse | ruby3.2-rubygem-activestorage-7.0 | rpm | tumbleweed | 7.0.4.3-1.1 | Not reported | OPENSUSE-SU-2024:12880-1 | Not reported |
| Opensuse | rubygem-activestorage-7.0 | rpm | tumbleweed | 7.0.8.6-1.3 | Not reported | OPENSUSE-SU-2025:15113-1 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [rails]Fixed
Details (4)
2:6.1.7.10+dfsg-1~deb12u2· all · bookwormFixed · Fixed:
2:6.1.4.7+dfsg-1dsa · rails · debian · bookworm
2:6.1.7.10+dfsg-1~deb12u2· all · bookwormFixed · Fixed:
2:6.1.4.7+dfsg-1dsa · rails · debian · bookworm
2:6.1.7.10+dfsg-1~deb12u2· all · bookworm-securityFixed · Fixed:
2:6.1.4.7+dfsg-1dsa · rails · debian · bookworm
2:6.1.7.10+dfsg-1~deb12u2· all · bookworm-securityFixed · Fixed:
2:6.1.4.7+dfsg-1dsa · rails · debian · bookworm
- [ruby-actioncable]Fixed
Source package: [rails]
Details (4)
2:6.1.7.10+dfsg-1~deb12u2· all · bookwormFixed · Fixed:
2:6.1.4.7+dfsg-1dsa · rails · debian · bookworm
2:6.1.7.10+dfsg-1~deb12u2· all · bookwormFixed · Fixed:
2:6.1.4.7+dfsg-1dsa · rails · debian · bookworm
2:6.1.7.10+dfsg-1~deb12u2· all · bookworm-securityFixed · Fixed:
2:6.1.4.7+dfsg-1dsa · rails · debian · bookworm
2:6.1.7.10+dfsg-1~deb12u2· all · bookworm-securityFixed · Fixed:
2:6.1.4.7+dfsg-1dsa · rails · debian · bookworm
- [ruby-actionmailbox]Fixed
Source package: [rails]
Details (4)
2:6.1.7.10+dfsg-1~deb12u2· all · bookwormFixed · Fixed:
2:6.1.4.7+dfsg-1dsa · rails · debian · bookworm
2:6.1.7.10+dfsg-1~deb12u2· all · bookwormFixed · Fixed:
2:6.1.4.7+dfsg-1dsa · rails · debian · bookworm
2:6.1.7.10+dfsg-1~deb12u2· all · bookworm-securityFixed · Fixed:
2:6.1.4.7+dfsg-1dsa · rails · debian · bookworm
2:6.1.7.10+dfsg-1~deb12u2· all · bookworm-securityFixed · Fixed:
2:6.1.4.7+dfsg-1dsa · rails · debian · bookworm
- [ruby-actionmailer]Fixed
Source package: [rails]
Details (4)
2:6.1.7.10+dfsg-1~deb12u2· all · bookwormFixed · Fixed:
2:6.1.4.7+dfsg-1dsa · rails · debian · bookworm
2:6.1.7.10+dfsg-1~deb12u2· all · bookwormFixed · Fixed:
2:6.1.4.7+dfsg-1dsa · rails · debian · bookworm
2:6.1.7.10+dfsg-1~deb12u2· all · bookworm-securityFixed · Fixed:
2:6.1.4.7+dfsg-1dsa · rails · debian · bookworm
2:6.1.7.10+dfsg-1~deb12u2· all · bookworm-securityFixed · Fixed:
2:6.1.4.7+dfsg-1dsa · rails · debian · bookworm
- [ruby-actionpack]Fixed
Source package: [rails]
Details (4)
2:6.1.7.10+dfsg-1~deb12u2· all · bookwormFixed · Fixed:
2:6.1.4.7+dfsg-1dsa · rails · debian · bookworm
2:6.1.7.10+dfsg-1~deb12u2· all · bookwormFixed · Fixed:
2:6.1.4.7+dfsg-1dsa · rails · debian · bookworm
2:6.1.7.10+dfsg-1~deb12u2· all · bookworm-securityFixed · Fixed:
2:6.1.4.7+dfsg-1dsa · rails · debian · bookworm
2:6.1.7.10+dfsg-1~deb12u2· all · bookworm-securityFixed · Fixed:
2:6.1.4.7+dfsg-1dsa · rails · debian · bookworm
- [ruby-actiontext]Fixed
Source package: [rails]
Details (4)
2:6.1.7.10+dfsg-1~deb12u2· all · bookwormFixed · Fixed:
2:6.1.4.7+dfsg-1dsa · rails · debian · bookworm
2:6.1.7.10+dfsg-1~deb12u2· all · bookwormFixed · Fixed:
2:6.1.4.7+dfsg-1dsa · rails · debian · bookworm
2:6.1.7.10+dfsg-1~deb12u2· all · bookworm-securityFixed · Fixed:
2:6.1.4.7+dfsg-1dsa · rails · debian · bookworm
2:6.1.7.10+dfsg-1~deb12u2· all · bookworm-securityFixed · Fixed:
2:6.1.4.7+dfsg-1dsa · rails · debian · bookworm
- [ruby-actionview]Fixed
Source package: [rails]
Details (4)
2:6.1.7.10+dfsg-1~deb12u2· all · bookwormFixed · Fixed:
2:6.1.4.7+dfsg-1dsa · rails · debian · bookworm
2:6.1.7.10+dfsg-1~deb12u2· all · bookwormFixed · Fixed:
2:6.1.4.7+dfsg-1dsa · rails · debian · bookworm
2:6.1.7.10+dfsg-1~deb12u2· all · bookworm-securityFixed · Fixed:
2:6.1.4.7+dfsg-1dsa · rails · debian · bookworm
2:6.1.7.10+dfsg-1~deb12u2· all · bookworm-securityFixed · Fixed:
2:6.1.4.7+dfsg-1dsa · rails · debian · bookworm
- [ruby-activejob]Fixed
Source package: [rails]
Details (4)
2:6.1.7.10+dfsg-1~deb12u2· all · bookwormFixed · Fixed:
2:6.1.4.7+dfsg-1dsa · rails · debian · bookworm
2:6.1.7.10+dfsg-1~deb12u2· all · bookwormFixed · Fixed:
2:6.1.4.7+dfsg-1dsa · rails · debian · bookworm
2:6.1.7.10+dfsg-1~deb12u2· all · bookworm-securityFixed · Fixed:
2:6.1.4.7+dfsg-1dsa · rails · debian · bookworm
2:6.1.7.10+dfsg-1~deb12u2· all · bookworm-securityFixed · Fixed:
2:6.1.4.7+dfsg-1dsa · rails · debian · bookworm
- [ruby-activemodel]Fixed
Source package: [rails]
Details (4)
2:6.1.7.10+dfsg-1~deb12u2· all · bookwormFixed · Fixed:
2:6.1.4.7+dfsg-1dsa · rails · debian · bookworm
2:6.1.7.10+dfsg-1~deb12u2· all · bookwormFixed · Fixed:
2:6.1.4.7+dfsg-1dsa · rails · debian · bookworm
2:6.1.7.10+dfsg-1~deb12u2· all · bookworm-securityFixed · Fixed:
2:6.1.4.7+dfsg-1dsa · rails · debian · bookworm
2:6.1.7.10+dfsg-1~deb12u2· all · bookworm-securityFixed · Fixed:
2:6.1.4.7+dfsg-1dsa · rails · debian · bookworm
- [ruby-activerecord]Fixed
Source package: [rails]
Details (4)
2:6.1.7.10+dfsg-1~deb12u2· all · bookwormFixed · Fixed:
2:6.1.4.7+dfsg-1dsa · rails · debian · bookworm
2:6.1.7.10+dfsg-1~deb12u2· all · bookwormFixed · Fixed:
2:6.1.4.7+dfsg-1dsa · rails · debian · bookworm
2:6.1.7.10+dfsg-1~deb12u2· all · bookworm-securityFixed · Fixed:
2:6.1.4.7+dfsg-1dsa · rails · debian · bookworm
2:6.1.7.10+dfsg-1~deb12u2· all · bookworm-securityFixed · Fixed:
2:6.1.4.7+dfsg-1dsa · rails · debian · bookworm
- [ruby-activestorage]Fixed
Source package: [rails]
Details (4)
2:6.1.7.10+dfsg-1~deb12u2· all · bookwormFixed · Fixed:
2:6.1.4.7+dfsg-1dsa · rails · debian · bookworm
2:6.1.7.10+dfsg-1~deb12u2· all · bookwormFixed · Fixed:
2:6.1.4.7+dfsg-1dsa · rails · debian · bookworm
2:6.1.7.10+dfsg-1~deb12u2· all · bookworm-securityFixed · Fixed:
2:6.1.4.7+dfsg-1dsa · rails · debian · bookworm
2:6.1.7.10+dfsg-1~deb12u2· all · bookworm-securityFixed · Fixed:
2:6.1.4.7+dfsg-1dsa · rails · debian · bookworm
- [ruby-activesupport]Fixed
Source package: [rails]
Details (4)
2:6.1.7.10+dfsg-1~deb12u2· all · bookwormFixed · Fixed:
2:6.1.4.7+dfsg-1dsa · rails · debian · bookworm
2:6.1.7.10+dfsg-1~deb12u2· all · bookwormFixed · Fixed:
2:6.1.4.7+dfsg-1dsa · rails · debian · bookworm
2:6.1.7.10+dfsg-1~deb12u2· all · bookworm-securityFixed · Fixed:
2:6.1.4.7+dfsg-1dsa · rails · debian · bookworm
2:6.1.7.10+dfsg-1~deb12u2· all · bookworm-securityFixed · Fixed:
2:6.1.4.7+dfsg-1dsa · rails · debian · bookworm
- [ruby-rails]Fixed
Source package: [rails]
Details (4)
2:6.1.7.10+dfsg-1~deb12u2· all · bookwormFixed · Fixed:
2:6.1.4.7+dfsg-1dsa · rails · debian · bookworm
2:6.1.7.10+dfsg-1~deb12u2· all · bookwormFixed · Fixed:
2:6.1.4.7+dfsg-1dsa · rails · debian · bookworm
2:6.1.7.10+dfsg-1~deb12u2· all · bookworm-securityFixed · Fixed:
2:6.1.4.7+dfsg-1dsa · rails · debian · bookworm
2:6.1.7.10+dfsg-1~deb12u2· all · bookworm-securityFixed · Fixed:
2:6.1.4.7+dfsg-1dsa · rails · debian · bookworm
- [ruby-railties]Fixed
Source package: [rails]
Details (4)
2:6.1.7.10+dfsg-1~deb12u2· all · bookwormFixed · Fixed:
2:6.1.4.7+dfsg-1dsa · rails · debian · bookworm
2:6.1.7.10+dfsg-1~deb12u2· all · bookwormFixed · Fixed:
2:6.1.4.7+dfsg-1dsa · rails · debian · bookworm
2:6.1.7.10+dfsg-1~deb12u2· all · bookworm-securityFixed · Fixed:
2:6.1.4.7+dfsg-1dsa · rails · debian · bookworm
2:6.1.7.10+dfsg-1~deb12u2· all · bookworm-securityFixed · Fixed:
2:6.1.4.7+dfsg-1dsa · rails · debian · bookworm
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/opensuse-su-2025_15113-1.json]
- [https://osv.dev/vulnerability/DLA-3093-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:11903-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:12880-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2024:14070-1]
- [https://osv.dev/vulnerability/openSUSE-SU-2025:15113-1]
- [https://security-tracker.debian.org/tracker/CVE-2022-21831]
- [https://wid.cert-bund.de/.well-known/csaf/white/2022/wid-sec-w-2022-1280.json]
[CERT-Bund public advisories] · [Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [SUSE security advisories and VEX]