CVE-2012-2661
publishedrubygem-activerecord: SQL injection when processing nested query paramaters
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 3.0.x before 3.0.13, 3.1.x before 3.1.5, and 3.2.x before 3.2.4 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 unintended recursion, a related issue to CVE-2012-2695.
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
5- 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] 20120531 SQL Injection Vulnerability in Ruby on Rails (CVE-2012-2661) https://groups.google.com/group/rubyonrails-security/msg/fc2da6c627fc92df?dmode=source&output=gplain
Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- ff238af494e67efbbea370f9e33d765fc9f20fac63bfa0770e6070a4fe2199c0
- Ingested
- 23 Sep 2026, 07:39:16 UTC
- Source record
- Official CVE record