Description
The REXML parser in Ruby 1.9.x before 1.9.3-p550, 2.0.x before 2.0.0-p594, and 2.1.x before 2.1.4 allows remote attackers to cause a denial of service (memory consumption) via a crafted XML document, aka an XML Entity Expansion (XEE) attack.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 7 | ruby1.8 | 1.8.7.358-7.1+deb7u2 | DSA-3159-1 |
| Debian 7 | ruby1.9.1 | 1.9.3.194-8.1+deb7u3 | DSA-3157-1 |
| Debian 6.0 | ruby1.8 | 1.8.7.302-2squeeze3 | DLA-88-1 |
| Debian 6.0 | ruby1.9.1 | 1.9.2.0-2+deb6u3 | DLA-200-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 14.04 LTS | ruby1.9.1 | 1.9.3.484-2ubuntu1.1 | USN-2397-1 |
| Ubuntu 14.04 LTS | ruby2.0 | 2.0.0.484-1ubuntu2.1 | USN-2397-1 |
Red Hat
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| RHEL 7 | ruby +5 | 2.0.0.353-22.el7_0 | RHSA-2014:1912 |
| RHEL 7 | rubygem-bigdecimal | 1.2.0-22.el7_0 | RHSA-2014:1912 |
| RHEL 7 | rubygem-io-console | 0.4.2-22.el7_0 | RHSA-2014:1912 |
| RHEL 7 | rubygem-json | 1.7.7-22.el7_0 | RHSA-2014:1912 |
| RHEL 7 | rubygem-minitest | 4.3.2-22.el7_0 | RHSA-2014:1912 |
| RHEL 7 | rubygem-psych | 2.0.0-22.el7_0 | RHSA-2014:1912 |
| RHEL 7 | rubygem-rake | 0.9.6-22.el7_0 | RHSA-2014:1912 |
| RHEL 7 | rubygem-rdoc | 4.0.0-22.el7_0 | RHSA-2014:1912 |
| RHEL 7 | rubygems +1 | 2.0.14-22.el7_0 | RHSA-2014:1912 |
| RHEL 6 | ruby +8 | 1.8.7.374-3.el6_6 | RHSA-2014:1911 |
| RHEL 1 | ruby193-ruby +5 | 1.9.3.484-50.el6 | RHSA-2014:1913 |
| RHEL 1 | ruby193-rubygem-bigdecimal | 1.1.0-50.el6 | RHSA-2014:1913 |
| RHEL 1 | ruby193-rubygem-io-console | 0.3-50.el6 | RHSA-2014:1913 |
| RHEL 1 | ruby193-rubygem-json | 1.5.5-50.el6 | RHSA-2014:1913 |
| RHEL 1 | ruby193-rubygem-minitest | 2.5.1-50.el6 | RHSA-2014:1913 |
| RHEL 1 | ruby193-rubygem-rake | 0.9.2.2-50.el6 | RHSA-2014:1913 |
| RHEL 1 | ruby193-rubygem-rdoc | 3.9.5-50.el6 | RHSA-2014:1913 |
| RHEL 1 | ruby193-rubygems +1 | 1.8.23-50.el6 | RHSA-2014:1913 |
| RHEL 1 | ruby200-ruby +5 | 2.0.0.353-24.el6 | RHSA-2014:1914 |
| RHEL 1 | ruby200-rubygem-bigdecimal | 1.2.0-24.el6 | RHSA-2014:1914 |
| RHEL 1 | ruby200-rubygem-io-console | 0.4.2-24.el6 | RHSA-2014:1914 |
| RHEL 1 | ruby200-rubygem-json | 1.7.7-24.el6 | RHSA-2014:1914 |
| RHEL 1 | ruby200-rubygem-minitest | 4.3.2-24.el6 | RHSA-2014:1914 |
| RHEL 1 | ruby200-rubygem-psych | 2.0.0-24.el6 | RHSA-2014:1914 |
| RHEL 1 | ruby200-rubygem-rake | 0.9.6-24.el6 | RHSA-2014:1914 |
| RHEL 1 | ruby200-rubygem-rdoc | 4.0.0-24.el6 | RHSA-2014:1914 |
| RHEL 1 | ruby200-rubygems +1 | 2.0.14-24.el6 | RHSA-2014:1914 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Red Hat Hardened Images 1 | ruby3.3 +5 | 3.3.10-23.1.hum1 | RHSA-2026:7305 |
| Red Hat Hardened Images 1 | ruby3.4 +5 | 3.4.8-31.1.hum1 | RHSA-2026:7307 |
| Red Hat Hardened Images 1 | ruby4.0 +5 | 4.0.0-33.3.hum1 | RHSA-2026:8838 |
Oracle Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Oracle Linux 7 | ruby +5 | 2.0.0.353-22.el7_0 | ELSA-2014-1912 |
| Oracle Linux 7 | rubygem-bigdecimal | 1.2.0-22.el7_0 | ELSA-2014-1912 |
| Oracle Linux 7 | rubygem-io-console | 0.4.2-22.el7_0 | ELSA-2014-1912 |
| Oracle Linux 7 | rubygem-json | 1.7.7-22.el7_0 | ELSA-2014-1912 |
| Oracle Linux 7 | rubygem-minitest | 4.3.2-22.el7_0 | ELSA-2014-1912 |
| Oracle Linux 7 | rubygem-psych | 2.0.0-22.el7_0 | ELSA-2014-1912 |
| Oracle Linux 7 | rubygem-rake | 0.9.6-22.el7_0 | ELSA-2014-1912 |
| Oracle Linux 7 | rubygem-rdoc | 4.0.0-22.el7_0 | ELSA-2014-1912 |
| Oracle Linux 7 | rubygems +1 | 2.0.14-22.el7_0 | ELSA-2014-1912 |
Advisories 14
- RHSA-2026:7305 Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update Red Hat Security Advisories (RHSA) · Oct 6, 2026
- RHSA-2026:8838 Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update Red Hat Security Advisories (RHSA) · Oct 6, 2026
- RHSA-2026:7307 Red Hat Security Advisory: Red Hat Hardened Images RPMs bug fix and enhancement update Red Hat Security Advisories (RHSA) · Oct 6, 2026
- RHSA-2014:1913 Red Hat Security Advisory: ruby193-ruby security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2014:1914 Red Hat Security Advisory: ruby200-ruby security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2014:1912 Red Hat Security Advisory: ruby security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- RHSA-2014:1911 Red Hat Security Advisory: ruby security update Red Hat Security Advisories (RHSA) · Jun 29, 2026
- WID-SEC-2026-1417 Ruby: Mehrere Schwachstellen BSI CERT-Bund (WID) · May 7, 2026
- USN-2397-1 ruby1.8, ruby1.9.1, ruby2.0, ruby2.1 vulnerabilities Ubuntu Security Notices (USN) · Apr 22, 2026
- DLA-88-1 ruby1.8 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-3157-1 ruby1.9.1 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DSA-3159-1 ruby1.8 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- DLA-200-1 ruby1.9.1 - security update Debian Security (DSA / DLA) · Mar 9, 2026
- ELSA-2014-1912 Moderate: ruby security update (Oracle Linux 7) Oracle Linux Security Advisories (ELSA) · Nov 26, 2014
References
- 61607 third-party-advisory
- openSUSE-SU-2014:1589 vendor-advisory
- http://advisories.mageia.org/MGASA-2014-0443.html
- RHSA-2014:1912 vendor-advisory
- DSA-3159 vendor-advisory
- 62050 third-party-advisory
- APPLE-SA-2015-09-30-3 vendor-advisory
- http://www.oracle.com/technetwork/topics/security/linuxbulletinjan2016-2867209.html
- RHSA-2014:1913 vendor-advisory
- https://www.ruby-lang.org/en/news/2014/10/27/rexml-dos-cve-2014-8080/
- https://support.apple.com/HT205267
- RHSA-2014:1911 vendor-advisory
- 70935 vdb-entry
- DSA-3157 vendor-advisory
- USN-2397-1 vendor-advisory
- 62748 third-party-advisory
- MDVSA-2015:129 vendor-advisory
- openSUSE-SU-2015:0007 vendor-advisory
- RHSA-2014:1914 vendor-advisory
- openSUSE-SU-2015:0002 vendor-advisory