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

# CVE-2012-2660

Publication date 22 June 2012

Last updated 24 July 2024

---

Ubuntu priority

**Low**

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

Toggle side navigation

## Description

actionpack/lib/action\_dispatch/http/request.rb in Ruby on Rails before
3.0.13, 3.1.x before 3.1.5, and 3.2.x before 3.2.4 does not properly
consider differences in parameter handling between the Active Record
component and the Rack interface, which allows remote attackers to bypass
intended database-query restrictions and perform NULL checks via a crafted
request, as demonstrated by certain "[nil]" values, a related issue to
CVE-2012-2694.
There is a vulnerability when Active Record is used in conjunction with
parameter parsing from Rack via Action Pack.

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

## Status

Show unmaintained releases

| Package | Ubuntu Release | Status |
| --- | --- | --- |
| rails | 17.04 zesty | Not affected |
| 16.10 yakkety | Not affected |
| 16.04 LTS xenial | Not affected |
| 15.10 wily | Not affected |
| 15.04 vivid | Not affected |
| 14.10 utopic | Not affected |
| 14.04 LTS trusty | Not in release |
| 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 |
| 11.04 natty | Ignored end of life |
| 10.04 LTS lucid | Ignored end of life |
| 8.04 LTS hardy | Ignored end of life |
| ruby-rails-2.3 | 17.04 zesty | Not in release |
| 16.10 yakkety | Not in release |
| 16.04 LTS xenial | Not in release |
| 15.10 wily | Not in release |
| 15.04 vivid | Not in release |
| 14.10 utopic | Not in release |
| 14.04 LTS trusty | Not in release |
| 13.10 saucy | Ignored end of life |
| 13.04 raring | Ignored end of life |
| 12.10 quantal | Ignored end of life |
| 12.04 LTS precise | Ignored end of life |
| 11.10 oneiric | Ignored end of life |
| 11.04 natty | 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)

## Notes

---

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

From the advisory, it sounds like 2.3 is affected.

## References

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

### Other references

* <https://groups.google.com/group/rubyonrails-security/browse_thread/thread/f1203e3376acec0f>
* <https://www.cve.org/CVERecord?id=CVE-2012-2660>
