CVE
CVE-2022-21831
publishedrubygem-activestorage: Code injection vulnerability in ActiveStorage
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | https://github.com/rails/rails7.0.2.3, 6.1.4.7, 6.0.4.7, 5.2.6.3 | Affected | Not stated | hackerone |
| Debian | bullseye | rails | Advisory build | 2:6.0.3.7+dfsg-2+deb11u1 | DSA-5372-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.1-rubygem-activestorage-7.0aarch64 | Advisory build | 7.0.2.3-1.1 | OPENSUSE-SU-2024:11903-1 |
| Debian | buster | rails | Advisory build | 2:5.2.2.1+dfsg-1+deb10u4 | DLA-3093-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.1-rubygem-activestorage-7.0ppc64le | Advisory build | 7.0.2.3-1.1 | OPENSUSE-SU-2024:11903-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.1-rubygem-activestorage-7.0s390x | Advisory build | 7.0.2.3-1.1 | OPENSUSE-SU-2024:11903-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.1-rubygem-activestorage-7.0x86_64 | Advisory build | 7.0.2.3-1.1 | OPENSUSE-SU-2024:11903-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.2-rubygem-activestorage-7.0aarch64 | Advisory build | 7.0.4.3-1.1 | OPENSUSE-SU-2024:12880-1 |
Show 11 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.2-rubygem-activestorage-7.0ppc64le | Advisory build | 7.0.4.3-1.1 | OPENSUSE-SU-2024:12880-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.2-rubygem-activestorage-7.0s390x | Advisory build | 7.0.4.3-1.1 | OPENSUSE-SU-2024:12880-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.2-rubygem-activestorage-7.0x86_64 | Advisory build | 7.0.4.3-1.1 | OPENSUSE-SU-2024:12880-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.3-rubygem-activestorage-7.0aarch64 | Advisory build | 7.0.8.4-1.1 | OPENSUSE-SU-2024:14070-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.3-rubygem-activestorage-7.0ppc64le | Advisory build | 7.0.8.4-1.1 | OPENSUSE-SU-2024:14070-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.3-rubygem-activestorage-7.0s390x | Advisory build | 7.0.8.4-1.1 | OPENSUSE-SU-2024:14070-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.3-rubygem-activestorage-7.0x86_64 | Advisory build | 7.0.8.4-1.1 | OPENSUSE-SU-2024:14070-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.4-rubygem-activestorage-7.0aarch64 | Advisory build | 7.0.8.6-1.3 | OPENSUSE-SU-2025:15113-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.4-rubygem-activestorage-7.0ppc64le | Advisory build | 7.0.8.6-1.3 | OPENSUSE-SU-2025:15113-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.4-rubygem-activestorage-7.0s390x | Advisory build | 7.0.8.6-1.3 | OPENSUSE-SU-2025:15113-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | ruby3.4-rubygem-activestorage-7.0x86_64 | Advisory build | 7.0.8.6-1.3 | OPENSUSE-SU-2025:15113-1 |
Description
A code injection vulnerability exists in the Active Storage >= v5.2.0 that could allow an attacker to execute code via image_processing arguments.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | https://github.com/rails/rails | 7.0.2.3, 6.1.4.7, 6.0.4.7, 5.2.6.3 (affected) | hackerone · cna |
Weaknesses
1- CWE-94 Code Injection (CWE-94)
References
4- https://github.com/advisories/GHSA-w749-p3v6-hccq
- [debian-lts-announce] 20220903 [SECURITY] [DLA 3093-1] rails security update https://lists.debian.org/debian-lts-announce/2022/09/msg00002.html
- https://security.netapp.com/advisory/ntap-20221118-0001/
- DSA-5372 https://www.debian.org/security/2023/dsa-5372
Provider assertions
2hackerone · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 91360d5e7f80c45b6747ab868fb1889d27f276ae81b5cdcbab3c140dc7dcf354
- Ingested
- 23 Sep 2026, 07:58:18 UTC
- Source record
- Official CVE record