Input validation error in Ruby - CVE-2013-1821
Published: April 10, 2013 / Updated: December 27, 2021
Vulnerability details
The vulnerability allows remote attackers to perform a denial of service (DoS) attack.
The vulnerability exists due to insufficient validation of user-supplied input. A remote attacker can 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 software
Amazon Linux AMI
Debian Linux
Ubuntu
ruby1.8 (Ubuntu package)
libruby1.8 (Ubuntu package)
ruby1.8 (Debian package)
ruby1.9.1 (Debian package)
libruby1.9.1 (Ubuntu package)
ruby1.9.1 (Ubuntu package)
How to mitigate CVE-2013-1821
libruby1.8 (Ubuntu package) - addressed in versions 1.8.7.249-2ubuntu0.3, 1.8.7.352-2ubuntu0.3, 1.8.7.352-2ubuntu1.2, 1.8.7.358-4ubuntu0.2
ruby1.8 (Debian package) - addressed in versions 1.8.7.302-2squeeze2, 1.8.7.358-7.1+deb7u1
ruby1.9.1 (Debian package) - addressed in versions 1.9.2.0-2+deb6u1, 1.9.3.194-8.1+deb7u1
libruby1.9.1 (Ubuntu package) - addressed in versions 1.9.3.0-1ubuntu2.6, 1.9.3.194-1ubuntu1.4
ruby1.9.1 (Ubuntu package) - addressed in versions 1.9.3.0-1ubuntu2.6, 1.9.3.194-1ubuntu1.4
External References
- http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=702525
- http://lists.opensuse.org/opensuse-security-announce/2013-04/msg00001.html
- http://lists.opensuse.org/opensuse-security-announce/2013-04/msg00015.html
- http://lists.opensuse.org/opensuse-updates/2013-04/msg00034.html
- http://lists.opensuse.org/opensuse-updates/2013-04/msg00036.html
- http://rhn.redhat.com/errata/RHSA-2013-0611.html
- http://rhn.redhat.com/errata/RHSA-2013-0612.html
- http://rhn.redhat.com/errata/RHSA-2013-1028.html
- http://rhn.redhat.com/errata/RHSA-2013-1147.html
- http://secunia.com/advisories/52783
- http://secunia.com/advisories/52902
- http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=39384
- http://www.debian.org/security/2013/dsa-2738
- http://www.debian.org/security/2013/dsa-2809
- http://www.mandriva.com/security/advisories?name=MDVSA-2013:124
- http://www.openwall.com/lists/oss-security/2013/03/06/5
- http://www.oracle.com/technetwork/topics/security/bulletinjul2015-2511963.html
- http://www.ruby-lang.org/en/news/2013/02/22/rexml-dos-2013-02-22/
- http://www.securityfocus.com/bid/58141
- http://www.slackware.com/security/viewer.php?l=slackware-security&y=2013&m=slackware-security.426862
- http://www.ubuntu.com/usn/USN-1780-1
- https://bugzilla.redhat.com/show_bug.cgi?id=914716
- https://wiki.mageia.org/en/Support/Advisories/MGASA-2013-0092