Live threats

All CVEs / Ruby-lang

CVE-2008-4310Ruby-lang Ruby

High 7.8 No auth neededHigh EPSS

Priority
63
CVSS 2.0
7.8
EPSS
13.6%
probability of exploitation in 30 days · percentile 97
Auth required
No
Published
Dec 9, 2008
Updated
Jun 16, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-399
Vector
AV:N/AC:L/Au:N/C:N/I:N/A:C

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Ruby.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
RubyGems webrick < 1.3.1 1.3.1 gem "webrick", ">= 1.3.1"

Per OSV / GitHub Advisories (GHSA-wfrc-r6c6-7j9r). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
ruby-langruby1.8.1
ruby-langruby1.8.5

Official sources

References

Links published by the sources. Open them with care.