Skip to main content
← All vulnerabilities
CVE-2012-6496GHSA-GH2W-J7CX-2664

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 allow

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 3.0.18, 3.1.9, 3.2.10, 2.3.15
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • n/a n/a

    Version range not reported

  • activerecordRubyGems

    From 3.0.0.beta · fixed in 3.0.18

  • activerecordRubyGems

    From 3.1.0 · fixed in 3.1.9

  • activerecordRubyGems

    From 3.2.0 · fixed in 3.2.10

  • activerecordRubyGems

    fixed in 2.3.15

References 9

bugzilla.redhat.com

rhn.redhat.com

blog.phusion.nl

security.gentoo.org

groups.google.com

securityfocus.com