Skip to content
Fencer Vulns
high 7.8

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.2
    +1 more products
    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
    fixed: vendor fix RHSA-2008:0981

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

  1. First public exploit (EDB-32222)
  2. 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

Weakness
  • CWE-399 Resource Management Errors
  • CWE-400 Uncontrolled Resource Consumption

References

Sources

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.