CVE-2013-1821 json
Ruby vulnerable to denial of service
published 13y ago modified 4mo ago also GHSA-hgg7-cghq-xhf4 , EUVD-2022-4143
- cvss
- 5.0
- version 2.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 6.9%
- EPSS 6.9% chance of exploitation in 30 days, percentile 94%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- maven org.jruby:jruby 1.7.3
- ruby4.0 hummingbird 1 4.0.0-33.3.hum1
- ruby4.0-libs hummingbird 1 4.0.0-33.3.hum1
- ruby4.0-bundled-gems hummingbird 1 4.0.0-33.3.hum1
- ruby4.0-default-gems hummingbird 1 4.0.0-33.3.hum1
- ruby3.3 hummingbird 1 3.3.10-23.1.hum1
- ruby3.3-libs hummingbird 1 3.3.10-23.1.hum1
- ruby3.3-bundled-gems hummingbird 1 3.3.10-23.1.hum1
- ruby3.3-default-gems hummingbird 1 3.3.10-23.1.hum1
red hat advisories RHSA-2026:8838RHSA-2026:7305RHSA-2026:7307RHSA-2013:0612RHSA-2013:0611
Is CVE-2013-1821 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2013-1821 updated cvss 4.3
ruby: entity expansion DoS vulnerability in REXML
-
Red Hat OpenShift Enterprise 1 ruby193-rubyaffected: no fix available
-
Red Hat JBoss SOA Platform 4 jruby jrubyaffected: no fix planned “Will not fix”
-
Red Hat JBoss SOA Platform 5 jruby jrubyaffected: no fix available
-
Red Hat Fuse ESB Enterprise 7.1.0fixed: vendor fix RHSA-2013:1028
-
Red Hat Enterprise Linux (v. 5 server) ruby 1.8.5-29.el5_9, ruby-ri 1.8.5-29.el5_9, ruby-irb 1.8.5-29.el5_9, ruby-libs 1.8.5-29.el5_9, ruby-mode 1.8.5-29.el5_9, ruby-rdoc 1.8.5-29.el5_9, +1 morefixed: vendor fix RHSA-2013:0611
-
Red Hat Enterprise Linux Desktop (v. 6) ruby 1.8.7.352-10.el6_4, ruby-irb 1.8.7.352-10.el6_4, ruby-libs 1.8.7.352-10.el6_4, ruby-rdoc 1.8.7.352-10.el6_4 Red Hat Enterprise Linux Desktop Optional (v. 6) ruby 1.8.7.352-10.el6_4, ruby-ri 1.8.7.352-10.el6_4, ruby-tcltk 1.8.7.352-10.el6_4 Red Hat Enterprise Linux HPC Node (v. 6) ruby 1.8.7.352-10.el6_4, ruby-irb 1.8.7.352-10.el6_4, ruby-libs 1.8.7.352-10.el6_4, ruby-rdoc 1.8.7.352-10.el6_4 Red Hat Enterprise Linux HPC Node Optional (v. 6) ruby 1.8.7.352-10.el6_4, ruby-ri 1.8.7.352-10.el6_4, ruby-tcltk 1.8.7.352-10.el6_4 Red Hat Enterprise Linux Server (v. 6) ruby 1.8.7.352-10.el6_4, ruby-irb 1.8.7.352-10.el6_4, ruby-libs 1.8.7.352-10.el6_4, ruby-rdoc 1.8.7.352-10.el6_4 Red Hat Enterprise Linux Server Optional (v. 6) ruby 1.8.7.352-10.el6_4, ruby-ri 1.8.7.352-10.el6_4, ruby-tcltk 1.8.7.352-10.el6_4fixed: vendor fix RHSA-2013:0612
+2 more productsfewer
Red Hat Enterprise Linux Workstation (v. 6) ruby 1.8.7.352-10.el6_4, ruby-irb 1.8.7.352-10.el6_4, ruby-libs 1.8.7.352-10.el6_4, ruby-rdoc 1.8.7.352-10.el6_4 Red Hat Enterprise Linux Workstation Optional (v. 6) ruby 1.8.7.352-10.el6_4, ruby-ri 1.8.7.352-10.el6_4, ruby-tcltk 1.8.7.352-10.el6_4 -
Red Hat Hardened Images ruby3.4 3.4.8-31.1.hum1, ruby4.0 4.0.0-33.3.hum1, ruby3.3 3.3.10-23.1.hum1, ruby3.4-libs 3.4.8-31.1.hum1, ruby4.0-libs 4.0.0-33.3.hum1, ruby3.3-libs 3.3.10-23.1.hum1, +6 morefixed: vendor fix RHSA-2026:7305
-
Red Hat JBoss Fuse 6.0fixed: vendor fix RHSA-2013:1185
show 2 moreshow fewer
-
Red Hat JBoss SOA Platform 5.3fixed: vendor fix RHSA-2013:1147
-
Red Hat Hardened Images rubygem3.3-rbs 3.4.0-23.1.hum1, rubygem3.3-rss 0.3.1-23.1.hum1, rubygem3.4-rbs 3.8.0-31.1.hum1, rubygem3.4-rss 0.3.1-31.1.hum1, rubygem4.0-rss 0.3.2-33.3.hum1, rubygem3.3-irb 1.13.1-23.1.hum1, +45 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
6.86% chance of exploitation in the next 30 days, higher than 94% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:N/I:N/A:P |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| maven | org.jruby:jruby | <1.7.3 |
1.7.3 |
Classification
References
-
rhn.redhat.com
/errata/RHSA-2013-0612.html
vendor-advisory
-
mandriva.com
/security/advisories?name=MDVSA-2013:124
vendor-advisory, web
-
lists.opensuse.org
/opensuse-updates/2013-04/msg00034.html
vendor-advisory, web
-
slackware.com
/security/viewer.php?l=slackware-security&y=2013&m=slackware-security.426862
vendor-advisory, web
-
debian.org
/security/2013/dsa-2738
vendor-advisory, web
-
lists.opensuse.org
/opensuse-updates/2013-04/msg00036.html
vendor-advisory, web
-
ubuntu.com
/usn/USN-1780-1
vendor-advisory, web
-
lists.opensuse.org
/opensuse-security-announce/2013-04/msg00001.html
vendor-advisory, web
-
debian.org
/security/2013/dsa-2809
vendor-advisory, web
-
rhn.redhat.com
/errata/RHSA-2013-1028.html
vendor-advisory
-
rhn.redhat.com
/errata/RHSA-2013-0611.html
vendor-advisory
-
rhn.redhat.com
/errata/RHSA-2013-1147.html
vendor-advisory, web
-
lists.opensuse.org
/opensuse-security-announce/2013-04/msg00015.html
vendor-advisory, web
-
secunia.com
/advisories/52783
third-party-advisory, vendor-advisory
-
secunia.com
/advisories/52902
third-party-advisory, vendor-advisory
-
ruby-lang.org
/en/news/2013/02/22/rexml-dos-2013-02-22/
vendor-advisory
-
svn.ruby-lang.org
/cgi-bin/viewvc.cgi?view=revision&revision=39384
web
-
bugs.debian.org
/cgi-bin/bugreport.cgi?bug=702525
web
-
wiki.mageia.org
/en/Support/Advisories/MGASA-2013-0092
web
- oracle.com /technetwork/topics/security/bulletinjul2015-2511963.html
-
securityfocus.com
/bid/58141
vdb-entry
-
openwall.com
/lists/oss-security/2013/03/06/5
mailing-list, web
-
bugzilla.redhat.com
/show_bug.cgi?id=914716
web
-
nvd.nist.gov
/vuln/detail/CVE-2013-1821
advisory
-
github.com
/jruby/jruby
package
-
jruby.org
/2013/02/21/jruby-1-7-3.html
web
-
ruby-lang.org
/en/news/2013/02/22/rexml-dos-2013-02-22
web
Sources
- CVE List CVE-2013-1821
- GitHub Advisory GHSA-hgg7-cghq-xhf4
- NVD CVE-2013-1821
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.