USN-1614-1: Ruby vulnerabilities

Ubuntu Security Notice USN-1614-1

22nd October, 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 version:

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

To update your system, please follow these instructions: https://wiki.ubuntu.com/Security/Upgrades.

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

References

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