cve.bz

CVE-2013-0156 Improper Input Validation

no score yetExploitEPSS 99%Fix available

No CVSS score yet. EPSS 99% estimated probability of exploitation activity in the next 30 days. Fixed in actionpack 2.3.15, 3.0.19, 3.1.10.

On this page
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.
EPSS
99% (unchanged from 99% a week ago; 99.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 100th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-20 Improper Input Validation
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2013-0156 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2013-0156?via=ask-ai-copy and https://cve.bz/cve/CVE-2013-0156?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2013-0156 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
rubyonrails:railsfrom 3.2.0 before 3.2.11
rubyonrails:ruby_on_railsbefore 2.3.15
rubyonrails:ruby_on_railsfrom 3.0.0 before 3.0.19
rubyonrails:ruby_on_railsfrom 3.1.0 before 3.1.10
debian:debian_linux6.0
debian:debian_linux7.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-jmgw-6vjg-jjwgRubyGemsactionpack<2.3.152.3.15
GHSA-jmgw-6vjg-jjwgRubyGemsactionpack>=3.0.0 <3.0.193.0.19
GHSA-jmgw-6vjg-jjwgRubyGemsactionpack>=3.1.0 <3.1.103.1.10
GHSA-jmgw-6vjg-jjwgRubyGemsactionpack>=3.2.0 <3.2.113.2.11

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian6.0rails2.3.5-1.2+squeeze4.1DSA-2604-1
Debian12, 13, 14rails2.3.14.1DEBIAN-CVE-2013-0156
Red Hatopenshift:1::el6ruby193-rubygem-actionpack, ruby193-rubygem-actionpack-doc1:3.2.8-2.el6RHSA-2013:0153
Red Hatopenshift:1::el6ruby193-rubygem-activesupport1:3.2.8-3.el6RHSA-2013:0153
Red Hatopenshift:1::el6rubygem-actionpack1:3.0.13-2.1.el6opRHSA-2013:0153
Red Hatopenshift:1::el6rubygem-activesupport1:3.0.13-2.el6opRHSA-2013:0153
openSUSETumbleweedrubygem-extlib0.9.16-7.4openSUSE-SU-2024:10188-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Red Hat · openSUSE.

Red Hat

Red Hat rates this Critical.

Red Hat's statement

For details of affected products and workarounds see https://access.redhat.com/knowledge/node/290903

ProductPackageStateAdvisory
CloudForms for RHEL 6rubygem-actionpack-1:3.0.10-11.el6cfFixed 2013-01-10RHSA-2013:0155
CloudForms for RHEL 6rubygem-activerecord-1:3.0.10-8.el6cfFixed 2013-01-10RHSA-2013:0155
CloudForms for RHEL 6rubygem-activesupport-1:3.0.10-5.el6cfFixed 2013-01-10RHSA-2013:0155
Red Hat Subscription Asset Manager 1.1rubygem-actionpack-1:3.0.10-11.el6cfFixed 2013-01-10RHSA-2013:0154
Red Hat Subscription Asset Manager 1.1rubygem-activerecord-1:3.0.10-8.el6cfFixed 2013-01-10RHSA-2013:0154
Red Hat Subscription Asset Manager 1.1rubygem-activesupport-1:3.0.10-5.el6cfFixed 2013-01-10RHSA-2013:0154
RHEL 6 Version of OpenShift Enterpriseruby193-rubygem-actionpack-1:3.2.8-2.el6Fixed 2013-01-10RHSA-2013:0153
RHEL 6 Version of OpenShift Enterpriseruby193-rubygem-activesupport-1:3.0.13-2.el6opFixed 2013-01-10RHSA-2013:0153
RHEL 6 Version of OpenShift Enterpriseruby193-rubygem-activesupport-1:3.2.8-3.el6Fixed 2013-01-10RHSA-2013:0153
RHEL 6 Version of OpenShift Enterpriserubygem-actionpack-1:3.0.13-2.1.el6opFixed 2013-01-10RHSA-2013:0153
RHEL 6 Version of OpenShift Enterpriserubygem-activesupport-1:3.0.13-2.el6opFixed 2013-01-10RHSA-2013:0153

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2013-0156.

Public exploits

GitHub PoC

Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON