{"id":"CVE-2022-21831","aliases":["GHSA-w749-p3v6-hccq"],"url":"https://o3.security/vulnerability/CVE-2022-21831","summary":"Possible code injection vulnerability in Rails / Active Storage","details":"A code injection vulnerability exists in the Active Storage >= v5.2.0 that could allow an attacker to execute code via image_processing arguments.","published":"2022-05-26T17:15:09.017Z","modified":"2026-03-15T22:43:35.222099Z","cvss":{"score":9.8,"severity":"CRITICAL","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"RubyGems","name":"activestorage","fixedVersion":"5.2.6.3"},{"ecosystem":"RubyGems","name":"activestorage","fixedVersion":"6.0.4.7"},{"ecosystem":"RubyGems","name":"activestorage","fixedVersion":"6.1.4.7"},{"ecosystem":"RubyGems","name":"activestorage","fixedVersion":"7.0.2.3"}],"fix":null,"references":[{"type":"ADVISORY","url":"https://www.debian.org/security/2023/dsa-5372"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2022/09/msg00002.html"},{"type":"ADVISORY","url":"https://security.netapp.com/advisory/ntap-20221118-0001/"},{"type":"FIX","url":"https://github.com/advisories/GHSA-w749-p3v6-hccq"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-03-15T22:43:35.222099Z"}}