Debian Security Advisory

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

Date Reported:
12 Oct 2008
Affected Packages:
Security database references:
In Mitre's CVE dictionary: CVE-2008-3655, CVE-2008-3656, CVE-2008-3657, CVE-2008-3790, CVE-2008-3905.
More information:

Several vulnerabilities have been discovered in the interpreter for the Ruby language, which may lead to denial of service and other security problems. The Common Vulnerabilities and Exposures project identifies the following problems:

  • CVE-2008-3655

    Keita Yamaguchi discovered that several safe level restrictions are insufficiently enforced.

  • CVE-2008-3656

    Christian Neukirchen discovered that the WebRick module uses inefficient algorithms for HTTP header splitting, resulting in denial of service through resource exhaustion.

  • CVE-2008-3657

    It was discovered that the dl module doesn't perform taintness checks.

  • CVE-2008-3790

    Luka Treiber and Mitja Kolsek discovered that recursively nested XML entities can lead to denial of service through resource exhaustion in rexml.

  • CVE-2008-3905

    Tanaka Akira discovered that the resolv module uses sequential transaction IDs and a fixed source port for DNS queries, which makes it more vulnerable to DNS spoofing attacks.

For the stable distribution (etch), these problems have been fixed in version 1.8.5-4etch3. Packages for arm will be provided later.

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

We recommend that you upgrade your ruby1.8 packages.

Fixed in:

Debian GNU/Linux 4.0 (etch)

Architecture-independent component:
HP Precision:
Intel IA-32:
Intel IA-64:
Big-endian MIPS:
Little-endian MIPS:
IBM S/390:
Sun Sparc:

MD5 checksums of the listed files are available in the original advisory.