The read_multipart function in cgi.rb in Ruby before 1.8.5-p2 does not properly detect…
Priority LOW 30CWE-399Published · Updated
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 · Partial
- 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
The read_multipart function in cgi.rb in Ruby before 1.8.5-p2 does not properly detect boundaries in MIME multipart content, which allows remote attackers to cause a denial of service (infinite loop) via crafted HTTP requests, a different issue than CVE-2006-5467.
Why it matters now
EPSS 0.04037 90th percentileScored 2026-11-07
Fix Fixed Red Hat: 2 advisories
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 · 8
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:yukihiro_matsumoto:ruby:1.8:*:*:*:*:*:*:* | 1.8 | Vulnerable | Yukihiro Matsumoto |
| cpe:2.3:a:yukihiro_matsumoto:ruby:1.8.1:*:*:*:*:*:*:* | 1.8.1 | Vulnerable | Yukihiro Matsumoto |
| cpe:2.3:a:yukihiro_matsumoto:ruby:1.8.2:*:*:*:*:*:*:* | 1.8.2 | Vulnerable | Yukihiro Matsumoto |
| cpe:2.3:a:yukihiro_matsumoto:ruby:1.8.2_pre1:*:*:*:*:*:*:* | 1.8.2_pre1 | Vulnerable | Yukihiro Matsumoto |
| cpe:2.3:a:yukihiro_matsumoto:ruby:1.8.2_pre2:*:*:*:*:*:*:* | 1.8.2_pre2 | Vulnerable | Yukihiro Matsumoto |
| cpe:2.3:a:yukihiro_matsumoto:ruby:1.8.3:*:*:*:*:*:*:* | 1.8.3 | Vulnerable | Yukihiro Matsumoto |
| cpe:2.3:a:yukihiro_matsumoto:ruby:1.8.4:*:*:*:*:*:*:* | 1.8.4 | Vulnerable | Yukihiro Matsumoto |
| cpe:2.3:a:yukihiro_matsumoto:ruby:1.8.5:*:*:*:*:*:*:* | 1.8.5 | Vulnerable | Yukihiro Matsumoto |
- cpe:2.3:a:yukihiro_matsumoto:ruby:1.8:*:*:*:*:*:*:* Versions 1.8 Vulnerable ·Yukihiro Matsumoto
- cpe:2.3:a:yukihiro_matsumoto:ruby:1.8.1:*:*:*:*:*:*:* Versions 1.8.1 Vulnerable ·Yukihiro Matsumoto
- cpe:2.3:a:yukihiro_matsumoto:ruby:1.8.2:*:*:*:*:*:*:* Versions 1.8.2 Vulnerable ·Yukihiro Matsumoto
- cpe:2.3:a:yukihiro_matsumoto:ruby:1.8.2_pre1:*:*:*:*:*:*:* Versions 1.8.2_pre1 Vulnerable ·Yukihiro Matsumoto
- cpe:2.3:a:yukihiro_matsumoto:ruby:1.8.2_pre2:*:*:*:*:*:*:* Versions 1.8.2_pre2 Vulnerable ·Yukihiro Matsumoto
- cpe:2.3:a:yukihiro_matsumoto:ruby:1.8.3:*:*:*:*:*:*:* Versions 1.8.3 Vulnerable ·Yukihiro Matsumoto
- cpe:2.3:a:yukihiro_matsumoto:ruby:1.8.4:*:*:*:*:*:*:* Versions 1.8.4 Vulnerable ·Yukihiro Matsumoto
- cpe:2.3:a:yukihiro_matsumoto:ruby:1.8.5:*:*:*:*:*:*:* Versions 1.8.5 Vulnerable ·Yukihiro Matsumoto
Remediation
Red Hat 2 advisories
- RHSA-2008:0562 Released 2008-07-14 · Red Hat rating Moderateruby security update
- Red Hat Desktop version 3 irb-1.6.8-12.el3, irb-1.6.8-12.el3.i386, ruby-1.6.8-12.el3 +11
- Red Hat Enterprise Linux AS (Advanced Server) version 2.1 irb-1.6.4-6.el2.i386, ruby-1.6.4-6.el2, ruby-1.6.4-6.el2.i386 +4
- Red Hat Enterprise Linux AS version 3 irb-1.6.8-12.el3, irb-1.6.8-12.el3.i386, irb-1.6.8-12.el3.ia64 +25
- Red Hat Enterprise Linux ES version 2.1 irb-1.6.4-6.el2.i386, ruby-1.6.4-6.el2, ruby-1.6.4-6.el2.i386 +4
- Red Hat Enterprise Linux ES version 3 irb-1.6.8-12.el3, irb-1.6.8-12.el3.i386, irb-1.6.8-12.el3.ia64 +18
- Red Hat Enterprise Linux WS version 2.1 irb-1.6.4-6.el2.i386, ruby-1.6.4-6.el2, ruby-1.6.4-6.el2.i386 +4
- Red Hat Enterprise Linux WS version 3 irb-1.6.8-12.el3, irb-1.6.8-12.el3.i386, irb-1.6.8-12.el3.ia64 +18
- RHSA-2007:0961 Released 2007-11-13 · Red Hat rating Moderateruby security update
- Red Hat Enterprise Linux AS version 4 irb-1.8.1-7.EL4.8.1, irb-1.8.1-7.EL4.8.1.i386, irb-1.8.1-7.EL4.8.1.ia64 +25
- Red Hat Enterprise Linux Desktop version 4 irb-1.8.1-7.EL4.8.1, irb-1.8.1-7.EL4.8.1.i386, ruby-1.8.1-7.EL4.8.1 +11
- Red Hat Enterprise Linux ES version 4 irb-1.8.1-7.EL4.8.1, irb-1.8.1-7.EL4.8.1.i386, irb-1.8.1-7.EL4.8.1.ia64 +18
- Red Hat Enterprise Linux WS version 4 irb-1.8.1-7.EL4.8.1, irb-1.8.1-7.EL4.8.1.i386, irb-1.8.1-7.EL4.8.1.ia64 +18
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Desktop version 3 | Fixed | RHSA-2008:0562 |
| Red Hat Enterprise Linux AS (Advanced Server) version 2.1 | Fixed | RHSA-2008:0562 |
| Red Hat Enterprise Linux AS version 3 | Fixed | RHSA-2008:0562 |
| Red Hat Enterprise Linux AS version 4 | Fixed | RHSA-2007:0961 |
| Red Hat Enterprise Linux Desktop version 4 | Fixed | RHSA-2007:0961 |
| Red Hat Enterprise Linux ES version 2.1 | Fixed | RHSA-2008:0562 |
| Red Hat Enterprise Linux ES version 3 | Fixed | RHSA-2008:0562 |
| Red Hat Enterprise Linux ES version 4 | Fixed | RHSA-2007:0961 |
| Red Hat Enterprise Linux WS version 2.1 | Fixed | RHSA-2008:0562 |
| Red Hat Enterprise Linux WS version 3 | Fixed | RHSA-2008:0562 |
| Red Hat Enterprise Linux WS version 4 | Fixed | RHSA-2007:0961 |
Timeline
- 2026-10-02 Threatist record created from CVE-2006-6303
- 2026-10-03 Alias added: GHSA-fx2r-qhmq-3jjp
- 2026-10-31 EPSS moved to the 90th–95th percentile
References
Patch 4
- http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=218287
- http://www.ruby-lang.org/en/news/2006/12/04/another-dos-vulnerability-in-cgi-library/
- http://bugs.gentoo.org/show_bug.cgi?id=157048
- http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/ruby/lib/cgi.rb.diff?f=h&only_with_tag=MAIN&r1=text&tr1=1.92&r2=text&tr2=1.91
Advisory 7
More Yukihiro Matsumoto Ruby vulnerabilities
- TI-2005-01883 The XMLRPC server in utils.rb for the ruby library (libruby) 1.8 sets an invalid default… CVSS 2.0HIGH 7.5
- TI-2005-02214 Ruby 1.6.x up to 1.6.8, 1.8.x up to 1.8.2, and 1.9.0 development up to 2005-09-01 allows… CVSS 2.0HIGH 7.5
- TI-2006-03581 Multiple unspecified vulnerabilities in Ruby before 1.8.5 allow remote attackers to… CVSS 2.0MEDIUM 6.4
- TI-2006-01876 The HTTP/XMLRPC server in Ruby before 1.8.2 uses blocking sockets, which allows attackers… CVSS 2.0MEDIUM 5.0
- TI-2006-05279 The cgi.rb CGI library for Ruby 1.8 allows remote attackers to cause a denial of service… CVSS 2.0MEDIUM 5.0
- TI-2004-00890 The CGI module in Ruby 1.6 before 1.6.8, and 1.8 before 1.8.2, allows remote attackers to… CVSS 2.0MEDIUM 5.0
Sources
- CVE-2006-6303 · CVE Program
- CVE-2006-6303 · NVD
- FIRST EPSS
- GHSA-fx2r-qhmq-3jjp · GitHub Advisory Database · CC BY 4.0
- CVE-2006-6303 · 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