CVE-2012-2695: Rubyonrails Rails
High severity, CVSS 7.5. EPSS: 3% chance of exploitation in the next 30 days.
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.
Affected products
- Rubyonrails Rails: version 3.0.0 only; version 3.0.1 only; version 3.0.2 only; version 3.0.3 only; version 3.0.4 only; version 3.0.5 only; …
- Rubyonrails Ruby On Rails: up to and including 3.0.13; version 3.0.4 only
Published 2012-06-22. Last modified 2026-06-16.