Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
💎 RubyGems

CVE-2013-0156

actionpack Improper Input Validation vulnerability

Also known asGHSA-jmgw-6vjg-jjwg
Published
Jan 13, 2013
Updated
Apr 10, 2026
Affected
4 pkgs
Patched
4 / 4
Exploits
7 known

EPSS Exploitation Probability

via FIRST.org ↗
91.9%probability of exploitation in next 30 days
Very High Risk100th percentile0.00%
91.4%91.7%92.1%92.4%91.9%91.9%Dec 25Apr 26Jun 26

EPSS (Exploit Prediction Scoring System) is a daily probability model maintained by FIRST.org. It estimates the likelihood a CVE will be exploited in production environments within the next 30 days, derived from real-world threat intelligence signals.

Blast Radius

4 pkgs affected
💎actionpack💎actionpack💎actionpack💎actionpack

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects RubyGems packages — download data is not available via public APIs for these ecosystems.

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.

Affected Packages

4 total 4 fixed
EcosystemPackageVulnerable rangeFix
💎RubyGemsactionpackall versions2.3.15
💎RubyGemsactionpack3.0.0&&< 3.0.193.0.19
💎RubyGemsactionpack3.1.0&&< 3.1.103.1.10
💎RubyGemsactionpack3.2.0&&< 3.2.113.2.11
Exploits & PoCs
7

Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.

EDB-24019remotemultiple✓ Verified

Ruby on Rails - XML Processor YAML Deserialization Code Execution (Metasploit)

by Metasploit · Jan 10, 2013

EDB-27527remotemultiple✓ Verified

Ruby on Rails - Known Secret Session Cookie Remote Code Execution (Metasploit)

by Metasploit · Aug 12, 2013

Frequently Asked Questions

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.
O3 Security · Impact-Aware SCA

Is CVE-2013-0156 in your stack?

O3 detects CVE-2013-0156 across RubyGems dependencies and uses function-level reachability to confirm whether the vulnerable code path is actually reachable — not just present. No false positives.