USN-1614-1: Ruby vulnerabilities

23 October 2012

ruby1.9.1 vulnerabilities

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

  • Ubuntu 12.10
  • Ubuntu 12.04 LTS


Several security issues were fixed in Ruby.

Software Description

  • ruby1.9.1 - Interpreter of object-oriented scripting language 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. 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 -
Ubuntu 12.04 LTS
libruby1.9.1 -

To update your system, please follow these instructions:

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