CVE-2012-2694
publishedrubygem-actionpack: Unsafe query generation (a different flaw than CVE-2012-2660)
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | redhat |
Description
actionpack/lib/action_dispatch/http/request.rb 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 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 "['xyz', nil]" values, a related issue to CVE-2012-2660.
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
7- 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
- SUSE-SU-2012:1015 http://lists.opensuse.org/opensuse-security-announce/2012-08/msg00017.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 Unsafe Query Generation Risk in Ruby on Rails (CVE-2012-2694) https://groups.google.com/group/rubyonrails-security/msg/e2d3a87f2c211def?dmode=source&output=gplain
Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 9a8e490ca961c59922549c00f3c1681463ad5183ada069fdeee285e1e8fc3bc7
- Ingested
- 23 Sep 2026, 07:39:16 UTC
- Source record
- Official CVE record