Live threats
VulnFox

All CVEs / Ruby-lang

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Ruby.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
ruby-langruby≤ 1.9.3
ruby-langruby1.9
ruby-langruby1.9.1
ruby-langruby1.9.2
ruby-langruby1.9.3
ruby-langruby1.9.3
ruby-langruby1.9.3
ruby-langruby1.9.3
ruby-langruby1.9.3
ruby-langruby1.9.3
ruby-langruby2.0
ruby-langruby2.0.0
ruby-langruby2.0.0
ruby-langruby2.0.0

Official sources

References

Links published by the sources. Open them with care.