CVE-2006-6303 json
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 r…
published 2006-12-06 19 y ago modified 2026-06-16 4 mo ago also EUVD-2006-6286
- cvss
- 5.0
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 4.0%
- EPSS 4.0% chance of exploitation in 30 days, percentile 90%
- public exploits
- 0
- none known
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.
Patch / fix
- ruby RHEL 2.1 1.6.4-6.el2
- ruby RHEL 3 1.6.8-12.el3
- irb RHEL 2.1 1.6.4-6.el2
- irb RHEL 3 1.6.8-12.el3
- ruby-libs RHEL 2.1 1.6.4-6.el2
- ruby-libs RHEL 3 1.6.8-12.el3
- ruby-mode RHEL 3 1.6.8-12.el3
- ruby-tcltk RHEL 2.1 1.6.4-6.el2
red hat advisories RHSA-2008:0562RHSA-2007:0961
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2006-6303 updated
ruby's cgi.rb vulnerable infinite loop DoS
-
Red Hat Desktop version 3 irb 1.6.8-12.el3, ruby 1.6.8-12.el3, ruby-libs 1.6.8-12.el3, ruby-mode 1.6.8-12.el3, ruby-tcltk 1.6.8-12.el3 Red Hat Enterprise Linux AS (Advanced Server) version 2.1 irb 1.6.4-6.el2, ruby 1.6.4-6.el2, ruby-libs 1.6.4-6.el2, ruby-tcltk 1.6.4-6.el2 Red Hat Enterprise Linux AS version 3 irb 1.6.8-12.el3, ruby 1.6.8-12.el3, ruby-libs 1.6.8-12.el3, ruby-mode 1.6.8-12.el3, ruby-tcltk 1.6.8-12.el3fixed: vendor fix RHSA-2008:0562
-
Red Hat Enterprise Linux AS version 4 irb 1.8.1-7.EL4.8.1, ruby 1.8.1-7.EL4.8.1, ruby-libs 1.8.1-7.EL4.8.1, ruby-mode 1.8.1-7.EL4.8.1, ruby-tcltk 1.8.1-7.EL4.8.1 Red Hat Enterprise Linux Desktop version 4 irb 1.8.1-7.EL4.8.1, ruby 1.8.1-7.EL4.8.1, ruby-libs 1.8.1-7.EL4.8.1, ruby-mode 1.8.1-7.EL4.8.1, ruby-tcltk 1.8.1-7.EL4.8.1fixed: vendor fix RHSA-2007:0961
-
Red Hat Enterprise Linux ES version 2.1 irb 1.6.4-6.el2, ruby 1.6.4-6.el2, ruby-libs 1.6.4-6.el2, ruby-tcltk 1.6.4-6.el2 Red Hat Enterprise Linux ES version 3 irb 1.6.8-12.el3, ruby 1.6.8-12.el3, ruby-libs 1.6.8-12.el3, ruby-mode 1.6.8-12.el3, ruby-tcltk 1.6.8-12.el3fixed: vendor fix RHSA-2008:0562
-
Red Hat Enterprise Linux ES version 4 irb 1.8.1-7.EL4.8.1, ruby 1.8.1-7.EL4.8.1, ruby-libs 1.8.1-7.EL4.8.1, ruby-mode 1.8.1-7.EL4.8.1, ruby-tcltk 1.8.1-7.EL4.8.1fixed: vendor fix RHSA-2007:0961
-
Red Hat Enterprise Linux WS version 2.1 irb 1.6.4-6.el2, ruby 1.6.4-6.el2, ruby-libs 1.6.4-6.el2, ruby-tcltk 1.6.4-6.el2 Red Hat Enterprise Linux WS version 3 irb 1.6.8-12.el3, ruby 1.6.8-12.el3, ruby-libs 1.6.8-12.el3, ruby-mode 1.6.8-12.el3, ruby-tcltk 1.6.8-12.el3fixed: vendor fix RHSA-2008:0562
-
Red Hat Enterprise Linux WS version 4 irb 1.8.1-7.EL4.8.1, ruby 1.8.1-7.EL4.8.1, ruby-libs 1.8.1-7.EL4.8.1, ruby-mode 1.8.1-7.EL4.8.1, ruby-tcltk 1.8.1-7.EL4.8.1fixed: vendor fix RHSA-2007:0961
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
4.04% chance of exploitation in the next 30 days, higher than 90% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Classification
- Weakness
-
- CWE-399 Resource Management Errors
References
-
bugzilla.redhat.com
/bugzilla/show_bug.cgi?id=218287
patch
-
ruby-lang.org
/en/news/2006/12/04/another-dos-vulnerability-in-cgi-library/
patch
-
bugs.gentoo.org
/show_bug.cgi?id=157048
patch
-
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
patch
-
ubuntu.com
/usn/usn-394-1
vendor-advisory
-
lists.apple.com
/archives/security-announce/2007/May/msg00004.html
vendor-advisory
-
redhat.com
/support/errata/RHSA-2007-0961.html
vendor-advisory
-
novell.com
/linux/security/advisories/2007_4_sr.html
vendor-advisory
-
mandriva.com
/security/advisories?name=MDKSA-2006:225
vendor-advisory
-
security.gentoo.org
/glsa/glsa-200612-21.xml
vendor-advisory
- docs.info.apple.com /article.html?artnum=305530
-
secunia.com
/advisories/31090
third-party-advisory
-
secunia.com
/advisories/27576
third-party-advisory
-
vupen.com
/english/advisories/2007/1939
vdb-entry
-
jvn.jp
/jp/JVN%2384798830/index.html
third-party-advisory
-
secunia.com
/advisories/23268
third-party-advisory
-
secunia.com
/advisories/25402
third-party-advisory
-
secunia.com
/advisories/23165
third-party-advisory
-
oval.cisecurity.org
/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10529
vdb-entry, signature
-
exchange.xforce.ibmcloud.com
/vulnerabilities/30734
vdb-entry
-
securitytracker.com
/id?1017363
vdb-entry
-
vupen.com
/english/advisories/2006/4855
vdb-entry
-
secunia.com
/advisories/23454
third-party-advisory
-
securityfocus.com
/bid/21441
vdb-entry
Sources
- CVE List CVE-2006-6303
- NVD CVE-2006-6303
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.