Bug 1831528 (CVE-2020-5267) - CVE-2020-5267 rubygem-actionview: views that use the `j` or `escape_javascript` methods are susceptible to XSS attacks
Summary: CVE-2020-5267 rubygem-actionview: views that use the `j` or `escape_javascrip...
Keywords:
Status: CLOSED ERRATA
Alias: CVE-2020-5267
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 1831529 1831531 1831583 1831584 1831599
Blocks: 1831532
TreeView+ depends on / blocked
 
Reported: 2020-05-05 07:20 UTC by Marian Rehak
Modified: 2021-12-14 18:47 UTC (History)
30 users (show)

Fixed In Version: rubygem-actionview 6.0.2.2, rubygem-actionview 5.2.4.2
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in rubygem-actionview. Views that use the `j` or `escape_javascript` methods may be susceptible to XSS attacks with ActionView's JavaScript literal escape helpers. The highest threat from this vulnerability is to data confidentiality and integrity.
Clone Of:
Environment:
Last Closed: 2020-10-27 14:21:36 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2020:4366 0 None None None 2020-10-27 12:56:43 UTC

Description Marian Rehak 2020-05-05 07:20:39 UTC
There is a possible XSS vulnerability in ActionView's JavaScript literal escape helpers. Views that use the `j` or `escape_javascript` methods may be susceptible to XSS attacks.

External Reference:

https://www.openwall.com/lists/oss-security/2020/03/19/1

Comment 1 Marian Rehak 2020-05-05 07:24:47 UTC
Created rubygem-actionview tracking bugs for this issue:

Affects: fedora-all [bug 1831531]

Comment 6 Yadnyawalk Tale 2020-05-05 11:00:06 UTC
Statement:

Red Hat CloudForms and Satellite ship affected RubyGem actionview with methods, however, those are not vulnerable since none of those uses template string enclosed with backtick characters. A future update may fix affected RubyGem.

Comment 8 errata-xmlrpc 2020-10-27 12:56:37 UTC
This issue has been addressed in the following products:

  Red Hat Satellite 6.7 for RHEL 8

Via RHSA-2020:4366 https://access.redhat.com/errata/RHSA-2020:4366

Comment 9 Product Security DevOps Team 2020-10-27 14:21:36 UTC
This bug is now closed. Further updates for individual products will be reflected on the CVE page(s):

https://access.redhat.com/security/cve/cve-2020-5267


Note You need to log in before you can comment on or make changes to this bug.