USN-2412-1: Ruby vulnerability

20 November 2014

ruby1.8, ruby1.9.1, ruby2.0, ruby2.1 vulnerability

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

  • Ubuntu 14.10
  • Ubuntu 14.04 LTS
  • Ubuntu 12.04 LTS


Ruby could be made to consume resources.

Software Description

  • ruby2.0 - Object-oriented scripting language
  • ruby2.1 - Object-oriented scripting language
  • ruby1.9.1 - Object-oriented scripting language
  • ruby1.8 - Object-oriented scripting language


Tomas Hoger discovered that Ruby incorrectly handled XML entity expansion. An attacker could use this flaw to cause Ruby to consume large amounts of resources, resulting in a denial of service.

Update instructions

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

Ubuntu 14.10
libruby2.0 -
libruby2.1 - 2.1.2-2ubuntu1.2
ruby2.0 -
ruby2.1 - 2.1.2-2ubuntu1.2
Ubuntu 14.04 LTS
libruby1.9.1 -
libruby2.0 -
ruby1.9.1 -
ruby2.0 -
Ubuntu 12.04 LTS
libruby1.8 -
libruby1.9.1 -
ruby1.8 -
ruby1.9.1 -

To update your system, please follow these instructions:

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