CVE-2022-21831
unknown
CVSS v3
โ
CVSS v4 NEW
โ
VIR risk
โ
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.
Predictions
Exploit likelihood
30%
Patch ETA
โ
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ if you've already worked around this in production โ publish your fix to the community-verified tier.
โ Propose a mitigation on Community โ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
OS impact
SUSE Affected 1 release
| Version | Status | Fixed in |
|---|---|---|
| โ | Affected | โ |
Debian Fixed 5 releases
| Version | Status | Fixed in |
|---|---|---|
| trixie | Fixed | 2:6.1.4.7+dfsg-1 |
| sid | Fixed | 2:6.1.4.7+dfsg-1 |
| forky | Fixed | 2:6.1.4.7+dfsg-1 |
| bullseye | Fixed | 2:6.0.3.7+dfsg-2+deb11u1 |
| bookworm | Fixed | 2:6.1.4.7+dfsg-1 |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| RubyGems | activestorage | !< 5.2.0||<~> 5.2.6, >= 5.2.6.3 | ~> 5.2.6, >= 5.2.6.3 |
| RubyGems | activestorage | >=5.2.0,<5.2.6.3 | 5.2.6.3 |
| RubyGems | activestorage | >=6.0.0,<6.0.4.7 | 6.0.4.7 |
| RubyGems | activestorage | >=6.1.0,<6.1.4.7 | 6.1.4.7 |
| RubyGems | activestorage | >=7.0.0,<7.0.2.3 | 7.0.2.3 |
References
- https://groups.google.com/g/rubyonrails-security/c/n-p-W1yxatI
- https://www.suse.com/security/cve/CVE-2022-21831.html
- https://nvd.nist.gov/vuln/detail/CVE-2022-21831
- https://github.com/rails/rails/commit/0a72f7d670e9aa77a0bb8584cb1411ddabb7546e
- https://github.com/advisories/GHSA-w749-p3v6-hccq
- https://github.com/rails/rails
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activestorage/CVE-2022-21831.yml
- https://lists.debian.org/debian-lts-announce/2022/09/msg00002.html
- https://rubysec.com/advisories/CVE-2022-21831
- https://security.netapp.com/advisory/ntap-20221118-0001
- https://www.debian.org/security/2023/dsa-5372
- https://security-tracker.debian.org/tracker/CVE-2022-21831
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.