Alerts This Week
Warning Icon 1 714
Alerts This Week
Warning Icon 1 714

Red Hat 6: RHSA-2013:1441-01 Moderate: Rubygems SSL and API Issues

red hat
Calendar Grey October 17, 2013
Dist Redhat Esm H88
A recent advisory from Red Hat has updated rubygems, addressing critical vulnerabilities. The document outlines the identified issues and offers actionable guidance for remediation.
An updated rubygems package that fixes three security issues is now available for Red Hat Enterprise Linux 6

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

Summary

RubyGems is the Ruby standard for publishing and managing third-party libraries.
It was found that RubyGems did not verify SSL connections. This could lead to man-in-the-middle attacks. (CVE-2012-2126)
It was found that, when using RubyGems, the connection could be redirected from HTTPS to HTTP. This could lead to a user believing they are installing a gem via HTTPS, when the connection may have been silently downgraded to HTTP. (CVE-2012-2125)
It was discovered that the rubygems API validated version strings using an unsafe regular expression. An application making use of this API to process a version string from an untrusted source could be vulnerable to a denial of service attack through CPU exhaustion. (CVE-2013-4287)
Red Hat would like to thank Rubygems upstream for reporting CVE-2013-4287. Upstream acknowledges Damir Sharipov as the original reporter.
All rubygems users are advised to upgrade to this updated package, which contains backported patches to correct these issues.

References

https://access.redhat.com/security/cve/CVE-2012-2125 https://access.redhat.com/security/cve/CVE-2012-2126 https://access.redhat.com/security/cve/CVE-2013-4287 https://access.redhat.com/security/updates/classification#moderate

Package List

Red Hat Enterprise Linux Desktop Optional (v. 6):
Source:
noarch: rubygems-1.3.7-4.el6_4.noarch.rpm
Red Hat Enterprise Linux HPC Node Optional (v. 6):
Source:
noarch: rubygems-1.3.7-4.el6_4.noarch.rpm
Red Hat Enterprise Linux Server Optional (v. 6):
Source:
noarch: rubygems-1.3.7-4.el6_4.noarch.rpm
Red Hat Enterprise Linux Workstation Optional (v. 6):
Source:
noarch: rubygems-1.3.7-4.el6_4.noarch.rpm
These packages are GPG signed by Red Hat for security. Our key and details on how to verify the signature are available from https://access.redhat.com/security/team/key#package


Advisory ID: RHSA-2013:1441-01
Product: Red Hat Enterprise Linux
Issue date: 2013-10-17

Topic

An updated rubygems package that fixes three security issues is nowavailable for Red Hat Enterprise Linux 6.The Red Hat Security Response Team has rated this update as having moderatesecurity impact. Common Vulnerability Scoring System (CVSS) base scores,which give detailed severity ratings, are available for each vulnerabilityfrom the CVE links in the References section.

Relevant Releases Architectures

Red Hat Enterprise Linux Desktop Optional (v. 6) - noarch

Red Hat Enterprise Linux HPC Node Optional (v. 6) - noarch

Red Hat Enterprise Linux Server Optional (v. 6) - noarch

Red Hat Enterprise Linux Workstation Optional (v. 6) - noarch

Bugs Fixed

814718 - CVE-2012-2125 CVE-2012-2126 rubygems: Two security fixes in v1.8.23

1002364 - CVE-2013-4287 rubygems: version regex algorithmic complexity vulnerability

Get the latest News and Insights

Get the latest Linux and open source security news straight to your inbox.

Your message here