CVE-2008-4310 in the critical feed json
WEBrick Denial of Service Vulnerability
published 2008-12-09 17 y ago modified 2026-06-16 4 mo ago also GHSA-wfrc-r6c6-7j9r , EUVD-2022-5565
- cvss
- 7.8
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 13.6%
- EPSS 13.6% chance of exploitation in 30 days, percentile 96%
- public exploits
- 1
- Exploit-DB
Summary
httputils.rb in WEBrick in Ruby 1.8.1 and 1.8.5, as used in Red Hat Enterprise Linux 4 and 5, allows remote attackers to cause a denial of service (CPU consumption) via a crafted HTTP request. NOTE: this issue exists because of an incomplete fix for CVE-2008-3656.
Patch / fix
- rubygems webrick 1.3.1
- ruby RHEL 4 1.8.1-7.el4_7.2
- ruby RHEL 5 1.8.5-5.el5_2.6
- irb RHEL 4 1.8.1-7.el4_7.2
- ruby-ri RHEL 5 1.8.5-5.el5_2.6
- ruby-irb RHEL 5 1.8.5-5.el5_2.6
- ruby-libs RHEL 4 1.8.1-7.el4_7.2
- ruby-libs RHEL 5 1.8.5-5.el5_2.6
- ruby-mode RHEL 4 1.8.1-7.el4_7.2
red hat advisories RHSA-2008:0981
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2008-4310 updated
ruby: Incomplete fix for CVE-2008-3656
-
Red Hat Enterprise Linux (v. 5 server) ruby 1.8.5-5.el5_2.6, ruby-ri 1.8.5-5.el5_2.6, ruby-irb 1.8.5-5.el5_2.6, ruby-libs 1.8.5-5.el5_2.6, ruby-mode 1.8.5-5.el5_2.6, ruby-rdoc 1.8.5-5.el5_2.6, +1 more Red Hat Enterprise Linux AS version 4 irb 1.8.1-7.el4_7.2, ruby 1.8.1-7.el4_7.2, ruby-libs 1.8.1-7.el4_7.2, ruby-mode 1.8.1-7.el4_7.2, ruby-tcltk 1.8.1-7.el4_7.2 Red Hat Enterprise Linux Desktop (v. 5 client) ruby 1.8.5-5.el5_2.6, ruby-ri 1.8.5-5.el5_2.6, ruby-irb 1.8.5-5.el5_2.6, ruby-libs 1.8.5-5.el5_2.6, ruby-mode 1.8.5-5.el5_2.6, ruby-rdoc 1.8.5-5.el5_2.6, +1 more Red Hat Enterprise Linux Desktop version 4 irb 1.8.1-7.el4_7.2, ruby 1.8.1-7.el4_7.2, ruby-libs 1.8.1-7.el4_7.2, ruby-mode 1.8.1-7.el4_7.2, ruby-tcltk 1.8.1-7.el4_7.2 Red Hat Enterprise Linux Desktop Workstation (v. 5 client) ruby 1.8.5-5.el5_2.6, ruby-ri 1.8.5-5.el5_2.6, ruby-irb 1.8.5-5.el5_2.6, ruby-libs 1.8.5-5.el5_2.6, ruby-mode 1.8.5-5.el5_2.6, ruby-rdoc 1.8.5-5.el5_2.6, +1 more Red Hat Enterprise Linux ES version 4 irb 1.8.1-7.el4_7.2, ruby 1.8.1-7.el4_7.2, ruby-libs 1.8.1-7.el4_7.2, ruby-mode 1.8.1-7.el4_7.2, ruby-tcltk 1.8.1-7.el4_7.2fixed: vendor fix RHSA-2008:0981
+1 more productsfewer
Red Hat Enterprise Linux WS version 4 irb 1.8.1-7.el4_7.2, ruby 1.8.1-7.el4_7.2, ruby-libs 1.8.1-7.el4_7.2, ruby-mode 1.8.1-7.el4_7.2, ruby-tcltk 1.8.1-7.el4_7.2
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Timeline
- First public exploit (EDB-32222)
- Published
Exploit prediction
13.55% chance of exploitation in the next 30 days, higher than 96% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- EDB-32222 Ruby 1.9 - 'WEBrick::HTTP::DefaultFileHandler' Crafted HTTP Request Denial of Service dos, 2008-08-11
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 7.8 | AV:N/AC:L/Au:N/C:N/I:N/A:C |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| rubygems | webrick | <1.3.1 |
1.3.1 |
Classification
References
-
github.com
/ruby/webrick/commit/b2ccd5ff7ddd67a4548299e110dcc5a4728a5534
web
-
redhat.com
/support/errata/RHSA-2008-0981.html
vendor-advisory, web
-
secunia.com
/advisories/33013
third-party-advisory, vendor-advisory
-
bugzilla.redhat.com
/show_bug.cgi?id=470252
web
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10250
vdb-entry, signature, web
-
openwall.com
/lists/oss-security/2008/12/04/2
mailing-list, web
-
nvd.nist.gov
/vuln/detail/CVE-2008-4310
advisory
-
github.com
/ruby/webrick
package
-
github.com
/rubysec/ruby-advisory-db/blob/master/gems/webrick/CVE-2008-4310.yml
web
-
web.archive.org
/web/20111230125610/http://secunia.com/advisories/33013
web
Sources
- CVE List CVE-2008-4310
- GitHub Advisory GHSA-wfrc-r6c6-7j9r
- NVD CVE-2008-4310
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.