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 re
Noroxi assessment
Priority: Monitor (action score 21/100)
- The sources we track (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) show no public exploit code or exploitation in the wild.
- Probability of exploitation in the next 30 days: 3.8% (FIRST EPSS); higher than 89.9% of all records.
- No special conditions are required; it is repeatable.
- Fixed version: irb (Red Hat:enterprise_linux:2.1::as) 0:1.6.4-6.el2; ruby (Red Hat:enterprise_linux:2.1::as) 0:1.6.4-6.el2; ruby-devel (Red Hat:enterprise_linux:2.1::as) 0:1.6.4-6.el2.
Low priority for now. Upgrade to irb (Red Hat:enterprise_linux:2.1::as) 0:1.6.4-6.el2; ruby (Red Hat:enterprise_linux:2.1::as) 0:1.6.4-6.el2; ruby-devel (Red Hat:enterprise_linux:2.1::as) 0:1.6.4-6.el2 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- Dec 6, 2006
- Updated
- Jun 16, 2026
- EPSS
- 3.8% · 89th percentile
- CWE
- CWE-399
Report tools
Action score
21
Monitor
Low priority for now.
- CVSS
- 20 / 40 · 5.0 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 1 / 30 · 3.8%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- No public exploit code on record
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Running WordPress? Scan your site free with WP Lens
Noroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| yukihiro matsumoto | ruby | cpe:2.3:a:yukihiro_matsumoto:ruby |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- yukihiro matsumoto ruby1.8
- yukihiro matsumoto ruby1.8.1
- yukihiro matsumoto ruby1.8.2
- yukihiro matsumoto ruby1.8.2_pre1
- yukihiro matsumoto ruby1.8.2_pre2
- yukihiro matsumoto ruby1.8.3
- yukihiro matsumoto ruby1.8.4
- yukihiro matsumoto ruby1.8.5
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Red Hat:enterprise_linux:2.1::as | irb | before 0:1.6.4-6.el2 | 0:1.6.4-6.el2 |
| Red Hat:enterprise_linux:2.1::as | ruby | before 0:1.6.4-6.el2 | 0:1.6.4-6.el2 |
| Red Hat:enterprise_linux:2.1::as | ruby-devel | before 0:1.6.4-6.el2 | 0:1.6.4-6.el2 |
| Red Hat:enterprise_linux:2.1::as | ruby-docs | before 0:1.6.4-6.el2 | 0:1.6.4-6.el2 |
| Red Hat:enterprise_linux:2.1::as | ruby-libs | before 0:1.6.4-6.el2 | 0:1.6.4-6.el2 |
| Red Hat:enterprise_linux:2.1::as | ruby-tcltk | before 0:1.6.4-6.el2 | 0:1.6.4-6.el2 |
| Red Hat:enterprise_linux:3::as | irb | before 0:1.6.8-12.el3 | 0:1.6.8-12.el3 |
| Red Hat:enterprise_linux:3::as | ruby | before 0:1.6.8-12.el3 | 0:1.6.8-12.el3 |
| Red Hat:enterprise_linux:3::as | ruby-debuginfo | before 0:1.6.8-12.el3 | 0:1.6.8-12.el3 |
| Red Hat:enterprise_linux:3::as | ruby-devel | before 0:1.6.8-12.el3 | 0:1.6.8-12.el3 |
| Red Hat:enterprise_linux:3::as | ruby-docs | before 0:1.6.8-12.el3 | 0:1.6.8-12.el3 |
| Red Hat:enterprise_linux:3::as | ruby-libs | before 0:1.6.8-12.el3 | 0:1.6.8-12.el3 |
| Red Hat:enterprise_linux:3::as | ruby-mode | before 0:1.6.8-12.el3 | 0:1.6.8-12.el3 |
| Red Hat:enterprise_linux:3::as | ruby-tcltk | before 0:1.6.8-12.el3 | 0:1.6.8-12.el3 |
| Red Hat:enterprise_linux:4::as | irb | before 0:1.8.1-7.EL4.8.1 | 0:1.8.1-7.EL4.8.1 |
| Red Hat:enterprise_linux:4::as | ruby | before 0:1.8.1-7.EL4.8.1 | 0:1.8.1-7.EL4.8.1 |
| Red Hat:enterprise_linux:4::as | ruby-debuginfo | before 0:1.8.1-7.EL4.8.1 | 0:1.8.1-7.EL4.8.1 |
| Red Hat:enterprise_linux:4::as | ruby-devel | before 0:1.8.1-7.EL4.8.1 | 0:1.8.1-7.EL4.8.1 |
| Red Hat:enterprise_linux:4::as | ruby-docs | before 0:1.8.1-7.EL4.8.1 | 0:1.8.1-7.EL4.8.1 |
| Red Hat:enterprise_linux:4::as | ruby-libs | before 0:1.8.1-7.EL4.8.1 | 0:1.8.1-7.EL4.8.1 |
| Red Hat:enterprise_linux:4::as | ruby-mode | before 0:1.8.1-7.EL4.8.1 | 0:1.8.1-7.EL4.8.1 |
| Red Hat:enterprise_linux:4::as | ruby-tcltk | before 0:1.8.1-7.EL4.8.1 | 0:1.8.1-7.EL4.8.1 |
Same product
yukihiro matsumoto: all recordsOther highest-scoring records for the same primary product.
- CVE-2005-1992The XMLRPC server in utils.rb for the ruby library (libruby) 1.8 sets an invalid default value that prevents "security protection" using han32Monitor
- CVE-2005-2337Ruby 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 attackers to bypass safe level and taint flag prote31Monitor
- CVE-2006-3694Multiple unspecified vulnerabilities in Ruby before 1.8.5 allow remote attackers to bypass "safe level" checks via unspecified vectors invol27Monitor
Published before and after this one in the same product
- ← EarlierCVE-2004-0983Mar 1, 2005 · The CGI module in Ruby 1.6 before 1.6.8, and 1.8 before 1.8.2, allows remote attackers to cause a denial of service (infinite loop and CPU c21Monitor
- ← EarlierCVE-2006-1931Apr 20, 2006 · The HTTP/XMLRPC server in Ruby before 1.8.2 uses blocking sockets, which allows attackers to cause a denial of service (blocked connections)23Monitor
- ← EarlierCVE-2006-5467Oct 27, 2006 · The cgi.rb CGI library for Ruby 1.8 allows remote attackers to cause a denial of service (infinite loop and CPU consumption) via an HTTP req21Monitor
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| red hat:irb | 0:1.8.1-7.EL4.8.1 · Red Hat:enterprise_linux:4::as | Package registry (OSV) |
| red hat:ruby | 0:1.8.1-7.EL4.8.1 · Red Hat:enterprise_linux:4::as | Package registry (OSV) |
| red hat:ruby-debuginfo | 0:1.8.1-7.EL4.8.1 · Red Hat:enterprise_linux:4::as | Package registry (OSV) |
| red hat:ruby-devel | 0:1.8.1-7.EL4.8.1 · Red Hat:enterprise_linux:4::as | Package registry (OSV) |
| red hat:ruby-docs | 0:1.8.1-7.EL4.8.1 · Red Hat:enterprise_linux:4::as | Package registry (OSV) |
| red hat:ruby-libs | 0:1.8.1-7.EL4.8.1 · Red Hat:enterprise_linux:4::as | Package registry (OSV) |
| red hat:ruby-mode | 0:1.8.1-7.EL4.8.1 · Red Hat:enterprise_linux:4::as | Package registry (OSV) |
| red hat:ruby-tcltk | 0:1.8.1-7.EL4.8.1 · Red Hat:enterprise_linux:4::as | Package registry (OSV) |
Exploit status
No known public exploit
No public exploit has been observed yet. That doesn't mean you're safe, only that the bar is a little higher.
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
No dated events beyond publication.
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Patch and commit links
Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.
No commit or PR link among the references.
Credits
All researchersFinders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.
No credits in the CNA record.
Variant candidates
Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.
No nightly-computed relations.
Chain candidates
An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.
—
Bug bounty scope
No known public program.
Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).
Technical details
Attack conditions
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- none
- Integrity
- none
- Availability
- P · the service can be disrupted
- Attack complexity
- Low
- Confidentiality impact
- None
- Integrity impact
- None
- Availability impact
- P
Weakness class (CWE)
CWE-399 · Resource Management ErrorsCVSS vector
AV:N/AC:L/Au:N/C:N/I:N/A:P
nvd-primary
Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
MITRE has no CAPEC/ATT&CK mapping for this CWE.
Change log
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (19 more)Show less
- bugzilla.redhat.com/bugzilla/show_bug.cgi?id=218287
- docs.info.apple.com/article.html?artnum=305530
- jvn.jp/jp/JVN%2384798830/index.html
- lists.apple.com/archives/security-announce/2007/May/msg00004.html
- secunia.com/advisories/23165
- secunia.com/advisories/23268
- secunia.com/advisories/23454
- secunia.com/advisories/25402
- secunia.com/advisories/27576
- secunia.com/advisories/31090
- security.gentoo.org/glsa/glsa-200612-21.xml
- securitytracker.com/id?1017363
- www.mandriva.com/security/advisories?name=MDKSA-2006:225
- www.novell.com/linux/security/advisories/2007_4_sr.html
- www.redhat.com/support/errata/RHSA-2007-0961.html
- 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
- www.ruby-lang.org/en/news/2006/12/04/another-dos-vulnerability-in-cgi-library/
- www.securityfocus.com/bid/21441
- www.ubuntu.com/usn/usn-394-1
Vendor advisories and official records. Exploit/PoC links are deliberately left out.