Oracle Linux 6 : rubygems (ELSA-2013-1441)

Medium Nessus Plugin ID 70524


The remote Oracle Linux host is missing a security update.


From Red Hat Security Advisory 2013:1441 :

An updated rubygems package that fixes three security issues is now available for Red Hat Enterprise Linux 6.

The Red Hat Security Response Team has rated this update as having moderate 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.

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.

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.


Update the affected rubygems package.

See Also

Plugin Details

Severity: Medium

ID: 70524

File Name: oraclelinux_ELSA-2013-1441.nasl

Version: $Revision: 1.4 $

Type: local

Agent: unix

Published: 2013/10/20

Modified: 2015/12/01

Dependencies: 12634

Risk Information

Risk Factor: Medium


Base Score: 5.8

Temporal Score: 5

Vector: CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:N

Temporal Vector: CVSS2#E:ND/RL:OF/RC:C

Vulnerability Information

CPE: p-cpe:/a:oracle:linux:rubygems, cpe:/o:oracle:linux:6

Required KB Items: Host/local_checks_enabled, Host/OracleLinux, Host/RedHat/release, Host/RedHat/rpm-list

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 2013/10/18

Reference Information

CVE: CVE-2012-2125, CVE-2012-2126, CVE-2013-4287

BID: 53174, 55680, 62281, 62442

OSVDB: 81444, 85809, 97163

RHSA: 2013:1441