Patchfirst
CVE-2008-3656 Public exploit EPSS 70.2%

Algorithmic complexity vulnerability in the WEBrick::HTTPUtils.split_header_value function in…

No fixed version listed yet.Check the vendor advisory. References ↓

Summary

The WEBrick::HTTPUtils.split_header_value function, used by WEBrick::HTTP::DefaultFileHandler in WEBrick (Ruby's bundled HTTP server library), contains an algorithmic complexity flaw in its backtracking regular expression processing. An attacker who can send a crafted HTTP request to a WEBrick server running an affected Ruby version (1.8.5 and earlier, 1.8.6 through 1.8.6-p286, 1.8.7 through 1.8.7-p71, and 1.9 through r18423) can exhaust CPU and deny service, with the attack depending only on the attacker's ability to reach the server and submit such a request.

Official description · CVE.org

Algorithmic complexity vulnerability in the WEBrick::HTTPUtils.split_header_value function in WEBrick::HTTP::DefaultFileHandler in WEBrick in Ruby 1.8.5 and earlier, 1.8.6 through 1.8.6-p286, 1.8.7 through 1.8.7-p71, and 1.9 through r18423 allows context-dependent attackers to cause a denial of service (CPU consumption) via a crafted HTTP request that is processed by a backtracking regular expression.

Breakdown
24.9 / 100
Exploited
Not confirmed
Reports
0
Tactics
0/15

Public exploit code (Metasploit) was available 5 days before disclosure.

  1. Public exploit codeMetasploit5 days before
  2. Disclosedday 0

See the family tree

A fix was bypassed or incomplete once over 9 years.

Same bug familyLinked by evidence that a fix failed or the same code was patched again. Oldest first.

  1. This CVECVE-2008-3656Algorithmic complexity vulnerability in the…13 Aug 2008
  2. incomplete fixHigh

    Why these are linked:

    • Stated in the CVE textNOTE: this issue exists because of an incomplete fix for CVE-2008-3656.
    CVE-2008-4310httputils.rb in WEBrick in Ruby 1.8.1 and 1.8.5, as used in Red…9 Dec 2008
  3. relatedMedium

    Why these are linked:

    CVE-2017-10784The Basic authentication code in WEBrick library in Ruby before…19 Sep 2017
↑ ↓ chooseEnter openEsc close