CVE-2013-0156

CVE-2013-0156 is a high-severity vulnerability in Rubyonrails Rails with a CVSS 2.0 base score of 7.5. Its EPSS exploit-prediction score of 99% places it in the 100th percentile, indicating an elevated likelihood of exploitation. The underlying weakness is classified as CWE-20.

Key facts

Description

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.

Frequently asked questions

What is 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.
How severe is CVE-2013-0156?
CVE-2013-0156 has a CVSS 2.0 base score of 7.5, rated high severity.
Is CVE-2013-0156 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 99% (100th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2013-0156?
CVE-2013-0156 primarily affects Rubyonrails Rails. In total, 4 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
How do I fix CVE-2013-0156?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
When was CVE-2013-0156 published?
CVE-2013-0156 was published on 2013-01-13 and last updated on 2026-06-16.

References

Affected products (4)

More vulnerabilities in Rubyonrails Rails

All CVEs affecting Rubyonrails Rails →

Other CWE-20 (Improper Input Validation) vulnerabilities

Browse all CWE-20 (Improper Input Validation) vulnerabilities →