CVE-2008-4310Ruby-lang Ruby
High 7.8 No auth neededHigh EPSS
Follow: this CVE · Ruby-lang · Ruby-lang Ruby We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Ruby.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| ruby-lang | ruby | 1.8.1 |
| ruby-lang | ruby | 1.8.5 |
Official sources
References
Links published by the sources. Open them with care.
- secunia.com Vendor Advisory
- www.openwall.com
- www.redhat.com
- bugzilla.redhat.com
- oval.cisecurity.org