CVE-2013-0156
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.
Key facts
- CVSS score
- 7.5 (v2.0)
- Severity
- HIGH
- CVSS vector
AV:N/AC:L/Au:N/C:P/I:P/A:P- Weakness (CWE)
- CWE-20
- EPSS score
- 99.4% (100th percentile)
- In CISA KEV
- No
- In EU EUVD
- Yes (EUVD-2017-0264)
- Published
- January 13, 2013
- NVD last modified
- June 16, 2026
- Status
- Modified
EU Vulnerability Database (EUVD)
This vulnerability is also tracked by ENISA as EUVD-2017-0264 in the EU Vulnerability Database. Last updated in EUVD on August 6, 2024.
View on the EU Vulnerability DatabaseAffected products
- debian / debian linux
- debian / debian linux
- rubyonrails / rails
- rubyonrails / ruby on rails
References
- http://ics-cert.us-cert.gov/advisories/ICSA-13-036-01A(Third Party Advisory, US Government Resource)
- http://lists.apple.com/archives/security-announce/2013/Mar/msg00002.html(Mailing List, Third Party Advisory)
- http://rhn.redhat.com/errata/RHSA-2013-0153.html(Third Party Advisory)
- http://rhn.redhat.com/errata/RHSA-2013-0154.html(Third Party Advisory)
- http://rhn.redhat.com/errata/RHSA-2013-0155.html(Third Party Advisory)
- http://weblog.rubyonrails.org/2013/1/28/Rails-3-0-20-and-2-3-16-have-been-released/(Vendor Advisory)
- http://www.debian.org/security/2013/dsa-2604(Third Party Advisory)
- http://www.fujitsu.com/global/support/software/security/products-f/sw-sv-rcve-ror201301e.html(Third Party Advisory)
- http://www.insinuator.net/2013/01/rails-yaml/(Third Party Advisory)
- http://www.kb.cert.org/vuls/id/380039(Third Party Advisory, US Government Resource)
- http://www.kb.cert.org/vuls/id/628463(Third Party Advisory, US Government Resource)
- https://community.rapid7.com/community/metasploit/blog/2013/01/09/serialization-mischief-in-ruby-land-cve-2013-0156(Third Party Advisory)
- https://groups.google.com/group/rubyonrails-security/msg/c1432d0f8c70e89d?dmode=source&output=gplain(Third Party Advisory)
- https://puppet.com/security/cve/cve-2013-0156(Third Party Advisory)
Last updated September 17, 2026 · Source: NVD, CISA KEV, FIRST.org EPSS
Query CVEs from your AI assistant
The CVE/NVD Explorer brain answers CVE questions directly inside Claude, ChatGPT, or any MCP assistant — always up to date, no setup. Add it once and stop pasting advisories into chat.
Add the CVE brain