CVE-2008-3443

NameCVE-2008-3443
DescriptionThe regular expression engine (regex.c) in Ruby 1.8.5 and earlier, 1.8.6 through 1.8.6-p286, 1.8.7 through 1.8.7-p71, and 1.9 through r18423 allows remote attackers to cause a denial of service (infinite loop and crash) via multiple long requests to a Ruby socket, related to memory allocation failure, and as demonstrated against Webrick.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SuSE, Mageia, GitHub code/issues, web search, more)
ReferencesDSA-1695-1
NVD severitymedium (attack range: remote)
Debian Bugs494401

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
ruby1.8 (PTS)wheezy1.8.7.358-7.1+deb7u3fixed
wheezy (security)1.8.7.358-7.1+deb7u4fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
ruby1.8source(unstable)1.8.7.72-1low494401
ruby1.8sourceetch1.8.5-4etch4mediumDSA-1695-1
ruby1.9source(unstable)1.9.0.2-9low
ruby1.9sourceetch1.9.0+20060609-1etch4mediumDSA-1695-1

Notes

Upstream commits 18212 (for 1.8) and 18213 (for 1.9).
this specific problem does not exist in ruby1.9 but a very similar problem
that has been fixed in this version (308_regexp_segv.dpatch)

Search for package or bug name: Reporting problems