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.
CVE-2013-0333
Score elevated to 9.0 because EPSS predicts 92% probability of exploitation within the next 30 days (top 0.3% of all CVEs). Confidence: see factors.
- High exploitation likelihood — EPSS 99%
A fix is available — apply it.
- CVSS v3
- —
- EG Score
- 9.0(low)
- EPSS
- 99.9%
- KEV
- Not listed
Published
January 30, 2013
Last Modified
April 29, 2026
References (22)
- secalert@redhathttp://lists.apple.com/archives/security-announce/2013/Jun/msg00000.html
- secalert@redhathttp://lists.apple.com/archives/security-announce/2013/Mar/msg00002.html
- secalert@redhathttp://rhn.redhat.com/errata/RHSA-2013-0201.html
- secalert@redhathttp://rhn.redhat.com/errata/RHSA-2013-0202.html
- secalert@redhathttp://rhn.redhat.com/errata/RHSA-2013-0203.html
- secalert@redhathttp://support.apple.com/kb/HT5784
- secalert@redhathttp://weblog.rubyonrails.org/2013/1/28/Rails-3-0-20-and-2-3-16-have-been-released/
- secalert@redhathttp://www.debian.org/security/2013/dsa-2613
- secalert@redhathttp://www.kb.cert.org/vuls/id/628463
- secalert@redhathttps://groups.google.com/group/rubyonrails-security/msg/52179af76915e518?dmode=source&output=gplain
- secalert@redhathttps://puppet.com/security/cve/cve-2013-0333
- af854a3a-2127-422b-91ae-364da2661108http://lists.apple.com/archives/security-announce/2013/Jun/msg00000.html
- af854a3a-2127-422b-91ae-364da2661108http://lists.apple.com/archives/security-announce/2013/Mar/msg00002.html
- af854a3a-2127-422b-91ae-364da2661108http://rhn.redhat.com/errata/RHSA-2013-0201.html
- af854a3a-2127-422b-91ae-364da2661108http://rhn.redhat.com/errata/RHSA-2013-0202.html
Patch Availability(3)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| redhat | rubygem-activesupport-1:3.0.10-9.el6cf | 2013-01-29 | redhat |
| redhat | rubygem-activesupport-1:3.0.10-7.el6cf | 2013-01-28 | redhat |
| redhat | rubygem-activesupport-1:3.0.13-4.el6op | 2013-01-28 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(1 across 1 ecosystem)
RubyGems(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| activesupport | 3.0.0 ... 3.0.9.rc5 (36 versions) | 3.0.20 | — |
All Vendor Advisories
(3)
Every vendor that published an advisory referencing this CVE — pulled from our cve_vendor_advisories aggregation. Click any row for the vendor's original advisory page.
Data Freshness Timeline
(refreshed 2× in last 7d / 7× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-05 10:29 UTCOSV refresh
- 2026-07-04 06:27 UTCEPSS rescore
- 2026-06-16 21:13 UTCOSV refresh
- 2026-06-15 17:44 UTCEPSS rescore
- 2026-06-13 22:57 UTCEPSS rescore
- 2026-06-12 23:08 UTCEPSS rescore
- 2026-06-10 13:18 UTCEPSS rescore
- 2026-06-06 13:45 UTCEPSS rescore
- 2026-06-06 13:45 UTCEPSS rescore
- 2026-05-31 22:28 UTCEPSS rescore
- 2026-05-31 22:28 UTCEPSS rescore
- 2026-05-29 01:09 UTCEG score recompute
- 2026-05-29 01:09 UTCVendor advisory
- 2026-05-27 13:38 UTCEPSS rescore
- 2026-05-27 13:38 UTCEPSS rescore
- 2026-05-26 13:41 UTCEPSS rescore
- 2026-05-26 13:41 UTCEPSS rescore
- 2026-05-25 19:16 UTCOSV refresh
- 2026-05-22 21:15 UTCEPSS rescore
- 2026-05-22 21:15 UTCEPSS rescore
- 2026-05-22 21:15 UTCEPSS rescore
- 2026-05-20 22:37 UTCEPSS rescore
- 2026-05-20 22:37 UTCEPSS rescore
- 2026-05-18 21:29 UTCEPSS rescore
- 2026-05-18 21:29 UTCEPSS rescore
Publicly available exploits
(4 references)Working exploit code is in the public domain (2 Metasploit modules) (1 GitHub PoC) (1 Exploit-DB entry). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.
- Exploit-DBEDB-24434✓ verifiedFirst seen Jan 29, 2013
Ruby on Rails - JSON Processor YAML Deserialization Code Execution (Metasploit)
Open source ↗ - Open source ↗GitHub PoCheroku/heroku-CVE-2013-0333First seen Jan 29, 2013
- Metasploitexploit/multi/http/rails_json_yaml_code_exec✓ verifiedFirst seen Jan 28, 2013
Ruby on Rails JSON Processor YAML Deserialization Code Execution
Open source ↗ - Metasploitauxiliary/scanner/http/rails_json_yaml_scanner✓ verifiedFirst seen Jan 1, 2013
Ruby on Rails JSON Processor YAML Deserialization Scanner
Open source ↗
Frequently asked(4)
What is CVE-2013-0333?
When was CVE-2013-0333 disclosed?
Is CVE-2013-0333 actively exploited?
How do I remediate CVE-2013-0333?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2013-0333
Is Your Infrastructure Affected by CVE-2013-0333?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.