Debian Security Advisory

DSA-2809-1 ruby1.8 -- several vulnerabilities

Date Reported:
04 Dec 2013
Affected Packages:
Security database references:
In the Debian bugtracking system: Bug 702526, Bug 714541, Bug 730189.
In Mitre's CVE dictionary: CVE-2013-1821, CVE-2013-4073, CVE-2013-4164.
More information:

Several vulnerabilities have been discovered in the interpreter for the Ruby language. The Common Vulnerabilities and Exposures project identifies the following problems:

  • CVE-2013-1821

    Ben Murphy discovered that unrestricted entity expansion in REXML can lead to a Denial of Service by consuming all host memory.

  • CVE-2013-4073

    William (B.J.) Snow Orvis discovered a vulnerability in the hostname checking in Ruby's SSL client that could allow man-in-the-middle attackers to spoof SSL servers via a crafted certificate issued by a trusted certification authority.

  • CVE-2013-4164

    Charlie Somerville discovered that Ruby incorrectly handled floating point number conversion. If an application using Ruby accepted untrusted input strings and converted them to floating point numbers, an attacker able to provide such input could cause the application to crash or, possibly, execute arbitrary code with the privileges of the application.

For the oldstable distribution (squeeze), these problems have been fixed in version

For the stable distribution (wheezy), these problems have been fixed in version

For the unstable distribution (sid), these problems have been fixed in version

We recommend that you upgrade your ruby1.8 packages.