Red Hat: 2013:1441-01: rubygems: Moderate Advisory
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.
Summary
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
References
https://www.redhat.com/security/data/cve/CVE-2012-2125.html https://www.redhat.com/security/data/cve/CVE-2012-2126.html https://www.redhat.com/security/data/cve/CVE-2013-4287.html 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
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.
Topic
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