{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2013-1821","published":"2013-04-09T21:55:01.113000Z","last_modified":"2026-06-16T23:52:11.147000Z","status":"Modified","cvss":{"version":"2.0","score":5.0,"severity":"MEDIUM","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","source":"nvd@nist.gov","primary":true},"auth":false,"cwes":["CWE-20"],"cpes":[{"criteria":"cpe:2.3:a:ruby-lang:ruby:*:p385:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version_end_including":"1.9.3"},{"criteria":"cpe:2.3:a:ruby-lang:ruby:1.9:*:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version":"1.9"},{"criteria":"cpe:2.3:a:ruby-lang:ruby:1.9.1:*:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version":"1.9.1"},{"criteria":"cpe:2.3:a:ruby-lang:ruby:1.9.2:*:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version":"1.9.2"},{"criteria":"cpe:2.3:a:ruby-lang:ruby:1.9.3:*:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version":"1.9.3"},{"criteria":"cpe:2.3:a:ruby-lang:ruby:1.9.3:p0:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version":"1.9.3"},{"criteria":"cpe:2.3:a:ruby-lang:ruby:1.9.3:p125:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version":"1.9.3"},{"criteria":"cpe:2.3:a:ruby-lang:ruby:1.9.3:p194:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version":"1.9.3"},{"criteria":"cpe:2.3:a:ruby-lang:ruby:1.9.3:p286:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version":"1.9.3"},{"criteria":"cpe:2.3:a:ruby-lang:ruby:1.9.3:p383:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version":"1.9.3"},{"criteria":"cpe:2.3:a:ruby-lang:ruby:2.0:*:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version":"2.0"},{"criteria":"cpe:2.3:a:ruby-lang:ruby:2.0.0:*:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version":"2.0.0"},{"criteria":"cpe:2.3:a:ruby-lang:ruby:2.0.0:rc1:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version":"2.0.0"},{"criteria":"cpe:2.3:a:ruby-lang:ruby:2.0.0:rc2:*:*:*:*:*:*","part":"a","vendor":"ruby-lang","product":"ruby","version":"2.0.0"}],"cpes_truncated":false,"vendors":["ruby-lang"],"products":["ruby-lang/ruby"],"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-hgg7-cghq-xhf4","ecosystem":"Maven","name":"org.jruby:jruby","purl":"pkg:maven/org.jruby/jruby","ranges":[{"introduced":"0","fixed":"1.7.3"}],"versions":["0.8.3","0.9.1","0.9.2","0.9.8","0.9.9","1.0","1.0.1","1.0.2","1.0.3","1.0RC1","1.0RC2","1.0RC3","1.1","1.1.1","1.1.2","1.1.3","1.1.4","1.1.5","1.1.6","1.1.6RC1","1.1RC1","1.1RC2","1.1RC3","1.1b1","1.2.0","1.2.0RC2","1.2RC1","1.3.0","1.3.0RC1","1.3.0RC2","1.3.1","1.4.0","1.4.0RC1","1.4.0RC2","1.4.0RC3","1.4.1","1.5.0","1.5.0.RC1","1.5.0.RC2","1.5.0.RC3","1.5.1","1.5.2","1.5.3","1.5.5","1.5.6","1.6.0","1.6.0.RC1","1.6.0.RC2","1.6.0.RC3","1.6.1","1.6.2","1.6.3","1.6.4","1.6.5","1.6.5.1","1.6.6","1.6.7","1.6.7.1","1.6.7.2","1.6.8","1.7.0","1.7.0.RC1","1.7.0.RC2","1.7.0.preview1","1.7.0.preview2","1.7.1","1.7.2"]}],"severity":"medium","priority_score":45,"links":{"html_es":"/es/cve/CVE-2013-1821/","html_en":"/en/cve/CVE-2013-1821/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2013-1821","cve_org":"https://www.cve.org/CVERecord?id=CVE-2013-1821"},"untrusted":{"vendor_name":"Ruby-lang","product_name":"Ruby","desc_en":"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.","affected":[],"references":[{"url":"http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=702525","tags":[]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2013-04/msg00001.html","tags":[]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2013-04/msg00015.html","tags":[]},{"url":"http://lists.opensuse.org/opensuse-updates/2013-04/msg00034.html","tags":[]},{"url":"http://lists.opensuse.org/opensuse-updates/2013-04/msg00036.html","tags":[]},{"url":"http://rhn.redhat.com/errata/RHSA-2013-0611.html","tags":[]},{"url":"http://rhn.redhat.com/errata/RHSA-2013-0612.html","tags":[]},{"url":"http://rhn.redhat.com/errata/RHSA-2013-1028.html","tags":[]},{"url":"http://rhn.redhat.com/errata/RHSA-2013-1147.html","tags":[]},{"url":"http://secunia.com/advisories/52783","tags":["Vendor Advisory"]},{"url":"http://secunia.com/advisories/52902","tags":["Vendor Advisory"]},{"url":"http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=39384","tags":[]},{"url":"http://www.debian.org/security/2013/dsa-2738","tags":[]},{"url":"http://www.debian.org/security/2013/dsa-2809","tags":[]},{"url":"http://www.mandriva.com/security/advisories?name=MDVSA-2013:124","tags":[]},{"url":"http://www.openwall.com/lists/oss-security/2013/03/06/5","tags":[]},{"url":"http://www.oracle.com/technetwork/topics/security/bulletinjul2015-2511963.html","tags":[]},{"url":"http://www.ruby-lang.org/en/news/2013/02/22/rexml-dos-2013-02-22/","tags":["Vendor Advisory"]},{"url":"http://www.securityfocus.com/bid/58141","tags":[]},{"url":"http://www.slackware.com/security/viewer.php?l=slackware-security&y=2013&m=slackware-security.426862","tags":[]},{"url":"http://www.ubuntu.com/usn/USN-1780-1","tags":[]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=914716","tags":[]},{"url":"https://wiki.mageia.org/en/Support/Advisories/MGASA-2013-0092","tags":[]}]}}