Bug 1877566 (CVE-2020-15169)

Summary: CVE-2020-15169 rubygem-activeview: Cross-site scripting in translation helpers
Product: [Other] Security Response Reporter: Pedro Sampaio <psampaio>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED ERRATA QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: akarol, bbuckingham, bcourt, bkearney, bmidwood, btotty, dmetzger, gmccullo, gtanzill, hhudgeon, jaruga, jhardy, lzap, mmccune, nmoumoul, pvalena, rchan, rjerrido, roliveri, ruby-packagers-sig, simaishi, smallamp, sokeeffe, strzibny, xlecauch
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: rubygem-activeview 5.2.4.4, rubygem-activeview 6.0.3.3 Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in rubygem-actionview in versions prior to 5.2.4.4 and 6.0.3.3. When an HTML-unsafe string is passed as the default for a missing translation key, the default string is incorrectly marked as HTML-safe and not escaped. Thie highest threat from this vulnerability is to data confidentiality and integrity.
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-11-11 05:58:26 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1877568, 1880106, 1880107, 1880124    
Bug Blocks: 1877569    

Description Pedro Sampaio 2020-09-09 20:47:32 UTC
A flaw was found in rubygem-actionview before versions 5.2.4.4 and 6.0.3.3. When an HTML-unsafe string is passed as the default for a missing  translation key, the default string is incorrectly marked as HTML-safe and not escaped.

References:

https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionview/CVE-2020-15169.yml
https://groups.google.com/g/rubyonrails-security/c/b-C9kSGXYrc?pli=1

Comment 1 Pedro Sampaio 2020-09-09 20:48:08 UTC
Created rubygem-actionview tracking bugs for this issue:

Affects: fedora-all [bug 1877568]

Comment 3 Yadnyawalk Tale 2020-09-17 15:27:36 UTC
External References:

https://weblog.rubyonrails.org/2020/9/10/Rails-5-2-4-4-and-6-0-3-3-have-been-released

Comment 8 Yadnyawalk Tale 2020-09-17 18:05:20 UTC
Statement:

Red Hat CloudForms and Red Hat Satellite 6 ships affected ActiveView RubyGem, however, those are not vulnerable since product code do not use such unsafe implementation.