USN-1603-1: Ruby vulnerabilities

Ubuntu Security Notice USN-1603-1

10th October, 2012

ruby1.8 vulnerabilities

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

  • Ubuntu 12.04 LTS
  • Ubuntu 11.10
  • Ubuntu 11.04
  • Ubuntu 10.04 LTS

Summary

Ruby could allow excessive access in untrusted programs.

Software description

  • ruby1.8 - Interpreter of object-oriented scripting language Ruby 1.8

Details

Shugo Maedo and Vit Ondruch 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. (CVE-2012-4466, CVE-2012-4481)

Update instructions

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

Ubuntu 12.04 LTS:
libruby1.8 1.8.7.352-2ubuntu1.1
Ubuntu 11.10:
libruby1.8 1.8.7.352-2ubuntu0.2
Ubuntu 11.04:
libruby1.8 1.8.7.302-2ubuntu0.2
Ubuntu 10.04 LTS:
libruby1.8 1.8.7.249-2ubuntu0.2

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-4466, CVE-2012-4481