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

medium Nessus Plugin ID 62306

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.

See Also

https://usn.ubuntu.com/1582-1/

Plugin Details

Severity: Medium

ID: 62306

File Name: ubuntu_USN-1582-1.nasl

Version: 1.10

Type: local

Agent: unix

Published: 9/26/2012

Updated: 9/19/2019

Supported Sensors: Frictionless Assessment AWS, Frictionless Assessment Azure, Frictionless Assessment Agent, Nessus Agent, Agentless Assessment, Nessus

Risk Information

VPR

Risk Factor: Medium

Score: 4.7

CVSS v2

Risk Factor: Medium

Base Score: 5.8

Temporal Score: 4.3

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

Vulnerability Information

CPE: p-cpe:/a:canonical:ubuntu_linux:rubygems, cpe:/o:canonical:ubuntu_linux:12.04:-:lts

Required KB Items: Host/cpu, Host/Debian/dpkg-l, Host/Ubuntu, Host/Ubuntu/release

Exploit Ease: No known exploits are available

Patch Publication Date: 9/25/2012

Vulnerability Publication Date: 10/1/2013

Reference Information

CVE: CVE-2012-2125, CVE-2012-2126

BID: 53174

USN: 1582-1