CVE-2013-0333 rubyonrails
rubyonrails: no CVSS score yet. EPSS 96% estimated probability of exploitation activity in the next 30 days. Fixed in activesupport 2.3.16, 3.0.20.
On this page
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.
- EPSS
- 96% (unchanged from 96% a week ago; 96% 30 days ago) estimated probability of exploitation activity in the next 30 days; 100th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
- Published
- Modified
- NVD analysis
- Analyzed, since modified
- Record from
- the NVD, synced
Fix and patched versions
activesupport(RubyGems): fixed in 2.3.16, 3.0.20- Debian, Red Hat: fixed package versions per release
- Vendor advisory: https://groups.google.com/group/rubyonrails-security/msg/52179af76915e518?dmode=source&output=gplain
Ask an AI about this CVE
Show the prompt
Explain CVE-2013-0333 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2013-0333?via=ask-ai-copy and https://cve.bz/cve/CVE-2013-0333?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2013-0333 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
Affected
Versions
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| rubyonrails:rails | 2.3.0 |
| rubyonrails:rails | 2.3.1 |
| rubyonrails:rails | 2.3.2 |
| rubyonrails:rails | 2.3.3 |
| rubyonrails:rails | 2.3.4 |
| rubyonrails:rails | 2.3.9 |
| rubyonrails:rails | 2.3.10 |
| rubyonrails:rails | 2.3.11 |
| rubyonrails:rails | 2.3.12 |
| rubyonrails:rails | 2.3.13 |
| rubyonrails:rails | 2.3.14 |
| rubyonrails:rails | 2.3.15 |
| rubyonrails:rails | 3.0.0 |
| rubyonrails:rails | 3.0.0:beta |
| rubyonrails:rails | 3.0.0:beta2 |
| rubyonrails:rails | 3.0.0:beta3 |
| rubyonrails:rails | 3.0.0:beta4 |
| rubyonrails:rails | 3.0.0:rc |
| rubyonrails:rails | 3.0.0:rc2 |
| rubyonrails:rails | 3.0.1 |
| rubyonrails:rails | 3.0.1:pre |
| rubyonrails:rails | 3.0.2 |
| rubyonrails:rails | 3.0.2:pre |
| rubyonrails:rails | 3.0.3 |
| rubyonrails:rails | 3.0.4:rc1 |
| rubyonrails:rails | 3.0.5 |
| rubyonrails:rails | 3.0.5:rc1 |
| rubyonrails:rails | 3.0.6 |
| rubyonrails:rails | 3.0.6:rc1 |
| rubyonrails:rails | 3.0.6:rc2 |
| rubyonrails:rails | 3.0.7 |
| rubyonrails:rails | 3.0.7:rc1 |
| rubyonrails:rails | 3.0.7:rc2 |
| rubyonrails:rails | 3.0.8 |
| rubyonrails:rails | 3.0.8:rc1 |
| rubyonrails:rails | 3.0.8:rc2 |
| rubyonrails:rails | 3.0.8:rc3 |
| rubyonrails:rails | 3.0.8:rc4 |
| rubyonrails:rails | 3.0.9 |
| rubyonrails:rails | 3.0.9:rc1 |
| rubyonrails:rails | 3.0.9:rc2 |
| rubyonrails:rails | 3.0.9:rc3 |
| rubyonrails:rails | 3.0.9:rc4 |
| rubyonrails:rails | 3.0.9:rc5 |
| rubyonrails:rails | 3.0.10 |
| rubyonrails:rails | 3.0.10:rc1 |
| rubyonrails:rails | 3.0.11 |
| rubyonrails:rails | 3.0.12 |
| rubyonrails:rails | 3.0.12:rc1 |
| rubyonrails:rails | 3.0.13 |
| rubyonrails:rails | 3.0.13:rc1 |
| rubyonrails:rails | 3.0.14 |
| rubyonrails:rails | 3.0.16 |
| rubyonrails:rails | 3.0.17 |
| rubyonrails:rails | 3.0.18 |
| rubyonrails:rails | 3.0.19 |
| rubyonrails:ruby_on_rails | 3.0.4 |
Packages (OSV)
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-xgr2-v94m-rc9g | RubyGems | activesupport | >=2.3.2 <2.3.16 | 2.3.16 |
| GHSA-xgr2-v94m-rc9g | RubyGems | activesupport | >=3.0.0 <3.0.20 | 3.0.20 |
Linux distributions
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 6.0 | rails | 2.3.5-1.2+squeeze6 | DSA-2613-1 |
| Debian | 12, 13, 14 | rails | 2.3.14.1 | DEBIAN-CVE-2013-0333 |
| Red Hat | openshift:1::el6 | rubygem-activesupport | 1:3.0.13-4.el6op | RHSA-2013:0202 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Red Hat Security Data © Red Hat, Inc., CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Red Hat.
Red Hat
Red Hat rates this Critical.
| Product | Package | State | Advisory |
|---|---|---|---|
| CloudForms for RHEL 6 | katello-0:1.1.12.1-1.el6cf | Fixed 2013-01-29 | RHSA-2013:0203 |
| CloudForms for RHEL 6 | rubygem-activesupport-1:3.0.10-9.el6cf | Fixed 2013-01-29 | RHSA-2013:0203 |
| Red Hat Subscription Asset Manager 1.1 | rubygem-activesupport-1:3.0.10-7.el6cf | Fixed 2013-01-28 | RHSA-2013:0201 |
| RHEL 6 Version of OpenShift Enterprise | rubygem-activesupport-1:3.0.13-4.el6op | Fixed 2013-01-28 | RHSA-2013:0202 |
| OpenShift Enterprise 1 | ruby193-rubygem-activesupport | Not affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2013-0333.
Public exploits
- Exploit-DB Ruby on Rails - JSON Processor YAML Deserialization Code Execution (Metasploit)
- Metasploit Ruby on Rails JSON Processor YAML Deserialization Code Execution
- Metasploit Ruby on Rails JSON Processor YAML Deserialization Scanner
References
- https://groups.google.com/group/rubyonrails-security/msg/52179af76915e518?dmode=source&output=gplain
- 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://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.debian.org/security/2013/dsa-2613
- http://www.kb.cert.org/vuls/id/628463
- https://puppet.com/security/cve/cve-2013-0333