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: 1.4

Type: local

Agent: unix

Published: 3/13/2013

Updated: 1/19/2021

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

Risk Information

VPR

Risk Factor: Low

Score: 3.7

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:novell:suse_linux:11:ruby-tk, cpe:/o:novell:suse_linux:11, p-cpe:/a:novell:suse_linux:11:ruby, p-cpe:/a:novell:suse_linux:11:ruby-doc-html

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

Patch Publication Date: 2/21/2013

Reference Information

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