{"id":"CVE-2012-6496","details":"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.","aliases":["GHSA-gh2w-j7cx-2664"],"modified":"2026-04-10T03:42:34.844427Z","published":"2013-01-04T04:46:02Z","references":[{"type":"ADVISORY","url":"http://rhn.redhat.com/errata/RHSA-2013-0154.html"},{"type":"ADVISORY","url":"http://rhn.redhat.com/errata/RHSA-2013-0155.html"},{"type":"ADVISORY","url":"http://rhn.redhat.com/errata/RHSA-2013-0220.html"},{"type":"ADVISORY","url":"http://rhn.redhat.com/errata/RHSA-2013-0544.html"},{"type":"ADVISORY","url":"http://security.gentoo.org/glsa/glsa-201401-22.xml"},{"type":"ARTICLE","url":"http://blog.phusion.nl/2013/01/03/rails-sql-injection-vulnerability-hold-your-horses-here-are-the-facts/"},{"type":"EVIDENCE","url":"https://bugzilla.redhat.com/show_bug.cgi?id=889649"},{"type":"FIX","url":"https://bugzilla.redhat.com/show_bug.cgi?id=889649"},{"type":"WEB","url":"http://www.securityfocus.com/bid/57084"},{"type":"WEB","url":"https://groups.google.com/group/rubyonrails-security/msg/23daa048baf28b64?dmode=source&output=gplain"}],"schema_version":"1.7.5"}