activerecord vulnerable to SQL Injection (GHSA-76wq-xw4h-f8wj)
Published: 2017-10-24T18:33:38Z
Aliases: CVE-2012-2695
Severity: HIGH · CWE: CWE-89

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 packages:
package: ecosystem: RubyGems
name: activerecord
ranges: type: ECOSYSTEM
events: introduced: 0
fixed: 3.0.14
package: ecosystem: RubyGems
name: activerecord
ranges: type: ECOSYSTEM
events: introduced: 3.1.0
fixed: 3.1.6
package: ecosystem: RubyGems
name: activerecord
ranges: type: ECOSYSTEM
events: introduced: 3.2.0
fixed: 3.2.6