CVE-2013-1821

Summary

CVECVE-2013-1821
StatePUBLISHED
Assignerredhat
Source PriorityCVE Program / NVD first with legacy fallback
Published2013-04-09 21:55:01 UTC
Updated2026-04-29 01:13:23 UTC
Descriptionlib/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.

Risk And Classification

Primary CVSS: v2.0 5 from [email protected]

AV:N/AC:L/Au:N/C:N/I:N/A:P

Problem Types: CWE-20 | n/a

CVSS v2.0 Breakdown

Access Vector
Network
Access Complexity
Low
Authentication
None
Confidentiality
None
Integrity
None
Availability
Partial

AV:N/AC:L/Au:N/C:N/I:N/A:P

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Ruby-lang Ruby 1.9 All All All
Application Ruby-lang Ruby 1.9.1 All All All
Application Ruby-lang Ruby 1.9.2 All All All
Application Ruby-lang Ruby 1.9.3 All All All
Application Ruby-lang Ruby 1.9.3 p0 All All
Application Ruby-lang Ruby 1.9.3 p125 All All
Application Ruby-lang Ruby 1.9.3 p194 All All
Application Ruby-lang Ruby 1.9.3 p286 All All
Application Ruby-lang Ruby 1.9.3 p383 All All
Application Ruby-lang Ruby 2.0 All All All
Application Ruby-lang Ruby 2.0.0 All All All
Application Ruby-lang Ruby 2.0.0 rc1 All All
Application Ruby-lang Ruby 2.0.0 rc2 All All
Application Ruby-lang Ruby All p385 All All

Vendor Declared Affected Products

SourceVendorProductVersionPlatforms
CNA Na N/a affected n/a Not specified

References

ReferenceSourceLinkTags
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com
Security Advisory SA52902 - SUSE update for ruby - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Vendor Advisory
Ruby REXML Parser Denial of Service Vulnerability af854a3a-2127-422b-91ae-364da2661108 www.securityfocus.com
[security-announce] SUSE-SU-2013:0609-1: important: Security update for af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com
[ruby] Revision 39384 af854a3a-2127-422b-91ae-364da2661108 svn.ruby-lang.org
Support/Advisories/MGASA-2013-0092 - Mageia wiki af854a3a-2127-422b-91ae-364da2661108 wiki.mageia.org
Support / Security / Advisories / / MDVSA-2013:124 | Mandriva af854a3a-2127-422b-91ae-364da2661108 www.mandriva.com
Debian -- Security Information -- DSA-2738-1 ruby1.9.1 af854a3a-2127-422b-91ae-364da2661108 www.debian.org
oss-security - CVE for Ruby Entity expansion DoS vulnerability in REXML (XML bomb) af854a3a-2127-422b-91ae-364da2661108 www.openwall.com
Oracle Solaris Third Party Bulletin - July 2015 af854a3a-2127-422b-91ae-364da2661108 www.oracle.com
Bug 914716 – CVE-2013-1821 ruby: entity expansion DoS vulnerability in REXML af854a3a-2127-422b-91ae-364da2661108 bugzilla.redhat.com
USN-1780-1: Ruby vulnerability | Ubuntu af854a3a-2127-422b-91ae-364da2661108 www.ubuntu.com
[security-announce] SUSE-SU-2013:0647-1: important: Security update for af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com
Red Hat Customer Portal af854a3a-2127-422b-91ae-364da2661108 rhn.redhat.com
#702525 - ruby1.9.1: CVE-2013-1821: entity expansion DoS vulnerability in REXML - Debian Bug report logs af854a3a-2127-422b-91ae-364da2661108 bugs.debian.org
Debian -- Security Information -- DSA-2809-1 ruby1.8 af854a3a-2127-422b-91ae-364da2661108 www.debian.org
Entity expansion DoS vulnerability in REXML (XML bomb, CVE-2013-1821) af854a3a-2127-422b-91ae-364da2661108 www.ruby-lang.org Vendor Advisory
The Slackware Linux Project: Slackware Security Advisories af854a3a-2127-422b-91ae-364da2661108 www.slackware.com
openSUSE-SU-2013:0614-1: ruby: update to fix XML security problems af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org
Security Advisory SA52783 - Ubuntu update for ruby - Secunia af854a3a-2127-422b-91ae-364da2661108 secunia.com Vendor Advisory
openSUSE-SU-2013:0603-1: moderate: ruby: update to fix XML and JSON secu af854a3a-2127-422b-91ae-364da2661108 lists.opensuse.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

© CVE.report 2026

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

Free CVE JSON API cve.report/api

CVE.report and Source URL Uptime Status status.cve.report