The 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.
https://www.redhat.com/archives/fedora-package-announce/2008-October/msg00299.html
https://www.redhat.com/archives/fedora-package-announce/2008-October/msg00259.html
https://www.exploit-db.com/exploits/6239
https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9570
https://exchange.xforce.ibmcloud.com/vulnerabilities/44688
http://www.vupen.com/english/advisories/2009/1297
http://www.us-cert.gov/cas/techalerts/TA09-133A.html
http://www.securitytracker.com/id?1021075
http://www.securityfocus.com/bid/30682
http://www.redhat.com/support/errata/RHSA-2008-0897.html
http://www.redhat.com/support/errata/RHSA-2008-0895.html
http://www.debian.org/security/2009/dsa-1695
http://support.avaya.com/elmodocs2/security/ASA-2008-424.htm
http://support.apple.com/kb/HT3549
http://securityreason.com/securityalert/4158
http://secunia.com/advisories/35074
http://secunia.com/advisories/33398
http://secunia.com/advisories/33185
http://secunia.com/advisories/32372
http://secunia.com/advisories/32371
http://secunia.com/advisories/32219
http://secunia.com/advisories/32165
http://secunia.com/advisories/31430
http://lists.apple.com/archives/security-announce/2009/May/msg00002.html