---
title: "CVE-2013-0333\n    | Ubuntu"
description: Ubuntu is an open source software operating system that runs from the
  desktop, to the cloud, to all your internet connected things.
url: https://ubuntu.com/security/CVE-2013-0333?format=md
keywords: index, follow
---

# CVE-2013-0333

Publication date 30 January 2013

Last updated 24 July 2024

---

Ubuntu priority

**High**

[Why this priority?](https://ubuntu.com/security/cves/about#priority )

Toggle side navigation

## 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.

[Read the notes from the security team](https://ubuntu.com/security/CVE-2013-0333?format=md#notes)

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| rails | 13.10 saucy | Not affected |
| 13.04 raring | Not affected |
| 12.10 quantal | Not affected |
| 12.04 LTS precise | Not affected |
| 11.10 oneiric | Not affected |
| 10.04 LTS lucid | Ignored end of life |
| 8.04 LTS hardy | Ignored end of life |
| ruby-activesupport-2.3 | 13.10 saucy | Not affected |
| 13.04 raring | Not affected |
| 12.10 quantal | Fixed 2.3.14-4ubuntu0.2 |
| 12.04 LTS precise | Fixed 2.3.14-2ubuntu0.12.04.2 |
| 11.10 oneiric | Fixed 2.3.14-2ubuntu0.11.10.2 |
| 10.04 LTS lucid | Not in release |
| 8.04 LTS hardy | Not in release |
| ruby-activesupport-3.2 | 13.10 saucy | Not affected |
| 13.04 raring | Not affected |
| 12.10 quantal | Not affected |
| 12.04 LTS precise | Not in release |
| 11.10 oneiric | Not in release |
| 10.04 LTS lucid | Not in release |
| 8.04 LTS hardy | Not in release |

---

* [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)
* [What do statuses mean?](https://ubuntu.com/security/cves/about#statuses)
* [Patch details](https://ubuntu.com/security/CVE-2013-0333?format=md#patch-details)

## Notes

---

### [mdeslaur](https://launchpad.net/~mdeslaur)

in Oneiric+, rails package is just for transition

### Patch details

For informational purposes only. We recommend not to cherry-pick updates. [How can I get the fixes?](https://ubuntu.com/security/cves/about#security)

| Package | Patch details |
| --- | --- |
| ruby-activesupport-2.3 | * Debdiff:   <https://bugs.launchpad.net/ubuntu/+source/ruby-activesupport-2.3/+bug/1119256> * Vendor:   <http://www.debian.org/security/2013/dsa-2613> |

## References

* [MITRE](https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2013-0333)
* [NVD](https://nvd.nist.gov/vuln/detail/CVE-2013-0333)
* [Launchpad](https://launchpad.net/bugs/cve/CVE-2013-0333)
* [Debian](https://security-tracker.debian.org/tracker/CVE-2013-0333)

### Other references

* <https://groups.google.com/forum/?fromgroups=#!topic/rubyonrails-security/1h2DR63ViGo>
* <https://groups.google.com/group/rubyonrails-security/msg/52179af76915e518?dmode=source&output=gplain>
* <https://www.cve.org/CVERecord?id=CVE-2013-0333>
