USN-1780-1: Ruby vulnerability

Ubuntu Security Notice USN-1780-1

25th March, 2013

ruby1.8, ruby1.9.1 vulnerability

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

  • Ubuntu 12.10
  • Ubuntu 12.04 LTS
  • Ubuntu 11.10
  • Ubuntu 10.04 LTS

Summary

Ruby could be made to hang if it received specially crafted input.

Software description

  • ruby1.8 - Object-oriented scripting language
  • ruby1.9.1 - Object-oriented scripting language

Details

Ben Murphy discovered that the Ruby REXML library incorrectly handled XML
entity expansion. An attacker could use this flaw to cause Ruby to consume
large amounts of memory, resulting in a denial of service.

Update instructions

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

Ubuntu 12.10:
ruby1.8 1.8.7.358-4ubuntu0.2
ruby1.9.1 1.9.3.194-1ubuntu1.4
libruby1.8 1.8.7.358-4ubuntu0.2
libruby1.9.1 1.9.3.194-1ubuntu1.4
Ubuntu 12.04 LTS:
ruby1.8 1.8.7.352-2ubuntu1.2
ruby1.9.1 1.9.3.0-1ubuntu2.6
libruby1.8 1.8.7.352-2ubuntu1.2
libruby1.9.1 1.9.3.0-1ubuntu2.6
Ubuntu 11.10:
ruby1.8 1.8.7.352-2ubuntu0.3
libruby1.8 1.8.7.352-2ubuntu0.3
Ubuntu 10.04 LTS:
ruby1.8 1.8.7.249-2ubuntu0.3
libruby1.8 1.8.7.249-2ubuntu0.3

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-2013-1821