# CVE-2013-1821: Ruby vulnerable to denial of service

- Severity: Medium 5.0 (CVSS:2.0, scored by NVD) `AV:N/AC:L/Au:N/C:N/I:N/A:P`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 7.10%, higher than 94% of CVEs (2026-12-01)
- Published: 2013-04-09T21:00:00.000Z
- Modified: 2026-06-16T23:52:11.147Z
- Also known as: GHSA-hgg7-cghq-xhf4
- Weaknesses: CWE-20, CWE-400
- 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- org.jruby:jruby (Maven): before 1.7.3
- ruby-lang ruby: up to 1.9.3; 1.9; 1.9.1; 1.9.2; 1.9.3; 2.0; 2.0.0

## Every score

- GitHub: rating Medium
- NVD: CVSS:2.0 5.0 Medium `AV:N/AC:L/Au:N/C:N/I:N/A:P`

## References

- <http://rhn.redhat.com/errata/RHSA-2013-0612.html> (vendor-advisory)
- <http://www.mandriva.com/security/advisories?name=MDVSA-2013:124> (vendor-advisory, web)
- <http://lists.opensuse.org/opensuse-updates/2013-04/msg00034.html> (vendor-advisory, web)
- <http://www.slackware.com/security/viewer.php?l=slackware-security&y=2013&m=slackware-security.426862> (vendor-advisory, web)
- <http://secunia.com/advisories/52783> (third-party-advisory, vendor-advisory)
- <http://www.debian.org/security/2013/dsa-2738> (vendor-advisory, web)
- <http://lists.opensuse.org/opensuse-updates/2013-04/msg00036.html> (vendor-advisory, web)
- <http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=39384> (web)
- <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=702525> (web)
- <https://wiki.mageia.org/en/Support/Advisories/MGASA-2013-0092> (web)
- <http://www.oracle.com/technetwork/topics/security/bulletinjul2015-2511963.html>
- <http://www.ubuntu.com/usn/USN-1780-1> (vendor-advisory, web)
- <http://www.securityfocus.com/bid/58141> (vdb-entry)
- <http://secunia.com/advisories/52902> (third-party-advisory, vendor-advisory)
- <http://www.openwall.com/lists/oss-security/2013/03/06/5> (mailing-list, web)
- <https://bugzilla.redhat.com/show_bug.cgi?id=914716> (web)
- <http://www.ruby-lang.org/en/news/2013/02/22/rexml-dos-2013-02-22/> (vendor-advisory)
- <http://lists.opensuse.org/opensuse-security-announce/2013-04/msg00001.html> (vendor-advisory, web)
- <http://www.debian.org/security/2013/dsa-2809> (vendor-advisory, web)
- <http://rhn.redhat.com/errata/RHSA-2013-1028.html> (vendor-advisory)
- <http://rhn.redhat.com/errata/RHSA-2013-0611.html> (vendor-advisory)
- <http://rhn.redhat.com/errata/RHSA-2013-1147.html> (vendor-advisory, web)
- <http://lists.opensuse.org/opensuse-security-announce/2013-04/msg00015.html> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2013-1821> (advisory)
- <https://github.com/jruby/jruby> (package)
- <https://www.jruby.org/2013/02/21/jruby-1-7-3.html> (web)
- <http://www.ruby-lang.org/en/news/2013/02/22/rexml-dos-2013-02-22> (web)

## Sources

- CVE List: [CVE-2013-1821](https://www.cve.org/CVERecord?id=CVE-2013-1821), CVE Terms of Use, modified 2024-08-06
- GitHub Advisory Database: [GHSA-hgg7-cghq-xhf4](https://github.com/advisories/GHSA-hgg7-cghq-xhf4), CC-BY-4.0, modified 2024-11-29
- NVD: [CVE-2013-1821](https://nvd.nist.gov/vuln/detail/CVE-2013-1821), Public domain, modified 2026-06-16

---

Page: https://cve.day/CVE-2013-1821 · Whole record: https://cve.day/CVE-2013-1821.json · Rebuilt by cve.day 2026-11-25T22:57:15.700Z
