{"cve":"CVE-2022-21831","nvd":{"published":"2022-05-26T17:15:09.017","modified":"2026-06-17T04:27:03.960","status":"Modified","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_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8},"cwes":["CWE-94"],"references":["https://github.com/advisories/GHSA-w749-p3v6-hccq","https://lists.debian.org/debian-lts-announce/2022/09/msg00002.html","https://security.netapp.com/advisory/ntap-20221118-0001/","https://www.debian.org/security/2023/dsa-5372","https://github.com/advisories/GHSA-w749-p3v6-hccq"],"products":["debian:debian_linux","rubyonrails:active_storage"],"source":"nvd","synced_at":"2026-10-19T21:31:59.322382750+00:00"},"epss":{"cve":"CVE-2022-21831","score":0.03098,"percentile":0.87747,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-w749-p3v6-hccq","url":"https://osv.dev/vulnerability/GHSA-w749-p3v6-hccq","summary":"Possible code injection vulnerability in Rails / Active Storage","modified":"2026-03-13T22:14:30.413627Z","packages":[{"ecosystem":"RubyGems","name":"activestorage","purl":"pkg:gem/activestorage","ranges":[">=5.2.0 <5.2.6.3"],"fixed":["5.2.6.3"]},{"ecosystem":"RubyGems","name":"activestorage","purl":"pkg:gem/activestorage","ranges":[">=6.0.0 <6.0.4.7"],"fixed":["6.0.4.7"]},{"ecosystem":"RubyGems","name":"activestorage","purl":"pkg:gem/activestorage","ranges":[">=6.1.0 <6.1.4.7"],"fixed":["6.1.4.7"]},{"ecosystem":"RubyGems","name":"activestorage","purl":"pkg:gem/activestorage","ranges":[">=7.0.0 <7.0.2.3"],"fixed":["7.0.2.3"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}