CVE-2008-4310 in Ruby-Lang Ruby
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.
Affects 1 product from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, no confidentiality impact, no integrity impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Ruby-Lang | Ruby | 1.8.1 1.8.5 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Reported · reference |
Official description
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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2008-4310 |
|---|---|
| BreachSpider ID | BS-2008-GLOBAL-159899-H |
| CVSS vector | AV:N/AC:L/Au:N/C:N/I:N/A:C |
| Published | 2008-12-09 |
| Last modified | 2026-06-16 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-399: Resource Management Errors
Broad class covering failures in managing system resources such as memory, file handles, and connections.
Analysis AI-written, not human-reviewed
A vulnerability in 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.
The attack vector involves sending a specially crafted HTTP request to the WEBrick server, which can lead to excessive CPU consumption, effectively causing a denial of service.
Questions
What is CVE-2008-4310?
A vulnerability in 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.
What is the CVSS score for CVE-2008-4310?
CVE-2008-4310 has CVSS 7.8 (High). Vector: AV:N/AC:L/Au:N/C:N/I:N/A:C. EPSS: 13.6%.
Is CVE-2008-4310 actively exploited?
Public exploit available for CVE-2008-4310. Exploitation risk elevated.
How do I remediate CVE-2008-4310?
Priority: HIGH. PSIRT: [email protected]
What systems are affected by CVE-2008-4310?
CVE-2008-4310 affects Ruby-Lang Ruby.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Ruby-Lang","product":"Ruby","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-16.