CVE-2012-2695
publishedrubygem-activerecord: SQL injection when processing nested query paramaters (a different flaw than CVE-2012-2661)
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | redhat · cna |
Weaknesses
1- n/a
References
6- openSUSE-SU-2012:0978 http://lists.opensuse.org/opensuse-security-announce/2012-08/msg00002.html
- SUSE-SU-2012:1012 http://lists.opensuse.org/opensuse-security-announce/2012-08/msg00014.html
- SUSE-SU-2012:1014 http://lists.opensuse.org/opensuse-security-announce/2012-08/msg00016.html
- openSUSE-SU-2012:1066 http://lists.opensuse.org/opensuse-updates/2012-08/msg00046.html
- RHSA-2013:0154 http://rhn.redhat.com/errata/RHSA-2013-0154.html
- [rubyonrails-security] 20120612 Ruby on Rails SQL Injection (CVE-2012-2695) https://groups.google.com/group/rubyonrails-security/msg/aee3413fb038bf56?dmode=source&output=gplain
Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- e81ed7e3f77e3ec61768c3ecb960b7c5796c37f4da1095a29b8ffbc394eed5c8
- Ingested
- 23 Sep 2026, 07:39:16 UTC
- Source record
- Official CVE record