{"id":"CVE-2008-3656","published":"2008-08-13T01:00:00Z","modified":"2024-08-07T09:45:18Z","title":"Algorithmic complexity vulnerability in the WEBrick::HTTPUtils.split_header_value function in…","vendor":null,"product":null,"tier":"core","eol":null,"description":{"text":"Algorithmic complexity vulnerability in the WEBrick::HTTPUtils.split_header_value function in WEBrick::HTTP::DefaultFileHandler in WEBrick 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 context-dependent attackers to cause a denial of service (CPU consumption) via a crafted HTTP request that is processed by a backtracking regular expression.","provenance":"source","from":"CVE.org"},"summary":{"text":"The WEBrick::HTTPUtils.split_header_value function, used by WEBrick::HTTP::DefaultFileHandler in WEBrick (Ruby's bundled HTTP server library), contains an algorithmic complexity flaw in its backtracking regular expression processing. An attacker who can send a crafted HTTP request to a WEBrick server running an affected Ruby version (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) can exhaust CPU and deny service, with the attack depending only on the attacker's ability to reach the server and submit such a request.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-10-29T07:20:09Z"},"cvss":null,"epss":{"score":0.70202,"percentile":0.99378,"date":"2026-10-28","provenance":"source"},"kev":null,"vulncheckKev":null,"exploited":false,"otx":{"pulseCount":0,"pulses":[],"provenance":"machine"},"cwes":[],"references":[{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9682","tags":["vdb-entry","signature","x_refsource_OVAL"]},{"url":"http://secunia.com/advisories/31430","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/31697","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"https://usn.ubuntu.com/651-1/","tags":["vendor-advisory","x_refsource_UBUNTU"]},{"url":"https://exchange.xforce.ibmcloud.com/vulnerabilities/44371","tags":["vdb-entry","x_refsource_XF"]},{"url":"http://support.apple.com/kb/HT3549","tags":["x_refsource_CONFIRM"]},{"url":"http://wiki.rpath.com/wiki/Advisories:rPSA-2008-0264","tags":["x_refsource_CONFIRM"]},{"url":"http://www.debian.org/security/2008/dsa-1652","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"https://www.redhat.com/archives/fedora-package-announce/2008-October/msg00299.html","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"http://secunia.com/advisories/35074","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://support.avaya.com/elmodocs2/security/ASA-2008-424.htm","tags":["x_refsource_CONFIRM"]},{"url":"http://www.debian.org/security/2008/dsa-1651","tags":["vendor-advisory","x_refsource_DEBIAN"]},{"url":"http://lists.apple.com/archives/security-announce/2009/May/msg00002.html","tags":["vendor-advisory","x_refsource_APPLE"]},{"url":"http://www.securityfocus.com/bid/30644","tags":["vdb-entry","x_refsource_BID"]},{"url":"http://www.redhat.com/support/errata/RHSA-2008-0897.html","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"http://www.ruby-lang.org/en/news/2008/08/08/multiple-vulnerabilities-in-ruby/","tags":["x_refsource_CONFIRM"]},{"url":"http://secunia.com/advisories/32219","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.securitytracker.com/id?1020654","tags":["vdb-entry","x_refsource_SECTRACK"]},{"url":"http://www.us-cert.gov/cas/techalerts/TA09-133A.html","tags":["third-party-advisory","x_refsource_CERT"]},{"url":"http://secunia.com/advisories/32255","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.vupen.com/english/advisories/2009/1297","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"http://www.securityfocus.com/archive/1/495884/100/0/threaded","tags":["mailing-list","x_refsource_BUGTRAQ"]},{"url":"http://secunia.com/advisories/32371","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://secunia.com/advisories/32165","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://security.gentoo.org/glsa/glsa-200812-17.xml","tags":["vendor-advisory","x_refsource_GENTOO"]},{"url":"http://secunia.com/advisories/33178","tags":["third-party-advisory","x_refsource_SECUNIA"]},{"url":"http://www.vupen.com/english/advisories/2008/2334","tags":["vdb-entry","x_refsource_VUPEN"]},{"url":"https://www.redhat.com/archives/fedora-package-announce/2008-October/msg00259.html","tags":["vendor-advisory","x_refsource_FEDORA"]},{"url":"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=494401","tags":["x_refsource_CONFIRM"]},{"url":"http://secunia.com/advisories/32256","tags":["third-party-advisory","x_refsource_SECUNIA"]}],"techniques":[],"reports":[],"affected":[],"advisories":[],"euvd":{"id":"EUVD-2008-3642","url":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2008-3642","exploited":false,"exploitedSince":null,"provenance":"source"},"exploits":[{"id":32222,"url":"https://www.exploit-db.com/exploits/32222","title":"Ruby 1.9 - 'WEBrick::HTTP::DefaultFileHandler' Crafted HTTP Request Denial of Service","type":"dos","platform":"multiple","date":"2008-08-11","verified":true,"provenance":"source"}],"exploitSources":{"exploitdb":{"count":1,"earliest":"2008-08-11"},"metasploit":[{"name":"Ruby WEBrick::HTTP::DefaultFileHandler DoS","module":"auxiliary/dos/http/webrick_regex","type":"auxiliary","disclosureDate":"2008-08-08","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/dos/http/webrick_regex.rb"}],"first":{"date":"2008-08-08","source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/dos/http/webrick_regex.rb"},"provenance":"source"},"exploitRefs":[],"flow":[],"timeline":[{"date":"2008-08-08","kind":"exploit-public","label":"First public exploit: Metasploit; later: Exploit-DB 2008-08-11","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/dos/http/webrick_regex.rb","provenance":"source"},{"date":"2008-08-13","kind":"published","label":"Published (CVE.org)","url":"https://www.cve.org/CVERecord?id=CVE-2008-3656","provenance":"source"}],"speed":{"daysToPublicExploit":null,"firstExploitFrom":"Metasploit","daysToKev":null},"priority":{"score":24.9,"factors":[{"name":"In a KEV catalog","points":0.0,"detail":"not listed"},{"name":"Recent KEV listing","points":0.0,"detail":"not listed"},{"name":"Known ransomware use","points":0.0,"detail":"not known"},{"name":"EPSS percentile","points":19.88,"detail":"percentile 0.9938"},{"name":"Named in threat reports","points":0.0,"detail":"0 reports"},{"name":"Public exploit code","points":5.0,"detail":"1 Exploit-DB entry; 1 Metasploit module"},{"name":"Mentioned in OTX pulses","points":0.0,"detail":"0 pulses"},{"name":"CVSS severity","points":0.0,"detail":"no CVSS"},{"name":"End-of-life product","points":0.0,"detail":"supported or unknown"}]},"lineage":{"familyId":"fam-webrick-cve-2008-3656","children":[{"from":"CVE-2008-3656","to":"CVE-2008-4310","relation":"incomplete-fix","confidence":"high","kind":"lineage","evidence":[{"kind":"text","provenance":"source","relation":"incomplete-fix","quote":"NOTE: this issue exists because of an incomplete fix for CVE-2008-3656.","from":"CVE.org","in":"CVE-2008-4310"}]}]}}