CVE-2013-0156
HIGH 7.5CVSS 2.0actionpack Improper Input Validation vulnerability
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.
- Published
- 13 Jan 2013
- Last modified
- 16 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-20
- Also known as
- GHSA-jmgw-6vjg-jjwg
- Sources
- NVDJSONOSV GHSA-jmgw-6vjg-jjwgJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | rubyonrails | railscpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:* |
>= 3.2.0, < 3.2.11 | 3.2.11 |
| NVD | rubyonrails | ruby_on_railscpe:2.3:a:rubyonrails:ruby_on_rails:*:*:*:*:*:*:*:* |
< 2.3.15 | 2.3.15 |
| NVD | rubyonrails | ruby_on_railscpe:2.3:a:rubyonrails:ruby_on_rails:*:*:*:*:*:*:*:* |
>= 3.0.0, < 3.0.19 | 3.0.19 |
| NVD | rubyonrails | ruby_on_railscpe:2.3:a:rubyonrails:ruby_on_rails:*:*:*:*:*:*:*:* |
>= 3.1.0, < 3.1.10 | 3.1.10 |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:6.0:*:*:*:*:*:*:* |
= 6.0 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:7.0:*:*:*:*:*:*:* |
= 7.0 | |
| OSV | RubyGems | actionpack | < 2.3.15 | 2.3.15 |
| OSV | RubyGems | actionpack | >= 3.0.0, < 3.0.19 | 3.0.19 |
| OSV | RubyGems | actionpack | >= 3.1.0, < 3.1.10 | 3.1.10 |
| OSV | RubyGems | actionpack | >= 3.2.0, < 3.2.11 | 3.2.11 |
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, WEB
- http://rhn.redhat.com/errata/RHSA-2013-0154.html · Third Party Advisory, WEB
- http://rhn.redhat.com/errata/RHSA-2013-0155.html · Third Party Advisory, WEB
- http://weblog.rubyonrails.org/2013/1/28/Rails-3-0-20-and-2-3-16-have-been-released/ · Vendor Advisory, WEB
- http://www.debian.org/security/2013/dsa-2604 · Third Party Advisory, WEB
- http://www.fujitsu.com/global/support/software/security/products-f/sw-sv-rcve-ror201301e.html · Third Party Advisory, WEB
- http://www.insinuator.net/2013/01/rails-yaml/ · Third Party Advisory, WEB
- http://www.kb.cert.org/vuls/id/380039 · Third Party Advisory, US Government Resource, WEB
- http://www.kb.cert.org/vuls/id/628463 · Third Party Advisory, US Government Resource, WEB
- https://community.rapid7.com/community/metasploit/blog/2013/01/09/serialization-mischief-in-ruby-land-cve-2013-0156 · Third Party Advisory, WEB
- https://groups.google.com/group/rubyonrails-security/msg/c1432d0f8c70e89d?dmode=source&output=gplain · Third Party Advisory, WEB
- https://puppet.com/security/cve/cve-2013-0156 · Third Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2013-0156 · ADVISORY
- https://github.com/rails/rails · PACKAGE
- https://web.archive.org/web/20140111025708/http://lists.apple.com/archives/security-announce/2013/Mar/msg00002.html · WEB
- https://web.archive.org/web/20160415043747/https://ics-cert.us-cert.gov/advisories/ICSA-13-036-01A · WEB
- https://web.archive.org/web/20160806154149/https://puppet.com/security/cve/cve-2013-0156 · WEB
History
- 25 Nov 2026 20:17 UTC · NVD: first stored (published 13 Jan 2013)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 24 Oct 2017)