Algorithmic complexity vulnerability in the WEBrick::HTTPUtils.split_header_value…
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- — Not recorded in CVSS 2.0
- Attack complexity
- Low
- Impact type
- Denial of service
- Confidentiality · integrity · availability
- None · None · Complete
- Fix status
- Fixed
Attack profile from CVSS 2.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-399 and the CVSS impact.
Summary
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.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 43
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* | up to 1.8.5 | Vulnerable | ruby |
| cpe:2.3:a:ruby-lang:ruby:1.6.8:*:*:*:*:*:*:* | 1.6.8 | Vulnerable | ruby |
| cpe:2.3:a:ruby-lang:ruby:1.8.0:*:*:*:*:*:*:* | 1.8.0 | Vulnerable | ruby |
| cpe:2.3:a:ruby-lang:ruby:1.8.1:*:*:*:*:*:*:* | 1.8.1 | Vulnerable | ruby |
| cpe:2.3:a:ruby-lang:ruby:1.8.1:-9:*:*:*:*:*:* | 1.8.1 -9 | Vulnerable | ruby |
| cpe:2.3:a:ruby-lang:ruby:1.8.2:*:*:*:*:*:*:* | 1.8.2 | Vulnerable | ruby |
| cpe:2.3:a:ruby-lang:ruby:1.8.2:preview2:*:*:*:*:*:* | 1.8.2 preview2 | Vulnerable | ruby |
| cpe:2.3:a:ruby-lang:ruby:1.8.2:preview3:*:*:*:*:*:* | 1.8.2 preview3 | Vulnerable | ruby |
| cpe:2.3:a:ruby-lang:ruby:1.8.2:preview4:*:*:*:*:*:* | 1.8.2 preview4 | Vulnerable | ruby |
| cpe:2.3:a:ruby-lang:ruby:1.8.3:*:*:*:*:*:*:* | 1.8.3 | Vulnerable | ruby |
- cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:* Versions up to 1.8.5 Vulnerable ·ruby
- cpe:2.3:a:ruby-lang:ruby:1.6.8:*:*:*:*:*:*:* Versions 1.6.8 Vulnerable ·ruby
- cpe:2.3:a:ruby-lang:ruby:1.8.0:*:*:*:*:*:*:* Versions 1.8.0 Vulnerable ·ruby
- cpe:2.3:a:ruby-lang:ruby:1.8.1:*:*:*:*:*:*:* Versions 1.8.1 Vulnerable ·ruby
- cpe:2.3:a:ruby-lang:ruby:1.8.1:-9:*:*:*:*:*:* Versions 1.8.1 -9 Vulnerable ·ruby
- cpe:2.3:a:ruby-lang:ruby:1.8.2:*:*:*:*:*:*:* Versions 1.8.2 Vulnerable ·ruby
- cpe:2.3:a:ruby-lang:ruby:1.8.2:preview2:*:*:*:*:*:* Versions 1.8.2 preview2 Vulnerable ·ruby
- cpe:2.3:a:ruby-lang:ruby:1.8.2:preview3:*:*:*:*:*:* Versions 1.8.2 preview3 Vulnerable ·ruby
- cpe:2.3:a:ruby-lang:ruby:1.8.2:preview4:*:*:*:*:*:* Versions 1.8.2 preview4 Vulnerable ·ruby
- cpe:2.3:a:ruby-lang:ruby:1.8.3:*:*:*:*:*:*:* Versions 1.8.3 Vulnerable ·ruby
Show 33 more CPE
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:ruby-lang:ruby:1.8.3:preview1:*:*:*:*:*:* | 1.8.3 preview1 | Vulnerable | ruby |
| cpe:2.3:a:ruby-lang:ruby:1.8.3:preview2:*:*:*:*:*:* | 1.8.3 preview2 | Vulnerable | ruby |
| cpe:2.3:a:ruby-lang:ruby:1.8.3:preview3:*:*:*:*:*:* | 1.8.3 preview3 | Vulnerable | ruby |
| cpe:2.3:a:ruby-lang:ruby:1.8.4:*:*:*:*:*:*:* | 1.8.4 | Vulnerable | ruby |
| cpe:2.3:a:ruby-lang:ruby:1.8.4:preview1:*:*:*:*:*:* | 1.8.4 preview1 | Vulnerable | ruby |
| cpe:2.3:a:ruby-lang:ruby:1.8.4:preview2:*:*:*:*:*:* | 1.8.4 preview2 | Vulnerable | ruby |
| cpe:2.3:a:ruby-lang:ruby:1.8.4:preview3:*:*:*:*:*:* | 1.8.4 preview3 | Vulnerable | ruby |
| cpe:2.3:a:ruby-lang:ruby:1.8.5:p11:*:*:*:*:*:* | 1.8.5 p11 | Vulnerable | ruby |
| cpe:2.3:a:ruby-lang:ruby:1.8.5:p113:*:*:*:*:*:* | 1.8.5 p113 | Vulnerable | ruby |
| cpe:2.3:a:ruby-lang:ruby:1.8.5:p115:*:*:*:*:*:* | 1.8.5 p115 | Vulnerable | ruby |
| cpe:2.3:a:ruby-lang:ruby:1.8.5:p12:*:*:*:*:*:* | 1.8.5 p12 | Vulnerable | ruby |
| cpe:2.3:a:ruby-lang:ruby:1.8.5:p2:*:*:*:*:*:* | 1.8.5 p2 | Vulnerable | ruby |
| cpe:2.3:a:ruby-lang:ruby:1.8.5:p35:*:*:*:*:*:* | 1.8.5 p35 | Vulnerable | ruby |
| cpe:2.3:a:ruby-lang:ruby:1.8.5:preview1:*:*:*:*:*:* | 1.8.5 preview1 | Vulnerable | ruby |
| cpe:2.3:a:ruby-lang:ruby:1.8.5:preview2:*:*:*:*:*:* | 1.8.5 preview2 | Vulnerable | ruby |
| cpe:2.3:a:ruby-lang:ruby:1.8.5:preview3:*:*:*:*:*:* | 1.8.5 preview3 | Vulnerable | ruby |
| cpe:2.3:a:ruby-lang:ruby:1.8.5:preview4:*:*:*:*:*:* | 1.8.5 preview4 | Vulnerable | ruby |
| cpe:2.3:a:ruby-lang:ruby:1.8.5:preview5:*:*:*:*:*:* | 1.8.5 preview5 | Vulnerable | ruby |
| cpe:2.3:a:ruby-lang:ruby:1.8.6:*:*:*:*:*:*:* | 1.8.6 | Vulnerable | ruby |
| cpe:2.3:a:ruby-lang:ruby:1.8.6:p110:*:*:*:*:*:* | 1.8.6 p110 | Vulnerable | ruby |
| cpe:2.3:a:ruby-lang:ruby:1.8.6:p114:*:*:*:*:*:* | 1.8.6 p114 | Vulnerable | ruby |
| cpe:2.3:a:ruby-lang:ruby:1.8.6:preview1:*:*:*:*:*:* | 1.8.6 preview1 | Vulnerable | ruby |
| cpe:2.3:a:ruby-lang:ruby:1.8.6:preview2:*:*:*:*:*:* | 1.8.6 preview2 | Vulnerable | ruby |
| cpe:2.3:a:ruby-lang:ruby:1.8.6:preview3:*:*:*:*:*:* | 1.8.6 preview3 | Vulnerable | ruby |
| cpe:2.3:a:ruby-lang:ruby:1.8.7:*:*:*:*:*:*:* | 1.8.7 | Vulnerable | ruby |
| cpe:2.3:a:ruby-lang:ruby:1.8.7:p17:*:*:*:*:*:* | 1.8.7 p17 | Vulnerable | ruby |
| cpe:2.3:a:ruby-lang:ruby:1.8.7:p22:*:*:*:*:*:* | 1.8.7 p22 | Vulnerable | ruby |
| cpe:2.3:a:ruby-lang:ruby:1.8.7:p71:*:*:*:*:*:* | 1.8.7 p71 | Vulnerable | ruby |
| cpe:2.3:a:ruby-lang:ruby:1.8.7:preview1:*:*:*:*:*:* | 1.8.7 preview1 | Vulnerable | ruby |
| cpe:2.3:a:ruby-lang:ruby:1.8.7:preview2:*:*:*:*:*:* | 1.8.7 preview2 | Vulnerable | ruby |
| cpe:2.3:a:ruby-lang:ruby:1.8.7:preview3:*:*:*:*:*:* | 1.8.7 preview3 | Vulnerable | ruby |
| cpe:2.3:a:ruby-lang:ruby:1.8.7:preview4:*:*:*:*:*:* | 1.8.7 preview4 | Vulnerable | ruby |
| cpe:2.3:a:ruby-lang:ruby:1.9.0:*:*:*:*:*:*:* | 1.9.0 | Vulnerable | ruby |
- cpe:2.3:a:ruby-lang:ruby:1.8.3:preview1:*:*:*:*:*:* Versions 1.8.3 preview1 Vulnerable ·ruby
- cpe:2.3:a:ruby-lang:ruby:1.8.3:preview2:*:*:*:*:*:* Versions 1.8.3 preview2 Vulnerable ·ruby
- cpe:2.3:a:ruby-lang:ruby:1.8.3:preview3:*:*:*:*:*:* Versions 1.8.3 preview3 Vulnerable ·ruby
- cpe:2.3:a:ruby-lang:ruby:1.8.4:*:*:*:*:*:*:* Versions 1.8.4 Vulnerable ·ruby
- cpe:2.3:a:ruby-lang:ruby:1.8.4:preview1:*:*:*:*:*:* Versions 1.8.4 preview1 Vulnerable ·ruby
- cpe:2.3:a:ruby-lang:ruby:1.8.4:preview2:*:*:*:*:*:* Versions 1.8.4 preview2 Vulnerable ·ruby
- cpe:2.3:a:ruby-lang:ruby:1.8.4:preview3:*:*:*:*:*:* Versions 1.8.4 preview3 Vulnerable ·ruby
- cpe:2.3:a:ruby-lang:ruby:1.8.5:p11:*:*:*:*:*:* Versions 1.8.5 p11 Vulnerable ·ruby
- cpe:2.3:a:ruby-lang:ruby:1.8.5:p113:*:*:*:*:*:* Versions 1.8.5 p113 Vulnerable ·ruby
- cpe:2.3:a:ruby-lang:ruby:1.8.5:p115:*:*:*:*:*:* Versions 1.8.5 p115 Vulnerable ·ruby
- cpe:2.3:a:ruby-lang:ruby:1.8.5:p12:*:*:*:*:*:* Versions 1.8.5 p12 Vulnerable ·ruby
- cpe:2.3:a:ruby-lang:ruby:1.8.5:p2:*:*:*:*:*:* Versions 1.8.5 p2 Vulnerable ·ruby
- cpe:2.3:a:ruby-lang:ruby:1.8.5:p35:*:*:*:*:*:* Versions 1.8.5 p35 Vulnerable ·ruby
- cpe:2.3:a:ruby-lang:ruby:1.8.5:preview1:*:*:*:*:*:* Versions 1.8.5 preview1 Vulnerable ·ruby
- cpe:2.3:a:ruby-lang:ruby:1.8.5:preview2:*:*:*:*:*:* Versions 1.8.5 preview2 Vulnerable ·ruby
- cpe:2.3:a:ruby-lang:ruby:1.8.5:preview3:*:*:*:*:*:* Versions 1.8.5 preview3 Vulnerable ·ruby
- cpe:2.3:a:ruby-lang:ruby:1.8.5:preview4:*:*:*:*:*:* Versions 1.8.5 preview4 Vulnerable ·ruby
- cpe:2.3:a:ruby-lang:ruby:1.8.5:preview5:*:*:*:*:*:* Versions 1.8.5 preview5 Vulnerable ·ruby
- cpe:2.3:a:ruby-lang:ruby:1.8.6:*:*:*:*:*:*:* Versions 1.8.6 Vulnerable ·ruby
- cpe:2.3:a:ruby-lang:ruby:1.8.6:p110:*:*:*:*:*:* Versions 1.8.6 p110 Vulnerable ·ruby
- cpe:2.3:a:ruby-lang:ruby:1.8.6:p114:*:*:*:*:*:* Versions 1.8.6 p114 Vulnerable ·ruby
- cpe:2.3:a:ruby-lang:ruby:1.8.6:preview1:*:*:*:*:*:* Versions 1.8.6 preview1 Vulnerable ·ruby
- cpe:2.3:a:ruby-lang:ruby:1.8.6:preview2:*:*:*:*:*:* Versions 1.8.6 preview2 Vulnerable ·ruby
- cpe:2.3:a:ruby-lang:ruby:1.8.6:preview3:*:*:*:*:*:* Versions 1.8.6 preview3 Vulnerable ·ruby
- cpe:2.3:a:ruby-lang:ruby:1.8.7:*:*:*:*:*:*:* Versions 1.8.7 Vulnerable ·ruby
- cpe:2.3:a:ruby-lang:ruby:1.8.7:p17:*:*:*:*:*:* Versions 1.8.7 p17 Vulnerable ·ruby
- cpe:2.3:a:ruby-lang:ruby:1.8.7:p22:*:*:*:*:*:* Versions 1.8.7 p22 Vulnerable ·ruby
- cpe:2.3:a:ruby-lang:ruby:1.8.7:p71:*:*:*:*:*:* Versions 1.8.7 p71 Vulnerable ·ruby
- cpe:2.3:a:ruby-lang:ruby:1.8.7:preview1:*:*:*:*:*:* Versions 1.8.7 preview1 Vulnerable ·ruby
- cpe:2.3:a:ruby-lang:ruby:1.8.7:preview2:*:*:*:*:*:* Versions 1.8.7 preview2 Vulnerable ·ruby
- cpe:2.3:a:ruby-lang:ruby:1.8.7:preview3:*:*:*:*:*:* Versions 1.8.7 preview3 Vulnerable ·ruby
- cpe:2.3:a:ruby-lang:ruby:1.8.7:preview4:*:*:*:*:*:* Versions 1.8.7 preview4 Vulnerable ·ruby
- cpe:2.3:a:ruby-lang:ruby:1.9.0:*:*:*:*:*:*:* Versions 1.9.0 Vulnerable ·ruby
Remediation
Red Hat 4 advisories
- RHSA-2026:8838 Released 2026-04-17 · Red Hat rating ModerateRed Hat Hardened Images RPMs bug fix and enhancement update
- Red Hat Hardened Images ruby4.0-4.0.0-33.3.hum1@aarch64, ruby4.0-4.0.0-33.3.hum1@src, ruby4.0-4.0.0-33.3.hum1@x86_64 +10
- RHSA-2026:7307 Released 2026-04-09 · Red Hat rating ModerateRed Hat Hardened Images RPMs bug fix and enhancement update
- Red Hat Hardened Images ruby3.4-3.4.8-31.1.hum1@aarch64, ruby3.4-3.4.8-31.1.hum1@src, ruby3.4-3.4.8-31.1.hum1@x86_64 +10
- RHSA-2026:7305 Released 2026-04-09 · Red Hat rating ModerateRed Hat Hardened Images RPMs bug fix and enhancement update
- Red Hat Hardened Images ruby3.3-3.3.10-23.1.hum1@aarch64, ruby3.3-3.3.10-23.1.hum1@src, ruby3.3-3.3.10-23.1.hum1@x86_64 +10
Show 1 more Red Hat advisories
- RHSA-2008:0897 Released 2008-10-21 · Red Hat rating Moderateruby security update
- Red Hat Enterprise Linux (v. 5 server) ruby-1.8.5-5.el5_2.5, ruby-1.8.5-5.el5_2.5.i386, ruby-1.8.5-5.el5_2.5.ia64 +33
- Red Hat Enterprise Linux AS version 4 irb-1.8.1-7.el4_7.1, irb-1.8.1-7.el4_7.1.i386, irb-1.8.1-7.el4_7.1.ia64 +25
- Red Hat Enterprise Linux Desktop (v. 5 client) ruby-1.8.5-5.el5_2.5, ruby-1.8.5-5.el5_2.5.i386, ruby-docs-1.8.5-5.el5_2.5 +11
- Red Hat Enterprise Linux Desktop Workstation (v. 5 client) ruby-1.8.5-5.el5_2.5, ruby-devel-1.8.5-5.el5_2.5, ruby-devel-1.8.5-5.el5_2.5.i386 +2
- Red Hat Enterprise Linux Desktop version 4 irb-1.8.1-7.el4_7.1, irb-1.8.1-7.el4_7.1.i386, ruby-1.8.1-7.el4_7.1 +11
- Red Hat Enterprise Linux ES version 4 irb-1.8.1-7.el4_7.1, irb-1.8.1-7.el4_7.1.i386, irb-1.8.1-7.el4_7.1.ia64 +18
- Red Hat Enterprise Linux WS version 4 irb-1.8.1-7.el4_7.1, irb-1.8.1-7.el4_7.1.i386, irb-1.8.1-7.el4_7.1.ia64 +18
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux (v. 5 server) | Fixed | RHSA-2008:0897 |
| Red Hat Enterprise Linux AS version 4 | Fixed | RHSA-2008:0897 |
| Red Hat Enterprise Linux Desktop (v. 5 client) | Fixed | RHSA-2008:0897 |
| Red Hat Enterprise Linux Desktop Workstation (v. 5 client) | Fixed | RHSA-2008:0897 |
| Red Hat Enterprise Linux Desktop version 4 | Fixed | RHSA-2008:0897 |
| Red Hat Enterprise Linux ES version 4 | Fixed | RHSA-2008:0897 |
| Red Hat Enterprise Linux WS version 4 | Fixed | RHSA-2008:0897 |
| Red Hat Hardened Images | Fixed | RHSA-2026:7305, RHSA-2026:7307, RHSA-2026:8838 |
Timeline
- 2026-10-02 Threatist record created from CVE-2008-3656
- 2026-10-03 Alias added: GHSA-823x-6r7f-v9x6
References
Advisory 9
More Ruby vulnerabilities
- TI-2026-71508 Integer overflow in GitLab allows code execution on the server KEVCVSS 3.1CRITICAL 10.0
- TI-2017-12709 Ruby before 2.4.3 allows Net::FTP command injection. CVSS 3.0HIGH 8.8
- TI-2021-09891 In Ruby through 3.0 on Windows, a remote attacker can submit a crafted path when a Web… CVSS 3.1HIGH 7.5
- TI-2013-03637 Heap-based buffer overflow in Ruby 1.8, 1.9 before 1.9.3-p484, 2.0 before 2.0.0-p353, 2.1… CVSS 2.0MEDIUM 6.8
- TI-2018-11751 An issue was discovered in the OpenSSL library in Ruby before 2.3.8, 2.4.x before 2.4.5… CVSS 3.0CRITICAL 9.8
- TI-2017-07892 The Basic authentication code in WEBrick library in Ruby before 2.2.8, 2.3.x before… CVSS 3.0HIGH 8.8
Sources
- CVE-2008-3656 · CVE Program
- CVE-2008-3656 · NVD
- FIRST EPSS
- GHSA-823x-6r7f-v9x6 · GitHub Advisory Database · CC BY 4.0
- CVE-2008-3656 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences