---
title: "CVE-2012-4464\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-2012-4464?format=md
keywords: index, follow
---

# CVE-2012-4464

Publication date 3 October 2012

Last updated 24 July 2024

---

Ubuntu priority

**Medium**

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

Toggle side navigation

## Description

Ruby 1.9.3 before patchlevel 286 and 2.0 before revision r37068 allows
context-dependent attackers to bypass safe-level restrictions and modify
untainted strings via the (1) exc\_to\_s or (2) name\_err\_to\_s API function,
which marks the string as tainted, a different vulnerability than
CVE-2012-4466. NOTE: this issue might exist because of a CVE-2011-1005
regression.

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

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| ruby1.8 | 12.10 quantal | Not affected |
| 12.04 LTS precise | Not affected |
| 11.10 oneiric | Not affected |
| 11.04 natty | Not affected |
| 10.04 LTS lucid | Not affected |
| 8.04 LTS hardy | Ignored end of life |
| ruby1.9 | 12.10 quantal | Not in release |
| 12.04 LTS precise | Not in release |
| 11.10 oneiric | Not in release |
| 11.04 natty | Not in release |
| 10.10 maverick | Not in release |
| 10.04 LTS lucid | Not affected |
| 8.04 LTS hardy | Not affected |
| ruby1.9.1 | 12.10 quantal | Fixed 1.9.3.194-1ubuntu1.1 |
| 12.04 LTS precise | Fixed 1.9.3.0-1ubuntu2.3 |
| 11.10 oneiric | Not affected |
| 11.04 natty | Not affected |
| 10.04 LTS lucid | Not affected |
| 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-2012-4464?format=md#patch-details)

## Notes

---

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

affects 1.9.3p0 and newer

### 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 |
| --- | --- |
| ruby1.9.1 | * Upstream:   <http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=37068> |

## References

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

### Related Ubuntu Security Notices (USN)

+ [USN-1602-1](https://usn.ubuntu.com/USN-1602-1)
+ Ruby vulnerabilities
+ 10 October 2012

+ [USN-1614-1](https://usn.ubuntu.com/USN-1614-1)
+ Ruby vulnerabilities
+ 23 October 2012

### Other references

* <http://www.openwall.com/lists/oss-security/2012/10/03>
* <http://www.openwall.com/lists/oss-security/2012/10/03/9>
* <https://www.cve.org/CVERecord?id=CVE-2012-4464>
