CVE-2013-0156
actionpack Improper Input Validation vulnerability
Reported by redhat · Published January 13, 2013
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| rails | rubyonrails | 3.2.11 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| n/a | n/a | * |
| RubyGems | actionpack | 0, 2.4.0, 3.1.0 |
Timeline
- Jan 9, 2013 PoC Published (11 in total, the first dated here)
- Jan 11, 2013 VulnCheck XDB Entry (5 in total, the first dated here)
- Jan 13, 2013 CVE Published
- May 28, 2013 VulnCheck KEV Exploitation (3 in total, the first dated here)
- Feb 4, 2022 EPSS Score (30 in total, the first dated here)
- Jun 1, 2026 Security Advisory (4 in total, the first dated here)
- Oct 25, 2026 Coalition ESS Score
- Oct 31, 2026 Distribution Patch
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2013-0156
vulnetix vdb fixes CVE-2013-0156
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2013-0156/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- [rubyonrails-security] 20130108 Multiple vulnerabilities in parameter parsing in Action Pack (CVE-2013-0156) mailing-listx_refsource_MLIST
- x_refsource_MISC
- RHSA-2013:0155 vendor-advisoryx_refsource_REDHAT
- VU#628463 third-party-advisoryx_refsource_CERT-VN
- x_refsource_MISC
- x_refsource_CONFIRM
- VU#380039 third-party-advisoryx_refsource_CERT-VN
- APPLE-SA-2013-03-14-1 vendor-advisoryx_refsource_APPLE
- DSA-2604 vendor-advisoryx_refsource_DEBIAN
- x_refsource_MISC
- RHSA-2013:0154 vendor-advisoryx_refsource_REDHAT
- x_refsource_CONFIRM
- x_refsource_CONFIRM
- RHSA-2013:0153 vendor-advisoryx_refsource_REDHAT
- https://groups.google.com/forum/?fromgroups=#!searchin/rubyonrails-security/2013-0156/rubyonrails-security/61bkgvnSGTQ/nehwjA8tQ8EJ url