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: 2012/09/26

Updated: 2019/09/19

Dependencies: 12634

Risk Information

Risk Factor: Medium

CVSS v2.0

Base Score: 5.8

Temporal Score: 4.3

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

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

Vulnerability Information

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

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

Exploit Available: false

Exploit Ease: No known exploits are available

Patch Publication Date: 2012/09/25

Vulnerability Publication Date: 2013/10/01

Reference Information

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

BID: 53174

USN: 1582-1