Articles / Ubuntu: Security update for...

Ubuntu: Security update for Ruby

Tyler Hicks and Shugo Maeda discovered that Ruby incorrectly allowed untainted strings to be modified in protective safe levels. An attacker could use this flaw to bypass intended access restrictions. Peter Bex discovered that Ruby incorrectly handled file path strings when opening files. An attacker could use this flaw to open or create unexpected files.

Updated packages are available from security.ubuntu.com.

==========================================================================
Ubuntu Security Notice USN-1614-1
October 23, 2012

ruby1.9.1 vulnerabilities
==========================================================================

A security issue affects these releases of Ubuntu and its derivatives:

- Ubuntu 12.10
- Ubuntu 12.04 LTS

Summary:

Several security issues were fixed in Ruby.

Software Description:
- ruby1.9.1: Interpreter of object-oriented scripting language Ruby

Details:

Tyler Hicks and Shugo Maeda discovered that Ruby incorrectly allowed untainted
strings to be modified in protective safe levels. An attacker could use this
flaw to bypass intended access restrictions. USN-1602-1 fixed these
vulnerabilities in other Ubuntu releases. This update provides the
corresponding updates for Ubuntu 12.10. (CVE-2012-4464, CVE-2012-4466)

Peter Bex discovered that Ruby incorrectly handled file path strings when
opening files. An attacker could use this flaw to open or create unexpected
files. (CVE-2012-4522)

Update instructions:

The problem can be corrected by updating your system to the following
package versions:

Ubuntu 12.10:
 libruby1.9.1                    1.9.3.194-1ubuntu1.2

Ubuntu 12.04 LTS:
 libruby1.9.1                    1.9.3.0-1ubuntu2.4

In general, a standard system update will make all the necessary changes.

References:
 http://www.ubuntu.com/usn/usn-1614-1
 CVE-2012-4464, CVE-2012-4466, CVE-2012-4522

Package Information:
 https://launchpad.net/ubuntu/+source/ruby1.9.1/1.9.3.194-1ubuntu1.2
 https://launchpad.net/ubuntu/+source/ruby1.9.1/1.9.3.0-1ubuntu2.4
Screenshot

Project Spotlight

Shellpic

Display of images using escape codes.

Screenshot

Project Spotlight

NetStats Baseball

A simulation of major league baseball.