CVE-2014-8090: XEE

Published Nov 3, 2014
·
Updated

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.entityexpansiontextlimit, but did not add restrictions to limit the number of expansions performed, i.e. checks against the REXML::Document.entityexpansionlimit. 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.

Other sources

The REXML parser in Ruby 1.9.x before 1.9.3 patchlevel 551, 2.0.x before 2.0.0 patchlevel 598, and 2.1.x before 2.1.5 allows remote attackers to cause a denial of service (CPU and memory consumption) a crafted XML document containing an empty string in an entity that is used in a large number of nested entity references, aka an XML Entity Expansion (XEE) attack. NOTE: this vulnerability exists because of an incomplete fix for CVE-2013-1821 and CVE-2014-8080.

— MITRE

Affected Software

30 affected componentsFixes available
ruby-lang Ruby<=1.9.3
ruby-lang Ruby=1.9.3
ruby-lang Ruby=1.9.3-p0
ruby-lang Ruby=1.9.3-p125
ruby-lang Ruby=1.9.3-p194
ruby-lang Ruby=1.9.3-p286
ruby-lang Ruby=1.9.3-p383
ruby-lang Ruby=1.9.3-p385
ruby-lang Ruby=1.9.3-p392
ruby-lang Ruby=1.9.3-p426
ruby-lang Ruby=1.9.3-p429
ruby-lang Ruby=1.9.3-p448
ruby-lang Ruby=1.9.3-p545
ruby-lang Ruby=1.9.3-p547
ruby-lang Ruby=2.0.0
ruby-lang Ruby=2.0.0-p0
ruby-lang Ruby=2.0.0-p195
ruby-lang Ruby=2.0.0-p247
ruby-lang Ruby=2.0.0-p451
ruby-lang Ruby=2.0.0-p481
ruby-lang Ruby=2.0.0-p576
ruby-lang Ruby=2.0.0-p594
ruby-lang Ruby=2.1.1
ruby-lang Ruby=2.1.2
ruby-lang Ruby=2.1.3
ruby-lang Ruby=2.1.4
redhat/ruby<1.9.3
1.9.3
redhat/ruby<2.0.0
2.0.0
redhat/ruby<2.1.5
2.1.5
redhat/jruby<1.7.16.2
1.7.16.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/ruby to a version that resolves this vulnerability.

    Fixed in 1.9.3
  2. Upgrade

    Upgrade redhat/ruby to a version that resolves this vulnerability.

    Fixed in 2.0.0
  3. Upgrade

    Upgrade redhat/ruby to a version that resolves this vulnerability.

    Fixed in 2.1.5
  4. Upgrade

    Upgrade redhat/jruby to a version that resolves this vulnerability.

    Fixed in 1.7.16.2
  5. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 1.9.3 patchlevel 551
  6. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 2.0.0 patchlevel 598
  7. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 2.1.5

Event History

Nov 3, 2014
Data Sourced
via Red Hat·03:48 PM
DescriptionSeverityAffected Software
Nov 21, 2014
CVE Published
via MITRE·03:00 PM
Data Sourced
via MITRE·03:00 PM
Description
Data Sourced
03:59 PM
RemedyDescriptionSeverityAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2014-8090?

CVE-2014-8090 has a high severity level as it allows remote attackers to cause a denial of service through CPU and memory consumption.

2

How do I fix CVE-2014-8090?

To fix CVE-2014-8090, upgrade Ruby to version 1.9.3 patchlevel 551 or higher, 2.0.0 patchlevel 598 or higher, or 2.1.5 or higher.

3

Which Ruby versions are affected by CVE-2014-8090?

CVE-2014-8090 affects Ruby versions 1.9.x before patchlevel 551, 2.0.x before patchlevel 598, and 2.1.x before patchlevel 5.

4

What type of attack does CVE-2014-8090 enable?

CVE-2014-8090 enables a denial of service (DoS) attack through resource exhaustion via crafted XML documents.

5

Is CVE-2014-8090 related to XML processing in Ruby?

Yes, CVE-2014-8090 specifically relates to the REXML parser in Ruby which is vulnerable to handling certain XML entities.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203