Algorithmic complexity vulnerability in the WEBrick::HTTPUtils.split_header_value function in…
No fixed version listed yet.Check the vendor advisory. References ↓
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.
- Exploited
- Not confirmed
- Reports
- 0
- Tactics
- 0/15
Exploitation timelineDated milestones for a CVE: when it was disclosed, when exploit code became public, when exploitation was confirmed, and when threat reports named it.
Public exploit code (Metasploit) was available 5 days before disclosure.
- Public exploit codeMetasploit5 days before
- Disclosedday 0
Patch historyEarlier and later CVEs in the same code, in date order. It shows when a fix was bypassed or incomplete and which version finally fixed it.
See the family treeA 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.
- This CVECVE-2008-3656Algorithmic complexity vulnerability in the…13 Aug 2008
incomplete fixHigh
Why these are linked: Link confidenceHow strong the evidence is that two CVEs are related. High: stated in the CVE text or linked in an advisory, or the same code was patched one release apart. Medium: the same code, or a version step plus a similar description. Low: similar description only.
- Stated in the CVE text
NOTE: this issue exists because of an incomplete fix for CVE-2008-3656.
- Stated in the CVE text
relatedMedium
Why these are linked: Link confidenceHow strong the evidence is that two CVEs are related. High: stated in the CVE text or linked in an advisory, or the same code was patched one release apart. Medium: the same code, or a version step plus a similar description. Low: similar description only.
- Same code patched: httputils.rb (machine-matched)Functions: normalize_pathcommit b2ccd5fcommit 4ac0f38