CVE-2006-6303
What it is
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.
At a glance
- Exploitability
- Can be exploited over the network without logging in. Limited direct impact.
- Exploit odds
- 4.0% chance of exploitation in the next 30 days (EPSS).
- Fix
- A patch, advisory or fixed version is referenced. Upgrade or apply it.
Timeline
- PublishedDisclosed publicly on CVE.org and NVD
- Last updatedMost recent change to the record
Why it ranks here
- Exploited in the wild: no, CISA does not list it.
- Exploit odds: 4.0% in the next 30 days (EPSS).
- Severity: 5.0 MEDIUM (CVSS).
- Fix: a patch or advisory is linked.
Details
- Published
- Last modified
- Exploit probability
- 4.0% · EPSS, next 30 days
- Weakness
- CWE-399
- Record status
- Modified
Affected
- Yukihiro Matsumoto Ruby 1.8
- Yukihiro Matsumoto Ruby 1.8.1
- Yukihiro Matsumoto Ruby 1.8.2
- Yukihiro Matsumoto Ruby 1.8.2_pre1
- Yukihiro Matsumoto Ruby 1.8.2_pre2
- Yukihiro Matsumoto Ruby 1.8.3
- Yukihiro Matsumoto Ruby 1.8.4
- Yukihiro Matsumoto Ruby 1.8.5
Attack profile CVSS 2.0 · 5.0
- Attack vector
- Network
- Complexity
- Low
- Authentication
- None
- Confidentiality
- None
- Integrity
- None
- Availability
- Partial
Raw vector
AV:N/AC:L/Au:N/C:N/I:N/A:P
Is it in your code?
Hand this to your coding agent. It searches your project for the affected products and checks versions. Nothing leaves your machine.
Read https://cve-list.com/agent/cve/CVE-2006-6303.md and follow it. Check whether this project is affected by CVE-2006-6303. Read only. Don't change anything and don't upload my code. Tell me yes, no or not sure, with the file as proof.
Fix and advisories
- http://bugs.gentoo.org/show_bug.cgi?id=157048
- http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=218287
- 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
- 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://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=218287
- 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
- http://www.ruby-lang.org/en/news/2006/12/04/another-dos-vulnerability-in-cgi-library/
References
- http://bugs.gentoo.org/show_bug.cgi?id=157048
- http://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=218287
- http://docs.info.apple.com/article.html?artnum=305530
- http://jvn.jp/jp/JVN%2384798830/index.html
- http://lists.apple.com/archives/security-announce/2007/May/msg00004.html
- http://secunia.com/advisories/23165
- http://secunia.com/advisories/23268
- http://secunia.com/advisories/23454
- http://secunia.com/advisories/25402
- http://secunia.com/advisories/27576
- http://secunia.com/advisories/31090
- http://security.gentoo.org/glsa/glsa-200612-21.xml
- http://securitytracker.com/id?1017363
- http://www.mandriva.com/security/advisories?name=MDKSA-2006:225
- http://www.novell.com/linux/security/advisories/2007_4_sr.html
- http://www.redhat.com/support/errata/RHSA-2007-0961.html
- 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
- http://www.ruby-lang.org/en/news/2006/12/04/another-dos-vulnerability-in-cgi-library/
- http://www.securityfocus.com/bid/21441
- http://www.ubuntu.com/usn/usn-394-1
- http://www.vupen.com/english/advisories/2006/4855
- http://www.vupen.com/english/advisories/2007/1939
- https://exchange.xforce.ibmcloud.com/vulnerabilities/30734
- https://oval.cisecurity.org/repository/search/definition/oval%3Aorg.mitre.oval%3Adef%3A10529
- http://bugs.gentoo.org/show_bug.cgi?id=157048