Ruby CGI Library cgi.rb denial of service
| ruby-cgi-library-dos (30734) |
Description:
Ruby CGI Library is vulnerable to a denial of service, caused by an error in the cgi.rb library file. A remote attacker could send a specially-crafted request for the CGI library to process, which could consume all available memory resources and cause the application to crash.
*CVSS:
| Base Score: | 5 |
| Access Vector: | Remote |
| Access Complexity: | Low |
| Authentication: | Not Required |
| Confidentiality Impact: | None |
| Integrity Impact: | None |
| Availability Impact: | Complete |
| Temporal Score: | 3.7 |
| Exploitability: | Unproven |
| Remediation Level: | Official-Fix |
| Report Confidence: | Confirmed |
Consequences:
Denial of Service
Remedy:
For Apple Mac OS X:
Apply Apple Security Update 2007-005, available from the Apple Web site. See References.
Upgrade to the latest version of Ruby (version 1.8.5-p2 or later), available from the Ruby Web site. See References.
For Mandriva Linux:
Refer to Mandriva Linux Security Advisory MDKSA-2006:225 for patch, upgrade, or suggested workaround information. See References.
For Gentoo Linux:
Refer to Gentoo Linux Security Announcement GLSA 200612-21 for patch, upgrade, or suggested workaround information. See References.
For Ubuntu Linux:
Refer to Gentoo Linux Security Announcement USN-394-1 for patch, upgrade, or suggested workaround information. See References.
For OpenPKG:
Refer to OpenPKG Security Advisory OpenPGK-SA-2006.040 for patch, upgrade, or suggested workaround information. See References.
For other distributions:
Contact your vendor for patch or upgrade information.
References:
- Apple Security Update 2007-005: About Security Update 2007-005.
- Apple Web site: Apple security updates.
- Ruby Programming Language Web site: Another DoS Vulnerability in CGI Library.
- ASA-2007-487: Ruby security update (RHSA-2007-0961)
- ASA-2008-297: ruby security update (RHSA-2008-0562)
- BID-21441: Ruby CGI.RB Library Remote Denial Of Service Vulnerability
- CVE-2006-6303: 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.
- GLSA-200612-21: Ruby: Denial of Service vulnerability
- MDKSA-2006:225: Updated ruby packages fix DoS vulnerability
- OpenPKG-SA-2006.040: Ruby
- RHSA-2007-0961: Moderate: ruby security update
- RHSA-2008-0562: Moderate: ruby security update
- SECTRACK ID: 1017363: Ruby MIME Parsing Bug in cgi.rb Lets Remote Users Deny Service
- SUSE-SR:2007:004: SUSE Security Summary Report
Platforms Affected:
- Apple Mac OS X 10.3.9
- Apple Mac OS X 10.4.9
- Apple Mac OS X Server 10.3.9
- Apple Mac OS X Server 10.4.9
- Canonical Ubuntu 5.10
- Canonical Ubuntu 6.06 LTS
- Canonical Ubuntu 6.10
- Gentoo Linux
- MandrakeSoft Mandrake Linux 2006
- MandrakeSoft Mandrake Linux 2006 X86_64
- MandrakeSoft Mandrake Linux 2007
- MandrakeSoft Mandrake Linux 2007 X86_64
- MandrakeSoft Mandrake Linux Corporate Server 3.0
- MandrakeSoft Mandrake Linux Corporate Server 3.0 X86_64
- MandrakeSoft Mandrake Linux Corporate Server 4.0 X86_64
- MandrakeSoft Mandrake Linux Corporate Server 4.0
- OpenPKG OpenPKG 2-STABLE
- OpenPKG OpenPKG CURRENT
- OpenPKG OpenPKG Enterprise E1.0-SOLID
- RedHat Enterprise Linux 2.1 AS
- RedHat Enterprise Linux 2.1 WS
- RedHat Enterprise Linux 2.1 ES
- RedHat Enterprise Linux 3 Desktop
- RedHat Enterprise Linux 3 ES
- RedHat Enterprise Linux 3 AS
- RedHat Enterprise Linux 3 WS
- RedHat Enterprise Linux 4 WS
- RedHat Enterprise Linux 4 ES
- RedHat Enterprise Linux 4 Desktop
- RedHat Enterprise Linux 4 AS
- Ruby-lang Ruby 1.8.5 and prior
- Turbolinux Turbolinux 10 Desktop
- Turbolinux Turbolinux 10 F...
- Turbolinux Turbolinux 10 Server
- Turbolinux Turbolinux 10 Server x64 Ed
- Turbolinux Turbolinux 8 Server
- Turbolinux Turbolinux FUJI
- Turbolinux Turbolinux Home
- Turbolinux Turbolinux Appliance Server 2.0
Reported:
Dec 04, 2006
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall the author/distributor (IBM Internet Security Systems X-Force) be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
For corrections or additions please email xforce@iss.net
* According to the Forum of Incident Response and Security Teams (FIRST), the Common Vulnerability Scoring System (CVSS) is an "industry open standard designed to convey vulnerability severity and help to determine urgency and priority of response." IBM PROVIDES THE CVSS SCORES "AS IS" WITHOUT WARRANTY OF ANY KIND, INCLUDING THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. CUSTOMERS ARE RESPONSIBLE FOR ASSESSING THE IMPACT OF ANY ACTUAL OR POTENTIAL SECURITY VULNERABILITY.
The information within this database may change without notice. Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. In no event shall IBM be held liable for any damages whatsoever arising out of or in connection with the use or spread of this information.
