Skip to content
Fencer Intel
medium 5.0

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 Fencer

Vendor 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-ruby
    affected: no fix available
  • Red Hat JBoss SOA Platform 4 jruby jruby
    affected: no fix planned “Will not fix”
  • Red Hat JBoss SOA Platform 5 jruby jruby
    affected: no fix available
  • Red Hat Fuse ESB Enterprise 7.1.0
    fixed: 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 more
    fixed: 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_4
    +2 more products
    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
    fixed: vendor fix RHSA-2013:0612
  • 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 more
    fixed: vendor fix RHSA-2026:7305
  • Red Hat JBoss Fuse 6.0
    fixed: vendor fix RHSA-2013:1185
show 2 more
  • Red Hat JBoss SOA Platform 5.3
    fixed: 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 more
    not 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

Weakness
  • CWE-20 Improper Input Validation
  • CWE-400 Uncontrolled Resource Consumption

References

Sources

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.