Bugzilla – Bug 1197252
VUL-0: CVE-2022-21831: rubygem-activestorage-5.2: Code injection vulnerability in ActiveStorage
Last modified: 2022-03-18 10:59:13 UTC
rh#2064747 There is a possible code injection vulnerability in the Active Storage module of Rails. This vulnerability impacts applications that use Active Storage with the image_processing processing in addition to the mini_magick back end for image_processing. Vulnerable code will look something similar to this: ```ruby <%= image_tag blob.variant(params[:t] => params[:v]) %> ``` Where the transformation method or its arguments are untrusted arbitrary input. Versions Affected: >= 5.2.0 Not affected: < 5.2.0 Fixed Versions: 7.0.2.3, 6.1.4.7, 6.0.4.7, 5.2.6.3 References: https://github.com/advisories/GHSA-w749-p3v6-hccq References: https://bugzilla.redhat.com/show_bug.cgi?id=2064747 http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2022-21831
openSUSE:Backports:SLE-15-SP3/rubygem-activestorage-5.2 and openSUSE:Backports:SLE-15-SP4/rubygem-activestorage-5.2 are affected. rubygem-activestorage-7.0 is already fixed
wolfgang is the project maintainer. package maintainer is unset, darix?