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

high Nessus Plugin ID 37068

Synopsis

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

Description

Akira Tagoh discovered a vulnerability in Ruby which lead to an integer overflow. If a user or automated system were tricked into running a malicious script, an attacker could cause a denial of service or possibly execute arbitrary code with the privileges of the user invoking the program. (CVE-2008-2376)

Laurent Gaffie discovered that Ruby did not properly check for memory allocation failures. If a user or automated system were tricked into running a malicious script, an attacker could cause a denial of service. (CVE-2008-3443)

Keita Yamaguchi discovered several safe level vulnerabilities in Ruby.
An attacker could use this to bypass intended access restrictions.
(CVE-2008-3655)

Keita Yamaguchi discovered that WEBrick in Ruby did not properly validate paths ending with '.'. A remote attacker could send a crafted HTTP request and cause a denial of service. (CVE-2008-3656)

Keita Yamaguchi discovered that the dl module in Ruby did not check the taintness of inputs. An attacker could exploit this vulnerability to bypass safe levels and execute dangerous functions. (CVE-2008-3657)

Luka Treiber and Mitja Kolsek discovered that REXML in Ruby did not always use expansion limits when processing XML documents. If a user or automated system were tricked into open a crafted XML file, an attacker could cause a denial of service via CPU consumption.
(CVE-2008-3790)

Jan Lieskovsky discovered several flaws in the name resolver of Ruby.
A remote attacker could exploit this to spoof DNS entries, which could lead to misdirected traffic. This is a different vulnerability from CVE-2008-1447. (CVE-2008-3905).

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/651-1/

Plugin Details

Severity: High

ID: 37068

File Name: ubuntu_USN-651-1.nasl

Version: 1.29

Type: local

Agent: unix

Published: 4/23/2009

Updated: 1/19/2021

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.6

CVSS v2

Risk Factor: High

Base Score: 7.8

Temporal Score: 6.1

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

Vulnerability Information

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

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

Exploit Available: true

Exploit Ease: Exploits are available

Patch Publication Date: 10/9/2008

Reference Information

CVE: CVE-2008-1447, CVE-2008-2376, CVE-2008-3443, CVE-2008-3655, CVE-2008-3656, CVE-2008-3657, CVE-2008-3790, CVE-2008-3905

BID: 30036, 30131, 30644, 30682, 30802

CWE: 189, 20, 264, 287, 399

IAVA: 2008-A-0045

USN: 651-1