Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 1159927 - (CVE-2014-8090) CVE-2014-8090 ruby: REXML incomplete fix for CVE-2014-8080
CVE-2014-8090 ruby: REXML incomplete fix for CVE-2014-8080
Status: NEW
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20141113,repor...
: Security
Depends On: 1163993 1163994 1163998 1164000 1164004 1164005 1165367 1542174 1542175 1542176 1542177
Blocks: 1157711
  Show dependency treegraph
 
Reported: 2014-11-03 10:48 EST by Tomas Hoger
Modified: 2018-06-29 18:02 EDT (History)
35 users (show)

See Also:
Fixed In Version: ruby 1.9.3p551, ruby 2.0.0p598, ruby 2.1.5, jruby 1.7.16.2
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
Upstream fix (4.39 KB, patch)
2014-11-03 10:52 EST, Tomas Hoger
no flags Details | Diff


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2014:1911 normal SHIPPED_LIVE Moderate: ruby security update 2014-11-26 16:09:06 EST
Red Hat Product Errata RHSA-2014:1912 normal SHIPPED_LIVE Moderate: ruby security update 2014-11-26 22:37:35 EST
Red Hat Product Errata RHSA-2014:1913 normal SHIPPED_LIVE Moderate: ruby193-ruby security update 2014-11-26 16:52:42 EST
Red Hat Product Errata RHSA-2014:1914 normal SHIPPED_LIVE Moderate: ruby200-ruby security update 2014-11-26 16:52:27 EST

  None (edit)
Description Tomas Hoger 2014-11-03 10:48:38 EST
The CVE-2014-8080 (tracked via bug 1157709) was assigned to a "billion laughs" issue affecting the Ruby REXML XML parser.  The issue affected expansion of parameter entities, making it possible for a small XML document to cause the parser to use excessive amount of CPU and memory while parsing.

The upstream patch for CVE-2014-8080 introduced checks against the REXML.entity_expansion_text_limit, but did not add restrictions to limit the number of expansions performed, i.e. checks against the REXML::Document.entity_expansion_limit.  As a consequence, even with the patch applied, a small XML document could cause REXML to use an excessive amount of CPU time.  High memory usage can be achieved using larger inputs.

Note that similar issues were fixing in REXML in the past for general entities - see bug 460134 (CVE-2008-3790) or bug 914716 (CVE-2013-1821).

Acknowledgement:

This issue was discovered by Red Hat Product Security.
Comment 2 Tomas Hoger 2014-11-03 10:52:10 EST
Created attachment 953157 [details]
Upstream fix
Comment 4 Vincent Danen 2014-11-13 16:21:24 EST
External References:

https://www.ruby-lang.org/en/news/2014/11/13/rexml-dos-cve-2014-8090/
Comment 9 Tomas Hoger 2014-11-14 02:26:25 EST
Fixed upstream in 1.9.3p551, 2.0.0p598, and 2.1.5.

Upstream commit:
http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=48402
Comment 11 Vincent Danen 2014-11-26 10:32:05 EST
Statement:

Red Hat Enterprise Linux 5 is now in Production 3 Phase of the support and maintenance life cycle. This has been rated as having Moderate security impact and is not currently planned to be addressed in future updates. For additional information, refer to the Red Hat Enterprise Linux Life Cycle: https://access.redhat.com/support/policy/updates/errata/

Red Hat JBoss SOA Platform 5 is now in Maintenance Support phase receiving only qualified Important and Critical impact security fixes; and Red Hat JBoss SOA Platform 4.3 is now in Extended Life Support phase receiving only Critical impact security fixes. This issue has been rated as having Moderate security impact and is not currently planned to be addressed in future updates. For additional information, refer to the Red Hat JBoss Middleware Product Life Cycle: https://access.redhat.com/support/policy/updates/jboss_notes/
Comment 12 errata-xmlrpc 2014-11-26 11:09:35 EST
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 6

Via RHSA-2014:1911 https://rhn.redhat.com/errata/RHSA-2014-1911.html
Comment 13 errata-xmlrpc 2014-11-26 11:53:07 EST
This issue has been addressed in the following products:

  Red Hat Software Collections 1 for Red Hat Enterprise Linux 7
  Red Hat Software Collections 1 for Red Hat Enterprise Linux 6
  Red Hat Software Collections 1 for Red Hat Enterprise Linux 6.5 EUS
  Red Hat Software Collections 1 for Red Hat Enterprise Linux 6.4 EUS
  Red Hat Software Collections 1 for Red Hat Enterprise Linux 6.6 EUS

Via RHSA-2014:1914 https://rhn.redhat.com/errata/RHSA-2014-1914.html
Comment 14 errata-xmlrpc 2014-11-26 11:53:34 EST
This issue has been addressed in the following products:

  Red Hat Software Collections 1 for Red Hat Enterprise Linux 7
  Red Hat Software Collections 1 for Red Hat Enterprise Linux 6
  Red Hat Software Collections 1 for Red Hat Enterprise Linux 6.5 EUS
  Red Hat Software Collections 1 for Red Hat Enterprise Linux 6.4 EUS
  Red Hat Software Collections 1 for Red Hat Enterprise Linux 6.6 EUS

Via RHSA-2014:1913 https://rhn.redhat.com/errata/RHSA-2014-1913.html
Comment 15 errata-xmlrpc 2014-11-26 17:37:59 EST
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2014:1912 https://rhn.redhat.com/errata/RHSA-2014-1912.html
Comment 16 Tomas Hoger 2014-12-10 15:28:14 EST
JRuby was fixed upstream in 1.7.16.2:

http://jruby.org/2014/12/08/jruby-1-7-16-2.html
Comment 17 Kurt Seifried 2018-02-05 13:52:30 EST
Created jruby tracking bugs for this issue:

Affects: fedora-all [bug 1542174]


Created ruby tracking bugs for this issue:

Affects: fedora-all [bug 1542175]
Comment 19 Vít Ondruch 2018-02-06 03:43:21 EST
(In reply to Kurt Seifried from comment #17)
> Created ruby tracking bugs for this issue:
> 
> Affects: fedora-all [bug 1542175]

Pardon me, but what is this? Does the problem reappeared in Ruby 2.5?

Note You need to log in before you can comment on or make changes to this bug.