Ruby REXML library denial of service
| ruby-rexml-dos (44628) |
Description:
Ruby is vulnerable to a denial of service, caused by an error in the REXML library when handling recursively nested XML entities. By persuading a victim to parse a specially-crafted XML document, a remote attacker could exploit this vulnerability to cause the application to become disabled.
*CVSS:
| Base Score: | 4.3 |
| Access Vector: | Network |
| Access Complexity: | Medium |
| Authentication: | None |
| Confidentiality Impact: | None |
| Integrity Impact: | None |
| Availability Impact: | Partial |
| Temporal Score: | 3.2 |
| Exploitability: | Unproven |
| Remediation Level: | Official-Fix |
| Report Confidence: | Confirmed |
Consequences:
Denial of Service
Remedy:
For Apple Mac OS:
Apply Apple Security Update 2009-002, available from the Apple Web site. See References.
Apply the patch for this vulnerability (rexml-expansion-fix.rb), available from the Ruby Programming Language Web site. See References.
References:
- Apple Web site: About the security content of Security Update 2009-002 / Mac OS X v10.5.7.
- Ruby on Rails Weblog, September 03, 2008 @ 09:43 AM: Rails 2.0.4: Maintenance release.
- Ruby Programming Language Web site: DoS vulnerability in REXML.
- ASA-2008-424: ruby security update (RHSA-2008-0897)
- BID-30802: Ruby REXML Remote Denial Of Service Vulnerability
- CVE-2008-3790: The REXML module in Ruby 1.8.6 through 1.8.6-p287, 1.8.7 through 1.8.7-p72, and 1.9 allows context-dependent attackers to cause a denial of service (CPU consumption) via an XML document with recursively nested entities, aka an XML entity explosion.
- DSA-1651: ruby1.8 -- several vulnerabilities
- DSA-1652: ruby1.9 -- several vulnerabilities
- GLSA-200812-17: Ruby: Multiple vulnerabilities
- MDVSA-2008:226: ruby
- RHSA-2008-0897: Moderate: ruby security update
- SA31602: Ruby REXML Denial of Service Vulnerability
- SA35074: Apple Mac OS X Security Update Fixes Multiple Vulnerabilities
- SECTRACK ID: 1020735: Ruby REXML Recursive Entity Expansion Bug Lets Remote Users Deny Service
- SUSE-SA:2009:037: dhcp-client security problem
- USN-651-1: Ruby vulnerabilities
- USN-691-1: Ruby vulnerability
- VUPEN/ADV-2008-2428: Ruby REXML Library Entities Handling Denial of Service Vulnerability
- VUPEN/ADV-2008-2483: Ruby on Rails REXML Library Denial of Service Vulnerability
- VUPEN/ADV-2009-1297: Apple Mac OS X Code Execution and Security Bypass Vulnerabilities
Platforms Affected:
- Apple Mac OS X 10.5
- Apple Mac OS X 10.5.1
- Apple Mac OS X 10.5.2
- Apple Mac OS X 10.5.3
- Apple Mac OS X 10.5.4
- Apple Mac OS X 10.5.5
- Apple Mac OS X 10.5.6
- Apple Mac OS X Server 10.5
- Apple Mac OS X Server 10.5.1
- Apple Mac OS X Server 10.5.2
- Apple Mac OS X Server 10.5.3
- Apple Mac OS X Server 10.5.4
- Apple Mac OS X Server 10.5.5
- Apple Mac OS X Server 10.5.6
- Canonical Ubuntu 6.06 LTS
- Canonical Ubuntu 7.04
- Canonical Ubuntu 7.10
- Canonical Ubuntu 8.04 LTS
- Canonical Ubuntu 8.10
- Debian Debian Linux 4.0
- Gentoo Linux
- MandrakeSoft Mandrake Linux 2008.0
- MandrakeSoft Mandrake Linux 2008.0 X86_64
- MandrakeSoft Mandrake Linux 2008.1
- MandrakeSoft Mandrake Linux 2008.1 X86_64
- MandrakeSoft Mandrake Linux Corporate Server 3.0 X86_64
- MandrakeSoft Mandrake Linux Corporate Server 3.0
- MandrakeSoft Mandrake Linux Corporate Server 4.0 X86_64
- MandrakeSoft Mandrake Linux Corporate Server 4.0
- Novell Linux Desktop 9
- Novell Linux POS 9
- Novell Open Enterprise Server
- Novell OpenSUSE 10.3
- Novell OpenSUSE 11.0
- Novell SLE SDK 10 SP2
- Novell SUSE Linux Enterprise 10 SP2 DEBUGINFO
- Novell SUSE Linux Enterprise Desktop 10 SP2
- Novell SUSE Linux Enterprise Server 10 SP2
- RedHat Enterprise Linux 4 Desktop
- RedHat Enterprise Linux 4 AS
- RedHat Enterprise Linux 4 WS
- RedHat Enterprise Linux 4 ES
- RedHat Enterprise Linux 5
- RedHat Enterprise Linux 5 Client Workstation
- RedHat Enterprise Linux 5 Client
- SuSE SuSE SLES 9
- Yukihiro Matsumoto Ruby 1.8
- Yukihiro Matsumoto Ruby 1.8.2
- Yukihiro Matsumoto Ruby 1.8.3
- Yukihiro Matsumoto Ruby 1.8.4
- Yukihiro Matsumoto Ruby 1.8.5 P230
- Yukihiro Matsumoto Ruby 1.8.5 P115
- Yukihiro Matsumoto Ruby 1.8.5 P231
- Yukihiro Matsumoto Ruby 1.8.5
- Yukihiro Matsumoto Ruby 1.8.6 P286
- Yukihiro Matsumoto Ruby 1.8.6 P230
- Yukihiro Matsumoto Ruby 1.8.6 P114
- Yukihiro Matsumoto Ruby 1.8.6 P229
- Yukihiro Matsumoto Ruby 1.8.6
- Yukihiro Matsumoto Ruby 1.8.6 P287
- Yukihiro Matsumoto Ruby 1.8.7 P72
- Yukihiro Matsumoto Ruby 1.8.7 P21
- Yukihiro Matsumoto Ruby 1.8.7
- Yukihiro Matsumoto Ruby 1.8.7 P71
- Yukihiro Matsumoto Ruby 1.8.7 P22
- Yukihiro Matsumoto Ruby 1.9
- Yukihiro Matsumoto Ruby 1.9 -1
- Yukihiro Matsumoto Ruby 1.9 -2
Reported:
Aug 23, 2008
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.
