Back
CVE-2012-2660
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…
Medium6.4EPSS 4.5%
- Published
- Updated
- Reserved
- Assigned by
- redhat
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | Medium6.4 | AV:N/AC:L/Au:N/C:P/I:P/A:N |
- EPSS (exploitation in 30 days)
- 4.5% · top 8.4% of all CVEs (3 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: Medium 6.4.
Weakness
Affected products
n/a
- affected n/a
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- RubyGemsactionpackGHSA-hgpp-pp89-4fgf (opens in a new tab)
References (7)
- SUSE-SU-2012:1015 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- SUSE-SU-2012:1012 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- openSUSE-SU-2012:0978 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- SUSE-SU-2012:1014 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- openSUSE-SU-2012:1066 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
- [rubyonrails-security] 20120531 Unsafe Query Generation Risk in Ruby on Rails (CVE-2012-2660) (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- RHSA-2013:0154 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-hgpp-pp89-4fgf (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2012-2660)Record last updated .