CVE-2013-1821Ruby-lang Ruby
Medium 5.0 No auth needed
- Priority
- 45
- CVSS 2.0
- 5.0
- EPSS
- —
- Auth required
- No
- Published
- Apr 9, 2013
- Updated
- Jun 16, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-20
- Vector
AV:N/AC:L/Au:N/C:N/I:N/A:P
What happens
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
- Apply the vendor's security update for Ruby.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.jruby:jruby |
< 1.7.3 |
1.7.3 |
— |
Per OSV / GitHub Advisories (GHSA-hgg7-cghq-xhf4). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| ruby-lang | ruby | ≤ 1.9.3 |
| ruby-lang | ruby | 1.9 |
| ruby-lang | ruby | 1.9.1 |
| ruby-lang | ruby | 1.9.2 |
| ruby-lang | ruby | 1.9.3 |
| ruby-lang | ruby | 1.9.3 |
| ruby-lang | ruby | 1.9.3 |
| ruby-lang | ruby | 1.9.3 |
| ruby-lang | ruby | 1.9.3 |
| ruby-lang | ruby | 1.9.3 |
| ruby-lang | ruby | 2.0 |
| ruby-lang | ruby | 2.0.0 |
| ruby-lang | ruby | 2.0.0 |
| ruby-lang | ruby | 2.0.0 |
Official sources
References
Links published by the sources. Open them with care.
- bugs.debian.org
- lists.opensuse.org
- lists.opensuse.org
- lists.opensuse.org
- lists.opensuse.org
- rhn.redhat.com
- rhn.redhat.com
- rhn.redhat.com
- rhn.redhat.com
- secunia.com Vendor Advisory
- secunia.com Vendor Advisory
- svn.ruby-lang.org
- www.debian.org
- www.debian.org
- www.mandriva.com
- www.openwall.com
- www.oracle.com
- www.ruby-lang.org Vendor Advisory
- www.securityfocus.com
- www.slackware.com
- www.ubuntu.com
- bugzilla.redhat.com
- wiki.mageia.org