CVE-2013-0333
activesupport in Rails vulnerable to incorrect data conversion
EPSS Exploitation Probability
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
activesupport💎activesupportReal-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
lib/active_support/json/backends/yaml.rb in Ruby on Rails 2.3.x before 2.3.16 and 3.0.x before 3.0.20 does not properly convert JSON data to YAML data for processing by a YAML parser, which allows remote attackers to execute arbitrary code, conduct SQL injection attacks, or bypass authentication via crafted data that triggers unsafe decoding, a different vulnerability than CVE-2013-0156.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 💎RubyGems | activesupport | ≥ 2.3.2&&< 2.3.16 | 2.3.16 |
| 💎RubyGems | activesupport | ≥ 3.0.0&&< 3.0.20 | 3.0.20 |
Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.
Ruby on Rails - JSON Processor YAML Deserialization Code Execution (Metasploit)
by Metasploit · Jan 29, 2013
Frequently Asked Questions
Is CVE-2013-0333 in your stack?
O3 detects CVE-2013-0333 across RubyGems dependencies and uses function-level reachability to confirm whether the vulnerable code path is actually reachable — not just present. No false positives.