CVE-2013-0333
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.
Severity
not scored
CVSS v3
not scored
Exploit chance (EPSS)
95.573%
chance of exploitation in the next 30 days
higher than 99.9% of scored CVEs · 2026-11-17
CISA KEV
Not listed
Public exploit code
Yes
Exploit references (NVD and CNA): 0
Metasploit modules: 2
Nuclei templates: 0
Exploit-DB: 1
Timeline
- 2013-01-29First Exploit-DB entry (EDB-ID 24434)1 day before publication
- 2013-01-30Published by the CNA11:00 UTC
- 2017-10-24GitHub advisory published (GHSA-xgr2-v94m-rc9g)1728 days after publication
Exploit and advisory records
| Exploit-DB | Type | Platform | Published | EDB-verified |
|---|---|---|---|---|
| EDB-ID 24434 | remote | multiple | 2013-01-29 | yes |
GitHub advisory GHSA-xgr2-v94m-rc9g, affected packages:
| Package | Vulnerable versions | Fixed in |
|---|---|---|
| RubyGems activesupport | from 2.3.2 before 2.3.16 | 2.3.16 |
| RubyGems activesupport | from 3.0.0 before 3.0.20 | 3.0.20 |
Affected products
Products listed as vulnerable. Upgrade to the version under "Fixed in", or a later one.
| Product | Vulnerable versions | Fixed in |
|---|---|---|
| rubyonrails rails | 2.3.0no fix listed2.3.1no fix listed2.3.10no fix listed2.3.11no fix listed2.3.12no fix listed(+26 more) | not listednot listednot listednot listednot listed |
| rubyonrails ruby_on_rails | 3.0.4no fix listed | not listed |
References
- http://lists.apple.com/archives/security-announce/2013/Jun/msg00000.html
- http://lists.apple.com/archives/security-announce/2013/Mar/msg00002.html
- http://rhn.redhat.com/errata/RHSA-2013-0201.html
- http://rhn.redhat.com/errata/RHSA-2013-0202.html
- http://rhn.redhat.com/errata/RHSA-2013-0203.html
- http://www.debian.org/security/2013/dsa-2613
- https://groups.google.com/group/rubyonrails-security/msg/52179af76915e518?dmode=source&output=gplain
- http://support.apple.com/kb/HT5784
- http://weblog.rubyonrails.org/2013/1/28/Rails-3-0-20-and-2-3-16-have-been-released/
- http://www.kb.cert.org/vuls/id/628463
- https://puppet.com/security/cve/cve-2013-0333
Get more CVE data from the API.
curl 'https://api.contrastcyber.com/cve_lookup/CVE-2013-0333'curl 'https://api.contrastcyber.com/cve_risk_score/CVE-2013-0333'curl 'https://api.contrastcyber.com/cve_exploit/CVE-2013-0333'curl 'https://api.contrastcyber.com/cve_products/CVE-2013-0333'
Sources
- Vulnerability data from the National Vulnerability Database (NIST) and the CVE Program. CVE records: Copyright © 1999-2026, The MITRE Corporation, used under the CVE Program Terms of Use. CVE® is a registered trademark of The MITRE Corporation.
- CWE definitions: Copyright © 2006-2026, The MITRE Corporation, used under the CWE Terms of Use. CWE is a trademark of The MITRE Corporation.
- OWASP Top 10 categories by the OWASP Foundation (CC BY 3.0).
- EPSS scores by FIRST.org EPSS, used with attribution.
- KEV catalog and SSVC decisions by CISA.
- Advisory data from the GitHub Advisory Database through OSV.dev (CC BY 4.0).
- Exploit metadata from the Exploit Database (GPL-2.0-only, metadata only).
- Nuclei template names from nuclei-templates (MIT).