Gentoo Logo

Ruby: Security bypass vulnerability

Content:

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200510-05 / ruby
Release Date October 06, 2005
Latest Revision October 06, 2005: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
dev-lang/ruby < 1.8.3 >= 1.8.3 All supported architectures

Related bugreports: #106996

Synopsis

Ruby is vulnerable to a security bypass of the safe level mechanism.

2.  Impact Information

Background

Ruby is an interpreted scripting language for quick and easy object-oriented programming. Ruby supports the safe execution of untrusted code using a safe level and taint flag mechanism.

Description

Dr. Yutaka Oiwa discovered that Ruby fails to properly enforce safe level protections.

Impact

An attacker could exploit this vulnerability to execute arbitrary code beyond the restrictions specified in each safe level.

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

All Ruby users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/ruby-1.8.3"

4.  References



Print

Page updated October 06, 2005

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2014 Gentoo Foundation, Inc. Questions, Comments? Contact us.