{ "CVE_data_meta" : { "ASSIGNER" : "cve@mitre.org", "ID" : "CVE-2012-6496", "STATE" : "PUBLIC" }, "affects" : { "vendor" : { "vendor_data" : [ { "product" : { "product_data" : [ { "product_name" : "n/a", "version" : { "version_data" : [ { "version_value" : "n/a" } ] } } ] }, "vendor_name" : "n/a" } ] } }, "data_format" : "MITRE", "data_type" : "CVE", "data_version" : "4.0", "description" : { "description_data" : [ { "lang" : "eng", "value" : "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." } ] }, "problemtype" : { "problemtype_data" : [ { "description" : [ { "lang" : "eng", "value" : "n/a" } ] } ] }, "references" : { "reference_data" : [ { "name" : "[rubyonrails-security] 20130102 SQL Injection Vulnerability in Ruby on Rails (CVE-2012-5664)", "refsource" : "MLIST", "url" : "https://groups.google.com/group/rubyonrails-security/msg/23daa048baf28b64?dmode=source&output=gplain" }, { "name" : "http://blog.phusion.nl/2013/01/03/rails-sql-injection-vulnerability-hold-your-horses-here-are-the-facts/", "refsource" : "MISC", "url" : "http://blog.phusion.nl/2013/01/03/rails-sql-injection-vulnerability-hold-your-horses-here-are-the-facts/" }, { "name" : "https://bugzilla.redhat.com/show_bug.cgi?id=889649", "refsource" : "CONFIRM", "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=889649" }, { "name" : "GLSA-201401-22", "refsource" : "GENTOO", "url" : "http://security.gentoo.org/glsa/glsa-201401-22.xml" }, { "name" : "RHSA-2013:0154", "refsource" : "REDHAT", "url" : "http://rhn.redhat.com/errata/RHSA-2013-0154.html" }, { "name" : "RHSA-2013:0155", "refsource" : "REDHAT", "url" : "http://rhn.redhat.com/errata/RHSA-2013-0155.html" }, { "name" : "RHSA-2013:0220", "refsource" : "REDHAT", "url" : "http://rhn.redhat.com/errata/RHSA-2013-0220.html" }, { "name" : "RHSA-2013:0544", "refsource" : "REDHAT", "url" : "http://rhn.redhat.com/errata/RHSA-2013-0544.html" }, { "name" : "57084", "refsource" : "BID", "url" : "http://www.securityfocus.com/bid/57084" } ] } }