Skip to content
OpenAdvisories
Medium CVE-2013-1821 EUVD-2022-4143GHSA-hgg7-cghq-xhf4

Ruby vulnerable to denial of service

Published Apr 9, 2013 · Updated Aug 6, 2024 · Assigned by redhat

Description

lib/rexml/text.rb in the REXML parser in Ruby before 1.9.3-p392 allows remote attackers to cause a denial of service (memory consumption and crash) via crafted text nodes in an 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.

ReleasePackageFixed inAdvisory
Debian 7 ruby1.8 1.8.7.358-7.1+deb7u1 DSA-2809-1
Debian 7 ruby1.9.1 1.9.3.194-8.1+deb7u1 DSA-2738-1
Debian 6.0 ruby1.8 1.8.7.302-2squeeze2 DSA-2809-1
Debian 6.0 ruby1.9.1 1.9.2.0-2+deb6u1 DSA-2738-1
ReleasePackageFixed inAdvisory
RHEL 6 ruby +8 1.8.7.352-10.el6_4 RHSA-2013:0612
RHEL 5 ruby +8 1.8.5-29.el5_9 RHSA-2013:0611
Show 1 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
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

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.jruby:jruby < 1.7.3 1.7.3 GHSA-hgg7-cghq-xhf4

Advisories 9

References