SuSE 11.2 Security Update : ruby (SAT Patch Number 7386)

Medium Nessus Plugin ID 65248

Synopsis

The remote SuSE 11 host is missing one or more security updates.

Description

The ruby interpreter received a fix for a security issue :

- Ruby's $SAFE mechanism enables untrusted user codes to run in $SAFE >= 4 mode. This is a kind of sandboxing so some operations are restricted in that mode to protect other data outside the sandbox. (CVE-2012-4466)

The problem found was around this mechanism.
Exception#to_s, NameError#to_s, and name_err_mesg_to_s() interpreter-internal API was not correctly handling the $SAFE bits so a String object which is not tainted can destructively be marked as tainted using them. By using this an untrusted code in a sandbox can modify a formerly-untainted string destructively.

http://www.ruby-lang.org/en/news/2012/10/12/cve-2012-446 4-cve-2012-4466/

Solution

Apply SAT patch number 7386.

See Also

https://bugzilla.novell.com/show_bug.cgi?id=783525

http://support.novell.com/security/cve/CVE-2012-4464.html

http://support.novell.com/security/cve/CVE-2012-4466.html

http://support.novell.com/security/cve/CVE-2012-4522.html

Plugin Details

Severity: Medium

ID: 65248

File Name: suse_11_ruby-130221.nasl

Version: Revision: 1.2

Type: local

Agent: unix

Published: 2013/03/13

Updated: 2013/10/25

Dependencies: 12634

Risk Information

Risk Factor: Medium

CVSS v2.0

Base Score: 5

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

Vulnerability Information

CPE: p-cpe:/a:novell:suse_linux:11:ruby, p-cpe:/a:novell:suse_linux:11:ruby-doc-html, p-cpe:/a:novell:suse_linux:11:ruby-tk, cpe:/o:novell:suse_linux:11

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

Patch Publication Date: 2013/02/21

Reference Information

CVE: CVE-2012-4464, CVE-2012-4466, CVE-2012-4522