CVE-2013-1821
MEDIUM 5.0CVSS 2.0Ruby vulnerable to denial of service
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.
- Published
- 9 Apr 2013
- Last modified
- 16 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-20CWE-400
- Also known as
- GHSA-hgg7-cghq-xhf4
- Sources
- NVDJSONOSV GHSA-hgg7-cghq-xhf4JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:*:p385:*:*:*:*:*:* |
<= 1.9.3 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:1.9:*:*:*:*:*:*:* |
= 1.9 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:1.9.1:*:*:*:*:*:*:* |
= 1.9.1 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:1.9.2:*:*:*:*:*:*:* |
= 1.9.2 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:1.9.3:*:*:*:*:*:*:* |
= 1.9.3 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:1.9.3:p0:*:*:*:*:*:* |
= 1.9.3 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:1.9.3:p125:*:*:*:*:*:* |
= 1.9.3 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:1.9.3:p194:*:*:*:*:*:* |
= 1.9.3 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:1.9.3:p286:*:*:*:*:*:* |
= 1.9.3 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:1.9.3:p383:*:*:*:*:*:* |
= 1.9.3 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:2.0:*:*:*:*:*:*:* |
= 2.0 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:2.0.0:*:*:*:*:*:*:* |
= 2.0.0 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:2.0.0:rc1:*:*:*:*:*:* |
= 2.0.0 | |
| NVD | ruby-lang | rubycpe:2.3:a:ruby-lang:ruby:2.0.0:rc2:*:*:*:*:*:* |
= 2.0.0 | |
| OSV | Maven | org.jruby:jruby | < 1.7.3 | 1.7.3 |
References
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=702525 · WEB
- http://lists.opensuse.org/opensuse-security-announce/2013-04/msg00001.html · WEB
- http://lists.opensuse.org/opensuse-security-announce/2013-04/msg00015.html · WEB
- http://lists.opensuse.org/opensuse-updates/2013-04/msg00034.html · WEB
- http://lists.opensuse.org/opensuse-updates/2013-04/msg00036.html · WEB
- http://rhn.redhat.com/errata/RHSA-2013-0611.html
- http://rhn.redhat.com/errata/RHSA-2013-0612.html
- http://rhn.redhat.com/errata/RHSA-2013-1028.html
- http://rhn.redhat.com/errata/RHSA-2013-1147.html · WEB
- http://secunia.com/advisories/52783 · Vendor Advisory
- http://secunia.com/advisories/52902 · Vendor Advisory
- http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=39384 · WEB
- http://www.debian.org/security/2013/dsa-2738 · WEB
- http://www.debian.org/security/2013/dsa-2809 · WEB
- http://www.mandriva.com/security/advisories?name=MDVSA-2013:124 · WEB
- http://www.openwall.com/lists/oss-security/2013/03/06/5 · WEB
- http://www.oracle.com/technetwork/topics/security/bulletinjul2015-2511963.html
- http://www.ruby-lang.org/en/news/2013/02/22/rexml-dos-2013-02-22/ · Vendor Advisory, WEB
- http://www.securityfocus.com/bid/58141
- http://www.slackware.com/security/viewer.php?l=slackware-security&y=2013&m=slackware-security.426862 · WEB
- http://www.ubuntu.com/usn/USN-1780-1 · WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=914716 · WEB
- https://wiki.mageia.org/en/Support/Advisories/MGASA-2013-0092 · 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
History
- 25 Nov 2026 20:17 UTC · NVD: first stored (published 9 Apr 2013)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 17 May 2022)