Security Advisory Important: ruby193-rubygem-actionpack security update

Advisory: RHSA-2013:1794-1
Type: Security Advisory
Severity: Important
Issued on: 2013-12-05
Last updated on: 2013-12-05
Affected Products: Red Hat Software Collections 1 for RHEL 6
CVEs (cve.mitre.org): CVE-2013-4491
CVE-2013-6414
CVE-2013-6415
CVE-2013-6417

Details

Updated ruby193-rubygem-actionpack packages that fix multiple security
issues are now available for Red Hat Software Collections 1.

The Red Hat Security Response Team has rated this update as having
important security impact. Common Vulnerability Scoring System (CVSS) base
scores, which give detailed severity ratings, are available for each
vulnerability from the CVE links in the References section.

Ruby on Rails is a model-view-controller (MVC) framework for web
application development. Action Pack implements the controller and the
view components.

A flaw was found in the way Ruby on Rails performed JSON parameter parsing.
An application using a third party library, which uses the Rack::Request
interface, or custom Rack middleware could bypass the protection
implemented to fix the CVE-2013-0155 vulnerability, causing the application
to receive unsafe parameters and become vulnerable to CVE-2013-0155.
(CVE-2013-6417)

It was discovered that the internationalization component of Ruby on Rails
could, under certain circumstances, return a fallback HTML string that
contained user input. A remote attacker could possibly use this flaw to
perform a reflective cross-site scripting (XSS) attack by providing a
specially crafted input to an application using the aforementioned
component. (CVE-2013-4491)

A denial of service flaw was found in the header handling component of
Action View. A remote attacker could send strings in specially crafted
headers that would be cached indefinitely, which would result in all
available system memory eventually being consumed. (CVE-2013-6414)

It was found that the number_to_currency Action View helper did not
properly escape the unit parameter. An attacker could use this flaw to
perform a cross-site scripting (XSS) attack on an application that uses
data submitted by a user in the unit parameter. (CVE-2013-6415)

All ruby193-rubygem-actionpack users are advised to upgrade to these
updated packages, which contain backported patches to correct these issues.


Solution

Before applying this update, make sure all previously released errata
relevant to your system have been applied.

This update is available via the Red Hat Network. Details on how to use the
Red Hat Network to apply this update are available at
https://access.redhat.com/site/articles/11258

Updated packages

Red Hat Software Collections 1 for RHEL 6

SRPMS:
ruby193-rubygem-actionpack-3.2.8-5.1.el6.src.rpm
File outdated by:  RHBA-2014:0619
    MD5: 78cc2f8537ab4a8c1f52d9848e270de6
SHA-256: b91c84bf1d7feb6f47f386c2882e094763052572044e08c2979063f80ab964bf
 
x86_64:
ruby193-rubygem-actionpack-3.2.8-5.1.el6.noarch.rpm
File outdated by:  RHBA-2014:0619
    MD5: c1be246e7e6413342ddfd06fa625c89a
SHA-256: e063c8cf6215c4fefd81d3451745590cbf1f5a56ac8333badcbca6dec6b7aad5
ruby193-rubygem-actionpack-doc-3.2.8-5.1.el6.noarch.rpm
File outdated by:  RHBA-2014:0619
    MD5: bdf8e86092471a165527ceb844a5eb1e
SHA-256: 6cf4da2e24fc4afcda88e55d86e0071651ea68d6f04e480b12a479ab0306cdcc
 
(The unlinked packages above are only available from the Red Hat Network)

Bugs fixed (see bugzilla for more information)

1036409 - CVE-2013-6417 rubygem-actionpack: unsafe query generation risk (incomplete fix for CVE-2013-0155)
1036483 - CVE-2013-6414 rubygem-actionpack: Action View DoS
1036910 - CVE-2013-6415 rubygem-actionpack: number_to_currency XSS
1036922 - CVE-2013-4491 rubygem-actionpack: i18n missing translation XSS


References



These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from:
https://www.redhat.com/security/team/key/#package

The Red Hat security contact is secalert@redhat.com. More contact details at http://www.redhat.com/security/team/contact/