Critical severity · published May 26, 2022
CVE-2022-21831
A code injection vulnerability exists in the Active Storage >= v5.2.0 that could allow an attacker to execute code via image_processing arguments
9.8
CVSS
3.1%
EPSS
No
On KEV
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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Attack vector
Network
Complexity
Low
Privileges
None
User interaction
None
Confidentiality
High
Integrity
High
Availability
High
Scope
Unchanged
Exploitation
Is it being used?
Exploit prediction (EPSS)3.1% · higher than 88% of CVEs
Exploited in the wildNo evidence yet
CISA KEVNot listed
Ransomware campaign useNot known
Affected products
Which versions
AS
Active Storage · Rubyonrails
5.2.0 before 5.2.6.3; 6.0.0 before 6.0.4.7; 6.1.0 before 6.1.4.7; 7.0.0 before 7.0.2.3 · source: NVD
DL
Debian Linux · Debian
10.0 · source: NVD
References
NVD
https://nvd.nist.gov/vuln/detail/CVE-2022-21831
CVE.org
https://www.cve.org/CVERecord?id=CVE-2022-21831
Patch
https://github.com/advisories/GHSA-w749-p3v6-hccq
Mailing List
https://lists.debian.org/debian-lts-announce/2022/09/msg00002.html
Third Party Advisory
https://security.netapp.com/advisory/ntap-20221118-0001/
www.debian.org
https://www.debian.org/security/2023/dsa-5372
More from Debian Linux
10.0
CVE-2025-32433
Erlang/OTP SSH Vulnerable to Pre-Authentication RCE
10.0
CVE-2025-24201
Apple Multiple Products WebKit Out-of-Bounds Write Vulnerability
10.0
CVE-2021-44228
Apache Log4j2 JNDI features do not protect against attacker controlled LDAP and other JNDI related endpoints
10.0
CVE-2015-3306
ProFTPD Improper Access Control Vulnerability
9.8
CVE-2026-111497
Out-of-Bounds Write in Google Brotli Decoder
