CVE-2008-3656: High severity ruby vulnerability

Published Aug 8, 2008
·
Updated

Algorithmic complexity vulnerability in the WEBrick::HTTPUtils.splitheadervalue 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.

Other sources

Common Vulnerabilities and Exposures assigned an identifier CVE-2008-3656 to the following vulnerability:

Algorithmic complexity vulnerability in WEBrick::HTTP::DefaultFileHandler in WEBrick in Ruby 1.8.5 and earlier, 1.8.5 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.

Refences: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=494401 http://www.ruby-lang.org/en/news/2008/08/08/multiple-vulnerabilities-in-ruby/

Red Hat

Affected Software

45 affected componentsFixes available
redhat/ruby<0:1.8.1-7.el4_7.1
0:1.8.1-7.el4_7.1
redhat/ruby<0:1.8.5-5.el5_2.5
0:1.8.5-5.el5_2.5
ruby-lang Ruby=1.8.3-preview1
ruby-lang Ruby=1.8.2-preview4
ruby-lang Ruby=1.8.4-preview2
ruby-lang Ruby=1.8.1--9
ruby-lang Ruby=1.8.7-preview3
ruby-lang Ruby=1.8.7-p17
ruby-lang Ruby=1.9.0
ruby-lang Ruby=1.8.2-preview3
ruby-lang Ruby=1.8.6-p110
ruby-lang Ruby=1.8.5-p2
ruby-lang Ruby=1.8.5-preview5
ruby-lang Ruby=1.8.5-p12
ruby-lang Ruby=1.8.5-preview1
ruby-lang Ruby=1.8.7-p71
ruby-lang Ruby=1.8.4-preview1
ruby-lang Ruby=1.8.7-p22
ruby-lang Ruby=1.8.4
ruby-lang Ruby=1.8.3
ruby-lang Ruby<=1.8.5
ruby-lang Ruby=1.8.3-preview2
ruby-lang Ruby=1.8.2
ruby-lang Ruby=1.8.4-preview3
ruby-lang Ruby=1.8.7-preview2
ruby-lang Ruby=1.8.1
ruby-lang Ruby=1.8.2-preview2
ruby-lang Ruby=1.8.3-preview3
ruby-lang Ruby=1.8.6-preview1
ruby-lang Ruby=1.8.6-p114
ruby-lang Ruby=1.8.5-preview4
ruby-lang Ruby=1.8.5-preview2
ruby-lang Ruby=1.8.6-preview3
ruby-lang Ruby=1.8.0
ruby-lang Ruby=1.8.5-p11
ruby-lang Ruby=1.8.7
ruby-lang Ruby=1.6.8
ruby-lang Ruby=1.8.6-preview2
ruby-lang Ruby=1.8.5-p35
ruby-lang Ruby=1.8.5-p113
ruby-lang Ruby=1.8.5-p115
ruby-lang Ruby=1.8.7-preview1
ruby-lang Ruby=1.8.6
ruby-lang Ruby=1.8.7-preview4
ruby-lang Ruby=1.8.5-preview3

Event History

Aug 8, 2008
CVE Published
via Red Hat·12:00 AM
Aug 13, 2008
CVE Published
via MITRE·01:00 AM
Data Sourced
via MITRE·01:00 AM
Description
Data Sourced
via Red Hat·01:49 PM
DescriptionSeverityAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is the severity of CVE-2008-3656?

CVE-2008-3656 is classified as a denial of service vulnerability in Ruby's WEBrick server.

2

How do I fix CVE-2008-3656?

To fix CVE-2008-3656, upgrade to Ruby version 1.8.7-p72 or later.

3

What software is affected by CVE-2008-3656?

CVE-2008-3656 affects Ruby versions 1.8.1 through 1.8.7-p71 and versions of Ruby 1.9 up to r18423.

4

Can CVE-2008-3656 be exploited remotely?

Yes, CVE-2008-3656 can be exploited by context-dependent attackers to trigger denial of service remotely.

5

What functionalities does CVE-2008-3656 impact?

CVE-2008-3656 impacts the WEBrick::HTTPUtils.split_header_value function's ability to handle headers, leading to potential service downtime.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203