CVE-2008-3656: 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,...
High CVSS 7.8
- CVE id
- CVE-2008-3656
- Published
- Last modified
Affected packages
| Package | Affected versions | Fixed in |
|---|---|---|
| Ruby Runtimes and servers |
<= 1.8.5 | after 1.8.5 |
How to fix it
Upgrade Ruby to a release newer than 1.8.5.
ruby --version
- Install the patched Ruby release of your minor line (rbenv, the ruby image tag) and update .ruby-version.
A free AIssue account reads the runtime versions your repositories pin (version files, Dockerfiles, build files) and tells you when one is affected.
Details
Algorithmic complexity vulnerability in the WEBrick::HTTPUtils.splitheadervalue 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.
References
- CVE-2008-3656 on the NVD
- Advisory: https://nvd.nist.gov/vuln/detail/CVE-2008-3656
- Web: https://exchange.xforce.ibmcloud.com/vulnerabilities/44371
- Web: https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9682
- Web: https://usn.ubuntu.com/651-1/
- Web: https://www.redhat.com/archives/fedora-package-announce/2008-October/msg00259.html
- Web: https://www.redhat.com/archives/fedora-package-announce/2008-October/msg00299.html
- Web: https://exchange.xforce.ibmcloud.com/vulnerabilities/44371
- Web: https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A9682
- Web: https://usn.ubuntu.com/651-1/
- Web: https://www.redhat.com/archives/fedora-package-announce/2008-October/msg00259.html
- Web: https://www.redhat.com/archives/fedora-package-announce/2008-October/msg00299.html
Am I affected?
Upload or paste your lockfile. We check every package version in it against OSV.dev, this advisory included, and email you the vulnerable ones with the version that fixes them. Free, and no account needed.
About this data
Source: National Vulnerability Database (NVD) (public domain). Severity comes from the advisory's own rating when it has one, else from its CVSS score.