Scientific Linux Security Update : ruby on SL4.x, SL5.x i386/x86_64 (20120130)

high Nessus Plugin ID 61228

Synopsis

The remote Scientific Linux host is missing one or more security updates.

Description

Ruby is an extensible, interpreted, object-oriented, scripting language. It has features to process text files and to do system management tasks.

A denial of service flaw was found in the implementation of associative arrays (hashes) in Ruby. An attacker able to supply a large number of inputs to a Ruby application (such as HTTP POST request parameters sent to a web application) that are used as keys when inserting data into an array could trigger multiple hash function collisions, making array operations take an excessive amount of CPU time. To mitigate this issue, randomization has been added to the hash function to reduce the chance of an attacker successfully causing intentional collisions. (CVE-2011-4815)

It was found that Ruby did not reinitialize the PRNG (pseudorandom number generator) after forking a child process. This could eventually lead to the PRNG returning the same result twice. An attacker keeping track of the values returned by one child process could use this flaw to predict the values the PRNG would return in other child processes (as long as the parent process persisted). (CVE-2011-3009)

All users of ruby are advised to upgrade to these updated packages, which contain backported patches to resolve these issues.

Solution

Update the affected packages.

See Also

http://www.nessus.org/u?defcefc9

Plugin Details

Severity: High

ID: 61228

File Name: sl_20120130_ruby_on_SL4_x.nasl

Version: 1.5

Type: local

Agent: unix

Published: 8/1/2012

Updated: 1/14/2021

Supported Sensors: Nessus Agent, Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

Risk Factor: High

Base Score: 7.8

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

Vulnerability Information

CPE: p-cpe:/a:fermilab:scientific_linux:ruby-mode, p-cpe:/a:fermilab:scientific_linux:irb, p-cpe:/a:fermilab:scientific_linux:ruby-docs, p-cpe:/a:fermilab:scientific_linux:ruby-irb, p-cpe:/a:fermilab:scientific_linux:ruby-ri, x-cpe:/o:fermilab:scientific_linux, p-cpe:/a:fermilab:scientific_linux:ruby-devel, p-cpe:/a:fermilab:scientific_linux:ruby-debuginfo, p-cpe:/a:fermilab:scientific_linux:ruby-libs, p-cpe:/a:fermilab:scientific_linux:ruby, p-cpe:/a:fermilab:scientific_linux:ruby-rdoc, p-cpe:/a:fermilab:scientific_linux:ruby-tcltk

Required KB Items: Host/local_checks_enabled, Host/RedHat/release, Host/RedHat/rpm-list, Host/cpu

Patch Publication Date: 1/30/2012

Vulnerability Publication Date: 8/5/2011

Reference Information

CVE: CVE-2011-2686, CVE-2011-4815