CVE-2013-0156Rubyonrails Rails Improper Input Validation
NVD
Vulnerability Summary
active_support/core_ext/hash/conversions.rb in Ruby on Rails before 2.3.15, 3.0.x before 3.0.19, 3.1.x before 3.1.10, and 3.2.x before 3.2.11 does not properly restrict casts of string values, which allows remote attackers to conduct object-injection attacks and execute arbitrary code, or cause a denial of service (memory and CPU consumption) involving nested XML entity references, by leveraging Action Pack support for (1) YAML type conversion or (2) Symbol type conversion.
Affected & Patched Versions
- Rubyonrails Rails >= 3.2.0 and < 3.2.11
- Rubyonrails Ruby On Rails < 2.3.15
- Rubyonrails Ruby On Rails >= 3.0.0 and < 3.0.19
- Rubyonrails Ruby On Rails >= 3.1.0 and < 3.1.10
- Debian Linux
- Rubyonrails Rails 3.2.11
- Rubyonrails Ruby On Rails 2.3.15
- Rubyonrails Ruby On Rails 3.0.19
- Rubyonrails Ruby On Rails 3.1.10
What to do
Prioritize this fix. Exploit code is public, so attacks can follow quickly.
- Check whether you run Rubyonrails Rails and which version.
- Update to a patched version listed above, then confirm the new version.
- Review logs and exposed services for signs of earlier compromise.
Timeline
- Jan 13, 2013Published
- Apr 29, 2026Record last modified
Score, severity and exploitation changes are tracked from the day Watchtower started logging them.
Get notified about new Rubyonrails Rails CVEsYou are reading CVE-2013-0156. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alertsExternal References
- Advisoryhttp://ics-cert.us-cert.gov/advisories/ICSA-13-036-01A
- Advisoryhttp://lists.apple.com/archives/security-announce/2013/Mar/msg00002.html
- Advisoryhttp://rhn.redhat.com/errata/RHSA-2013-0153.html
- Advisoryhttp://rhn.redhat.com/errata/RHSA-2013-0154.html
- Advisoryhttp://rhn.redhat.com/errata/RHSA-2013-0155.html
- Vendor Advisoryhttp://weblog.rubyonrails.org/2013/1/28/Rails-3-0-20-and-2-3-16-have-been-released/
- Vendor Advisoryhttp://www.debian.org/security/2013/dsa-2604
- Vendor Advisoryhttp://www.fujitsu.com/global/support/software/security/products-f/sw-sv-rcve-ror201301e.html
- Advisoryhttp://www.insinuator.net/2013/01/rails-yaml/
- Advisoryhttp://www.kb.cert.org/vuls/id/380039
- Advisoryhttp://www.kb.cert.org/vuls/id/628463
- Advisoryhttps://community.rapid7.com/community/metasploit/blog/2013/01/09/serialization-mischief-in-ruby-land-cve-2013-0156
- Advisoryhttps://groups.google.com/group/rubyonrails-security/msg/c1432d0f8c70e89d?dmode=source&output=gplain
- Vendor Advisoryhttps://puppet.com/security/cve/cve-2013-0156
- Advisoryhttp://ics-cert.us-cert.gov/advisories/ICSA-13-036-01A
- Advisoryhttp://lists.apple.com/archives/security-announce/2013/Mar/msg00002.html
- Advisoryhttp://rhn.redhat.com/errata/RHSA-2013-0153.html
- Advisoryhttp://rhn.redhat.com/errata/RHSA-2013-0154.html
- Advisoryhttp://rhn.redhat.com/errata/RHSA-2013-0155.html
- Vendor Advisoryhttp://weblog.rubyonrails.org/2013/1/28/Rails-3-0-20-and-2-3-16-have-been-released/
- Vendor Advisoryhttp://www.debian.org/security/2013/dsa-2604
- Vendor Advisoryhttp://www.fujitsu.com/global/support/software/security/products-f/sw-sv-rcve-ror201301e.html
- Advisoryhttp://www.insinuator.net/2013/01/rails-yaml/
- Advisoryhttp://www.kb.cert.org/vuls/id/380039
- Advisoryhttp://www.kb.cert.org/vuls/id/628463
- Advisoryhttps://community.rapid7.com/community/metasploit/blog/2013/01/09/serialization-mischief-in-ruby-land-cve-2013-0156
- Advisoryhttps://groups.google.com/group/rubyonrails-security/msg/c1432d0f8c70e89d?dmode=source&output=gplain
- Vendor Advisoryhttps://puppet.com/security/cve/cve-2013-0156
Data last checked: Nov 24, 2026 09:23 UTC