Ubuntu 6.06 LTS / 6.10 / 7.04 / 7.10 : ruby1.8 vulnerabilities (USN-596-1)

medium Nessus Plugin ID 31704

Synopsis

The remote Ubuntu host is missing one or more security-related patches.

Description

Chris Clark discovered that Ruby's HTTPS module did not check for commonName mismatches early enough during SSL negotiation. If a remote attacker were able to perform man-in-the-middle attacks, this flaw could be exploited to view sensitive information in HTTPS requests coming from Ruby applications. (CVE-2007-5162)

It was discovered that Ruby's FTPTLS, telnets, and IMAPS modules did not check the commonName when performing SSL certificate checks. If a remote attacker were able to perform man-in-the-middle attacks, this flaw could be exploited to eavesdrop on encrypted communications from Ruby applications using these protocols. (CVE-2007-5770).

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 packages.

See Also

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

Plugin Details

Severity: Medium

ID: 31704

File Name: ubuntu_USN-596-1.nasl

Version: 1.15

Type: local

Agent: unix

Published: 3/28/2008

Updated: 1/19/2021

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

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: Medium

Base Score: 5

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

Vulnerability Information

CPE: p-cpe:/a:canonical:ubuntu_linux:libtcltk-ruby1.8, p-cpe:/a:canonical:ubuntu_linux:libreadline-ruby1.8, cpe:/o:canonical:ubuntu_linux:7.04, p-cpe:/a:canonical:ubuntu_linux:rdoc1.8, p-cpe:/a:canonical:ubuntu_linux:libruby1.8-dbg, p-cpe:/a:canonical:ubuntu_linux:ruby1.8-elisp, p-cpe:/a:canonical:ubuntu_linux:ri1.8, cpe:/o:canonical:ubuntu_linux:7.10, p-cpe:/a:canonical:ubuntu_linux:libopenssl-ruby1.8, p-cpe:/a:canonical:ubuntu_linux:ruby1.8-examples, cpe:/o:canonical:ubuntu_linux:6.06:-:lts, p-cpe:/a:canonical:ubuntu_linux:libgdbm-ruby1.8, p-cpe:/a:canonical:ubuntu_linux:libdbm-ruby1.8, cpe:/o:canonical:ubuntu_linux:6.10, p-cpe:/a:canonical:ubuntu_linux:ruby1.8-dev, p-cpe:/a:canonical:ubuntu_linux:libruby1.8, p-cpe:/a:canonical:ubuntu_linux:irb1.8, p-cpe:/a:canonical:ubuntu_linux:ruby1.8

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

Patch Publication Date: 3/26/2008

Reference Information

CVE: CVE-2007-5162, CVE-2007-5770

CWE: 287

USN: 596-1