Ubuntu 12.04 LTS : rubygems vulnerabilities (USN-1582-1)

Ubuntu Security Notice (C) 2012-2016 Canonical, Inc. / NASL script (C) 2012-2016 Tenable Network Security, Inc.


Synopsis :

The remote Ubuntu host is missing a security-related patch.

Description :

John Firebaugh discovered that the RubyGems remote gem fetcher did not
properly verify SSL certificates. A remote attacker could exploit this
to perform a man in the middle attack to alter gem files being
downloaded for installation. (CVE-2012-2126)

John Firebaugh discovered that the RubyGems remote gem fetcher allowed
redirection from HTTPS to HTTP. A remote attacker could exploit this
to perform a man in the middle attack to alter gem files being
downloaded for installation. (CVE-2012-2125).

Note that Tenable Network Security has extracted the preceding
description block directly from the Ubuntu security advisory. Tenable
has attempted to automatically clean and format it as much as possible
without introducing additional issues.

Solution :

Update the affected rubygems package.

Risk factor :

Medium / CVSS Base Score : 5.8
(CVSS2#AV:N/AC:M/Au:N/C:P/I:P/A:N)
CVSS Temporal Score : 5.0
(CVSS2#E:ND/RL:OF/RC:C)
Public Exploit Available : true

Family: Ubuntu Local Security Checks

Nessus Plugin ID: 62306 ()

Bugtraq ID: 53174

CVE ID: CVE-2012-2125
CVE-2012-2126