Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 1365008 - (CVE-2016-6316) CVE-2016-6316 rubygem-actionview: cross-site scripting flaw in Action View
CVE-2016-6316 rubygem-actionview: cross-site scripting flaw in Action View
Status: CLOSED ERRATA
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20160811,repor...
: Security
Depends On: 1366480 1367062 1367063 1367064 1367065 1367066 1367067 1367068 1367069 1381410
Blocks: 1365019
  Show dependency treegraph
 
Reported: 2016-08-08 07:08 EDT by Martin Prpič
Modified: 2016-10-03 22:06 EDT (History)
18 users (show)

See Also:
Fixed In Version: rubygem-actionview 5.0.0.1, rubygem-actionview 4.2.7.1, rubygem-actionpack 3.2.22.3
Doc Type: If docs needed, set a value
Doc Text:
It was discovered that Action View tag helpers did not escape quotes when using strings declared as HTML safe as attribute values. A remote attacker could use this flaw to conduct a cross-site scripting (XSS) attack.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-09-13 07:19:06 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
3-2-attribute-xss.patch (3.13 KB, text/plain)
2016-08-08 07:09 EDT, Martin Prpič
no flags Details
4-2-attribute-xss.patch (2.17 KB, text/plain)
2016-08-08 07:09 EDT, Martin Prpič
no flags Details
5-0-attribute-xss.patch (2.51 KB, text/plain)
2016-08-08 07:09 EDT, Martin Prpič
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2016:1855 normal SHIPPED_LIVE Moderate: rh-ror42 security update 2016-09-13 11:09:39 EDT
Red Hat Product Errata RHSA-2016:1856 normal SHIPPED_LIVE Moderate: rh-ror41-rubygem-actionview security update 2016-09-13 11:08:25 EDT
Red Hat Product Errata RHSA-2016:1857 normal SHIPPED_LIVE Moderate: ror40-rubygem-actionpack security update 2016-09-13 11:07:09 EDT
Red Hat Product Errata RHSA-2016:1858 normal SHIPPED_LIVE Moderate: ruby193-rubygem-actionpack security update 2016-09-13 11:05:54 EDT

  None (edit)
Description Martin Prpič 2016-08-08 07:08:37 EDT
A cross-site scripting flaw was found in Action View. Text declared as "HTML safe" will not have quotes escaped when used as attribute values in tag helpers.
Comment 1 Martin Prpič 2016-08-08 07:08:43 EDT
Acknowledgments:

Name: the Ruby on Rails project
Upstream: Andrew Carpenter (Critical Juncture)
Comment 2 Martin Prpič 2016-08-08 07:09:27 EDT
Created attachment 1188633 [details]
3-2-attribute-xss.patch
Comment 3 Martin Prpič 2016-08-08 07:09:30 EDT
Created attachment 1188634 [details]
4-2-attribute-xss.patch
Comment 4 Martin Prpič 2016-08-08 07:09:33 EDT
Created attachment 1188635 [details]
5-0-attribute-xss.patch
Comment 6 Martin Prpič 2016-08-12 02:01:18 EDT
Created rubygem-actionview tracking bugs for this issue:

Affects: fedora-all [bug 1366480]
Comment 7 Martin Prpič 2016-08-12 02:01:48 EDT
External References:

https://groups.google.com/forum/#!msg/rubyonrails-security/I-VWr034ouk/gGu2FrCwDAAJ
Comment 16 errata-xmlrpc 2016-09-13 07:11:04 EDT
This issue has been addressed in the following products:

  Red Hat Software Collections for Red Hat Enterprise Linux 7
  Red Hat Software Collections for Red Hat Enterprise Linux 7.1 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 7.2 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 6
  Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS

Via RHSA-2016:1858 https://rhn.redhat.com/errata/RHSA-2016-1858.html
Comment 17 errata-xmlrpc 2016-09-13 07:11:28 EDT
This issue has been addressed in the following products:

  Red Hat Software Collections for Red Hat Enterprise Linux 6
  Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 7
  Red Hat Software Collections for Red Hat Enterprise Linux 7.2 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 7.1 EUS

Via RHSA-2016:1857 https://rhn.redhat.com/errata/RHSA-2016-1857.html
Comment 18 errata-xmlrpc 2016-09-13 07:11:51 EDT
This issue has been addressed in the following products:

  Red Hat Software Collections for Red Hat Enterprise Linux 7
  Red Hat Software Collections for Red Hat Enterprise Linux 7.1 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 7.2 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 6
  Red Hat Software Collections for Red Hat Enterprise Linux 6.6 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 6.7 EUS

Via RHSA-2016:1856 https://rhn.redhat.com/errata/RHSA-2016-1856.html
Comment 19 errata-xmlrpc 2016-09-13 07:12:15 EDT
This issue has been addressed in the following products:

  Red Hat Software Collections for Red Hat Enterprise Linux 7
  Red Hat Software Collections for Red Hat Enterprise Linux 7.2 EUS
  Red Hat Software Collections for Red Hat Enterprise Linux 7.1 EUS

Via RHSA-2016:1855 https://rhn.redhat.com/errata/RHSA-2016-1855.html

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