{"schemaVersion":3,"id":"CVE-2008-4310","aliases":["RHSA-2008:0981","GHSA-wfrc-r6c6-7j9r"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2008-12-09T00:00:00.000Z","modified":"2024-08-07T10:08:35.153Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.8,"severity":"high","version":"2.0","versionLabel":"v2.0","source":"NVD","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:C","computed":false,"selection":"backend-summary"},"metrics":[{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":7.8,"severity":"high","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:C","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.13553,"percentile":0.96425,"severity":"medium","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.13553},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.13553,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.13553,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.13553,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.13553,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.13553,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.13553,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.13553,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.13553,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.13553,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.13553,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.13553,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.13553,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.13553,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.13553,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.13553,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.13553,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.13553,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.13553,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.13553,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.13553,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.13553,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.13553,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.13553,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.13553,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.13553,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.13553,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.13553,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.13553,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.13553,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.13553,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.13553,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.13553,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.13553,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.13553,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.13553,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.13553,"percentile":0.96425}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.13553,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.13553,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.13553,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.13553,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.13553,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.13553,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.13553,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.13553,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.13553,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.13553,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.13553,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.13553,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.13553,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.13553,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.13553,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.13553,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.13553,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.13553,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.13553,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.13553,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.13553,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.13553,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.13553,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.13553,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.13553,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.13553,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.13553,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.13553,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.13553,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.13553,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.13553,"percentile":0.96425}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"32222","name":"Ruby 1.9 - 'WEBrick::HTTP::DefaultFileHandler' Crafted HTTP Request Denial of Service","source":"exploit-database","url":"https://www.exploit-db.com/exploits/32222","maturity":"poc","reliabilityScore":0.8,"verified":true,"type":"dos","platforms":["multiple"],"requiresAuth":null,"exploitdb":{"verified":true,"type":"dos","platform":"multiple","file":"exploits/multiple/dos/32222.rb","codes":["CVE-2008-4310","OSVDB-47471","CVE-2008-3656"]},"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-399","name":"Resource Management Errors","description":"Weaknesses in this category are related to improper management of system resources.","type":"category","status":"Draft","abstraction":null,"likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/399.html"}],"affected":[{"vendor":"RubyGems","product":"webrick","name":"webrick","label":"webrick","ecosystem":"RubyGems","cpePart":null,"purl":"pkg:gem/webrick","purlType":"gem","versions":[{"text":"< 1.3.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.3.1","eol":null,"hubHref":null},{"vendor":"redhat","product":"irb","name":"irb","label":"irb","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/irb","purlType":"rpm","versions":[{"text":"< 0:1.8.1-7.el4_7.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:1.8.1-7.el4_7.2","eol":null,"hubHref":null},{"vendor":"redhat","product":"ruby","name":"ruby","label":"ruby","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/ruby","purlType":"rpm","versions":[{"text":"< 0:1.8.1-7.el4_7.2","noFixRecorded":false,"fixedIn":null},{"text":"< 0:1.8.5-5.el5_2.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:1.8.1-7.el4_7.2 | < 0:1.8.5-5.el5_2.6","eol":null,"hubHref":null},{"vendor":"redhat","product":"ruby-debuginfo","name":"ruby-debuginfo","label":"ruby-debuginfo","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/ruby-debuginfo","purlType":"rpm","versions":[{"text":"< 0:1.8.1-7.el4_7.2","noFixRecorded":false,"fixedIn":null},{"text":"< 0:1.8.5-5.el5_2.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:1.8.1-7.el4_7.2 | < 0:1.8.5-5.el5_2.6","eol":null,"hubHref":null},{"vendor":"redhat","product":"ruby-devel","name":"ruby-devel","label":"ruby-devel","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/ruby-devel","purlType":"rpm","versions":[{"text":"< 0:1.8.1-7.el4_7.2","noFixRecorded":false,"fixedIn":null},{"text":"< 0:1.8.5-5.el5_2.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:1.8.1-7.el4_7.2 | < 0:1.8.5-5.el5_2.6","eol":null,"hubHref":null},{"vendor":"redhat","product":"ruby-docs","name":"ruby-docs","label":"ruby-docs","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/ruby-docs","purlType":"rpm","versions":[{"text":"< 0:1.8.1-7.el4_7.2","noFixRecorded":false,"fixedIn":null},{"text":"< 0:1.8.5-5.el5_2.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:1.8.1-7.el4_7.2 | < 0:1.8.5-5.el5_2.6","eol":null,"hubHref":null},{"vendor":"redhat","product":"ruby-irb","name":"ruby-irb","label":"ruby-irb","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/ruby-irb","purlType":"rpm","versions":[{"text":"< 0:1.8.5-5.el5_2.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:1.8.5-5.el5_2.6","eol":null,"hubHref":null},{"vendor":"redhat","product":"ruby-libs","name":"ruby-libs","label":"ruby-libs","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/ruby-libs","purlType":"rpm","versions":[{"text":"< 0:1.8.1-7.el4_7.2","noFixRecorded":false,"fixedIn":null},{"text":"< 0:1.8.5-5.el5_2.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:1.8.1-7.el4_7.2 | < 0:1.8.5-5.el5_2.6","eol":null,"hubHref":null},{"vendor":"redhat","product":"ruby-mode","name":"ruby-mode","label":"ruby-mode","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/ruby-mode","purlType":"rpm","versions":[{"text":"< 0:1.8.1-7.el4_7.2","noFixRecorded":false,"fixedIn":null},{"text":"< 0:1.8.5-5.el5_2.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:1.8.1-7.el4_7.2 | < 0:1.8.5-5.el5_2.6","eol":null,"hubHref":null},{"vendor":"redhat","product":"ruby-rdoc","name":"ruby-rdoc","label":"ruby-rdoc","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/ruby-rdoc","purlType":"rpm","versions":[{"text":"< 0:1.8.5-5.el5_2.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:1.8.5-5.el5_2.6","eol":null,"hubHref":null},{"vendor":"redhat","product":"ruby-ri","name":"ruby-ri","label":"ruby-ri","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/ruby-ri","purlType":"rpm","versions":[{"text":"< 0:1.8.5-5.el5_2.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:1.8.5-5.el5_2.6","eol":null,"hubHref":null},{"vendor":"redhat","product":"ruby-tcltk","name":"ruby-tcltk","label":"ruby-tcltk","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/ruby-tcltk","purlType":"rpm","versions":[{"text":"< 0:1.8.1-7.el4_7.2","noFixRecorded":false,"fixedIn":null},{"text":"< 0:1.8.5-5.el5_2.6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 0:1.8.1-7.el4_7.2 | < 0:1.8.5-5.el5_2.6","eol":null,"hubHref":null},{"vendor":"ruby-lang","product":"ruby","name":"ruby","label":"ruby","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"1.8.1","noFixRecorded":false,"fixedIn":null},{"text":"1.8.5","noFixRecorded":false,"fixedIn":null}],"versionsText":"1.8.1 | 1.8.5","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"ruby","label":"Ruby","category":"lang"}},"hubHref":"/vendor/ruby-lang/ruby"}],"affectedCount":13,"eol":{"hasEol":false,"count":0},"references":[{"url":"http://www.redhat.com/support/errata/RHSA-2008-0981.html","label":"www.redhat.com/support/errata/RHSA-2008-0981.html","hostname":"www.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","WEB"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=470252","label":"bugzilla.redhat.com/show_bug.cgi?id=470252","hostname":"bugzilla.redhat.com","tags":["X Refsource CONFIRM","REPORT","WEB"]},{"url":"https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10250","label":"oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10250","hostname":"oval.cisecurity.org","tags":["VDB Entry","Signature","X Refsource OVAL","WEB"]},{"url":"http://www.openwall.com/lists/oss-security/2008/12/04/2","label":"www.openwall.com/lists/oss-security/2008/12/04/2","hostname":"www.openwall.com","tags":["Mailing List","X Refsource MLIST","WEB"]},{"url":"http://secunia.com/advisories/33013","label":"secunia.com/advisories/33013","hostname":"secunia.com","tags":["Third Party Advisory","X Refsource SECUNIA","Vendor Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2008:0981","label":"access.redhat.com/errata/RHSA-2008:0981","hostname":"access.redhat.com","tags":["Advisory"]},{"url":"https://access.redhat.com/security/updates/classification/#moderate","label":"access.redhat.com/security/updates/classification/","hostname":"access.redhat.com","tags":["ARTICLE"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2008/rhsa-2008_0981.json","label":"security.access.redhat.com/data/csaf/v2/advisories/2008/rhsa-2008_0981.json","hostname":"security.access.redhat.com","tags":["Advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2008-4310","label":"access.redhat.com/security/cve/CVE-2008-4310","hostname":"access.redhat.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2008-4310","label":"www.cve.org/CVERecord?id=CVE-2008-4310","hostname":"www.cve.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2008-4310","label":"nvd.nist.gov/vuln/detail/CVE-2008-4310","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/ruby/webrick/commit/b2ccd5ff7ddd67a4548299e110dcc5a4728a5534","label":"github.com/ruby/webrick/commit/b2ccd5ff7ddd67a4548299e110dcc5a4728a5534","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/ruby/webrick","label":"github.com/ruby/webrick","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/webrick/CVE-2008-4310.yml","label":"github.com/rubysec/ruby-advisory-db/blob/master/gems/webrick/CVE-2008-4310.yml","hostname":"github.com","tags":["WEB"]},{"url":"https://web.archive.org/web/20111230125610/http://secunia.com/advisories/33013","label":"web.archive.org/web/20111230125610/http://secunia.com/advisories/33013","hostname":"web.archive.org","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2008-12-09T00:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-07T10:08:35.153Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":44,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T21:22:52.294Z","stale":false,"partial":false}}