Bugzilla – Bug 905326
VUL-0: CVE-2014-8090: ruby: Another Denial Of Service XML Expansion
Last modified: 2015-03-05 08:07:08 UTC
Unrestricted entity expansion can lead to a DoS vulnerability in REXML. 100% CPU utilization can occur as a result of recursive expansion with an empty String. When reading text nodes from an XML document, the REXML parser can be coerced in to allocating extremely large string objects which can consume all of the memory on a machine, causing a denial of service. Sample code: require 'rexml/document' xml = <<XML <!DOCTYPE root [ # ENTITY expansion vector ]> <cd></cd> XML p REXML::Document.new(xml) Affected versions - All ruby 1.9 versions prior to ruby 1.9.3 patchlevel 551 - All ruby 2.0 versions prior to ruby 2.0.0 patchlevel 598 - All ruby 2.1 versions prior to ruby 2.1.5 - prior to trunk revision 48402 References: https://www.ruby-lang.org/en/news/2014/11/13/rexml-dos-cve-2014-8090/
bugbot adjusting priority
An update workflow for this issue was started. This issue was rated as low. Please submit fixed packages until 2014-12-15. When done, reassign the bug to security-team@suse.de. https://swamp.suse.de/webswamp/wf/59699
commit for version 1.9.3 e70ce4c096e3d1557a9bb5b7e89a9bb613b0794c see attachment.
Created attachment 614769 [details] patch for 1.9.3
This is an autogenerated message for OBS integration: This bug (905326) was mentioned in https://build.opensuse.org/request/show/263042 12.3 / ruby19 https://build.opensuse.org/request/show/263043 13.1 / ruby19
blocked on https://fate.suse.com/317961
openSUSE-SU-2014:1589-1: An update that fixes two vulnerabilities is now available. Category: security (moderate) Bug References: 902851,905326 CVE References: CVE-2014-8080,CVE-2014-8090 Sources used: openSUSE 13.1 (src): ruby19-1.9.3.p448-2.8.1 openSUSE 12.3 (src): ruby19-1.9.3.p392-1.21.1
assigning to security team. I've submitted the packages. Automatic comments should appear next.
This is an autogenerated message for OBS integration: This bug (905326) was mentioned in https://build.opensuse.org/request/show/265829 13.1 / ruby20 https://build.opensuse.org/request/show/265830 13.2 / ruby2.1
openSUSE-SU-2015:0002-1: An update that fixes two vulnerabilities is now available. Category: security (moderate) Bug References: 902851,905326 CVE References: CVE-2014-8080,CVE-2014-8090 Sources used: openSUSE 13.1 (src): ruby20-2.0.0.p247-3.19.1
openSUSE-SU-2015:0007-1: An update that fixes two vulnerabilities is now available. Category: security (moderate) Bug References: 902851,905326 CVE References: CVE-2014-8080,CVE-2014-8090 Sources used: openSUSE 13.2 (src): ruby2.1-2.1.3-4.1
SUSE-SU-2015:0093-1: An update that fixes two vulnerabilities is now available. Category: security (moderate) Bug References: 902851,905326 CVE References: CVE-2014-8080,CVE-2014-8090 Sources used: SUSE Linux Enterprise Software Development Kit 12 (src): ruby2.1-2.1.2-9.1 SUSE Linux Enterprise Server 12 (src): ruby2.1-2.1.2-9.1 SUSE Linux Enterprise Desktop 12 (src): ruby2.1-2.1.2-9.1
SUSE-SU-2015:0157-1: An update that fixes two vulnerabilities is now available. Category: security (low) Bug References: 902851,905326 CVE References: CVE-2014-8080,CVE-2014-8090 Sources used: SUSE Studio Onsite 1.3 (src): ruby19-1.9.3.p392-0.19.1 SUSE Linux Enterprise Software Development Kit 11 SP3 (src): ruby-1.8.7.p357-0.9.17.1 SUSE Linux Enterprise Server 11 SP3 for VMware (src): ruby-1.8.7.p357-0.9.17.1 SUSE Linux Enterprise Server 11 SP3 (src): ruby-1.8.7.p357-0.9.17.1 SUSE Linux Enterprise Desktop 11 SP3 (src): ruby-1.8.7.p357-0.9.17.1
released