Debian DSA-2809-1 : ruby1.8 - several vulnerabilities

medium Nessus Plugin ID 71220

Synopsis

The remote Debian host is missing a security-related update.

Description

Several vulnerabilities have been discovered in the interpreter for the Ruby language. The Common Vulnerabilities and Exposures project identifies the following problems :

- CVE-2013-1821 Ben Murphy discovered that unrestricted entity expansion in REXML can lead to a Denial of Service by consuming all host memory.

- CVE-2013-4073 William (B.J.) Snow Orvis discovered a vulnerability in the hostname checking in Ruby's SSL client that could allow man-in-the-middle attackers to spoof SSL servers via a crafted certificate issued by a trusted certification authority.

- CVE-2013-4164 Charlie Somerville discovered that Ruby incorrectly handled floating point number conversion. If an application using Ruby accepted untrusted input strings and converted them to floating point numbers, an attacker able to provide such input could cause the application to crash or, possibly, execute arbitrary code with the privileges of the application.

Solution

Upgrade the ruby1.8 packages.

For the oldstable distribution (squeeze), these problems have been fixed in version 1.8.7.302-2squeeze2.

For the stable distribution (wheezy), these problems have been fixed in version 1.8.7.358-7.1+deb7u1.

See Also

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=702526

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=714541

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=730189

https://security-tracker.debian.org/tracker/CVE-2013-1821

https://security-tracker.debian.org/tracker/CVE-2013-4073

https://security-tracker.debian.org/tracker/CVE-2013-4164

https://packages.debian.org/source/squeeze/ruby1.8

https://packages.debian.org/source/wheezy/ruby1.8

https://www.debian.org/security/2013/dsa-2809

Plugin Details

Severity: Medium

ID: 71220

File Name: debian_DSA-2809.nasl

Version: 1.13

Type: local

Agent: unix

Published: 12/5/2013

Updated: 1/11/2021

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

Risk Information

VPR

Risk Factor: Medium

Score: 6.7

CVSS v2

Risk Factor: Medium

Base Score: 6.8

Temporal Score: 5

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

Vulnerability Information

CPE: cpe:/o:debian:debian_linux:6.0, p-cpe:/a:debian:debian_linux:ruby1.8, cpe:/o:debian:debian_linux:7.0

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

Exploit Ease: No known exploits are available

Patch Publication Date: 12/4/2013

Reference Information

CVE: CVE-2013-1821, CVE-2013-4073, CVE-2013-4164

BID: 58141, 60843, 63873

DSA: 2809