CVE-2012-2661: Rubyonrails Rails
Medium severity, CVSS 5.0. EPSS: 4.0% probability of exploitation activity in the next 30 days.
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.
What to do
No fixed version is stated in NVD's or the CNA's structured data. The description says "before 3.0.13", "before 3.1.5", "before 3.2.4"; check the vendor's advisory for the release that fixes it.
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: version 3.0.4 only
Affected packages
- activerecord (RubyGems)
Published 2012-06-22. Last modified 2026-06-16.