Remote code executionin the actionpack package.
Weaponized: a Metasploit exploit is public.
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.
- Upgrade actionpack (RubyGems) to 2.3.15, 3.0.19, 3.1.10, 3.2.11 or later, whichever matches your release line.
Not confirmed by any source yet: severity not scored yet. We show these as not confirmed instead of guessing.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 6 Dec 2012CVE ID reserved by redhat.
- 10 Jan 2013First public proof of concept on GitHub.
- 13 Jan 2013Published in the CVE List.
- 6 Aug 2024CVE record last updated.
Attack code anyone can find
Exploit maturity: Weaponized (Metasploit).
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Other vulnerabilities in this package
- groups.google.com mailing-list, x_refsource_MLIST
- www.insinuator.net x_refsource_MISC
- rhn.redhat.com vendor-advisory, x_refsource_REDHAT
- www.kb.cert.org third-party-advisory, x_refsource_CERT-VN
- community.rapid7.com x_refsource_MISC
- www.fujitsu.com x_refsource_CONFIRM
- www.kb.cert.org third-party-advisory, x_refsource_CERT-VN
- lists.apple.com vendor-advisory, x_refsource_APPLE
- www.debian.org vendor-advisory, x_refsource_DEBIAN
- ics-cert.us-cert.gov x_refsource_MISC
- rhn.redhat.com vendor-advisory, x_refsource_REDHAT
- puppet.com x_refsource_CONFIRM
- weblog.rubyonrails.org x_refsource_CONFIRM
- rhn.redhat.com vendor-advisory, x_refsource_REDHAT
Patchminder. CVE-2013-0156: Remote code execution in the actionpack package. https://patchminder.com/cve/cve-2013-0156/ (accessed 5 December 2026).