Back
CVE-2012-2695
The Active Record component in Ruby on Rails before 3.0.14, 3.1.x before 3.1.6, and 3.2.x before 3.2.6 does not properly implement the…
High7.5EPSS 2.9%
- Published
- Updated
- Reserved
- Assigned by
- redhat
Description
The Active Record component in Ruby on Rails before 3.0.14, 3.1.x before 3.1.6, and 3.2.x before 3.2.6 does not properly implement the passing of request data to a where method in an ActiveRecord class, which allows remote attackers to conduct certain SQL injection attacks via nested query parameters that leverage improper handling of nested hashes, a related issue to CVE-2012-2661.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 2.0 | High7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
- EPSS (exploitation in 30 days)
- 2.9% · top 13% 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: High 7.5.
Weakness
Affected products
n/a
- affected n/a
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- RubyGemsactiverecordGHSA-76wq-xw4h-f8wj (opens in a new tab)
References (6)
- 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
- RHSA-2013:0154 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- [rubyonrails-security] 20120612 Ruby on Rails SQL Injection (CVE-2012-2695) (opens in a new tab)mailing-listx_refsource_MLISTx_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-76wq-xw4h-f8wj (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Record last updated .