HighGHSA-wfrc-r6c6-7j9rCVE-2008-4310
WEBrick Denial of Service Vulnerability
Published 2 May 2022 · Updated 9 Feb 2024
Is your project on an affected webrick?
Look after several Rails or Ruby apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie
Affected package
webrickRubyGems
- Affected
- <1.3.1
- Fixed in
- 1.3.1
Update to the fixed version for your release line, for example:
bundle update --conservative webrick # Gemfile: '>= 1.3.1'Details
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.
Is GHSA-wfrc-r6c6-7j9r in any of your client repos?
Checking one package by hand is fine. Checking it across forty client projects is not. NPMscan reads the lockfiles in every GitHub repo you pick, finds each project with an affected webrick, and gives you the command that fixes it.
More advisories for webrick
- MediumCVE-2025-6442Ruby WEBrick read_headers method can lead to HTTP Request/Response Smuggling · 26 Jun 2025
- HighCVE-2024-47220HTTP Request Smuggling in ruby webrick · 22 Sept 2024
- HighCVE-2020-25613WEBRick vulnerable to HTTP Request/Response Smuggling · 24 May 2022
- HighCVE-2017-10784WEBrick RCE Vulnerability · 14 May 2022
- MediumCVE-2009-4492WEBrick Improper Input Validation vulnerability · 24 Oct 2017
References
- Advisorynvd.nist.gov/vuln/detail/CVE-2008-4310
- Linkgithub.com/ruby/webrick/commit/b2ccd5ff7ddd67a4548299e110dcc5a4728a5534
- Linkbugzilla.redhat.com/show_bug.cgi?id=470252
- Packagegithub.com/ruby/webrick
- Linkgithub.com/rubysec/ruby-advisory-db/blob/master/gems/webrick/CVE-2008-4310.yml
- Linkoval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10250
- Linkweb.archive.org/web/20111230125610/http://secunia.com/advisories/33013
- Linkwww.openwall.com/lists/oss-security/2008/12/04/2
- Linkwww.redhat.com/support/errata/RHSA-2008-0981.html
Advisory data from OSV.dev (opens OSV.dev in a new tab), refreshed daily.