Active Record contains SQL Injection (GHSA-gh2w-j7cx-2664)
Published: 2017-10-24T18:33:37Z
Aliases: CVE-2012-6496
Severity: HIGH · CWE: CWE-89

SQL injection vulnerability in the Active Record component in Ruby on Rails before 3.0.18, 3.1.x before 3.1.9, and 3.2.x before 3.2.10 allows remote attackers to execute arbitrary SQL commands via a crafted request that leverages incorrect behavior of dynamic finders in applications that can use unexpected data types in certain find_by_ method calls.

Affected packages:
package: ecosystem: RubyGems
name: activerecord
ranges: type: ECOSYSTEM
events: introduced: 0
fixed: 3.0.18
package: ecosystem: RubyGems
name: activerecord
ranges: type: ECOSYSTEM
events: introduced: 3.1.0
fixed: 3.1.9
package: ecosystem: RubyGems
name: activerecord
ranges: type: ECOSYSTEM
events: introduced: 3.2.0
fixed: 3.2.10