{"id":"CVE-2012-2695","state":"PUBLISHED","title":"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 ","description":"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.","publishedAt":"2012-06-22T14:00:00.000Z","updatedAt":"2024-08-06T19:42:31.701Z","severity":null,"assigner":"redhat","products":["n/a n/a"],"affected":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":["http://lists.opensuse.org/opensuse-security-announce/2012-08/msg00014.html","http://lists.opensuse.org/opensuse-security-announce/2012-08/msg00002.html","http://lists.opensuse.org/opensuse-security-announce/2012-08/msg00016.html","http://lists.opensuse.org/opensuse-updates/2012-08/msg00046.html","http://rhn.redhat.com/errata/RHSA-2013-0154.html","https://groups.google.com/group/rubyonrails-security/msg/aee3413fb038bf56?dmode=source&output=gplain"],"weaknesses":[],"ingestedAt":"2026-10-29T19:40:19.239Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2012/2xxx/CVE-2012-2695.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2012-2695","state":"PUBLISHED","datePublished":"2012-06-22T14:00:00.000Z","dateUpdated":"2024-08-06T19:42:31.701Z","assignerShortName":"redhat","assignerOrgId":"53f830b8-0a3f-465b-8143-3b8a9948e749","dateReserved":"2012-05-14T00:00:00.000Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"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":[{"vendor":"n/a","product":"n/a","versions":[{"version":"n/a","status":"affected"}]}],"references":[{"url":"http://lists.opensuse.org/opensuse-security-announce/2012-08/msg00014.html","name":"SUSE-SU-2012:1012","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2012-08/msg00002.html","name":"openSUSE-SU-2012:0978","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2012-08/msg00016.html","name":"SUSE-SU-2012:1014","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://lists.opensuse.org/opensuse-updates/2012-08/msg00046.html","name":"openSUSE-SU-2012:1066","tags":["vendor-advisory","x_refsource_SUSE"]},{"url":"http://rhn.redhat.com/errata/RHSA-2013-0154.html","name":"RHSA-2013:0154","tags":["vendor-advisory","x_refsource_REDHAT"]},{"url":"https://groups.google.com/group/rubyonrails-security/msg/aee3413fb038bf56?dmode=source&output=gplain","name":"[rubyonrails-security] 20120612 Ruby on Rails SQL Injection (CVE-2012-2695)","tags":["mailing-list","x_refsource_MLIST"]}],"problemTypes":[{"descriptions":[{"description":"n/a","lang":"en","type":"text"}]}],"providerMetadata":{"shortName":"redhat","dateUpdated":"2012-09-07T09:00:00.000Z","orgId":"53f830b8-0a3f-465b-8143-3b8a9948e749"},"datePublic":"2012-06-12T00:00:00.000Z","x_legacyV4Record":{"CVE_data_meta":{"ASSIGNER":"secalert@redhat.com","ID":"CVE-2012-2695","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":"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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"n/a"}]}]},"references":{"reference_data":[{"name":"SUSE-SU-2012:1012","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-security-announce/2012-08/msg00014.html"},{"name":"openSUSE-SU-2012:0978","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-security-announce/2012-08/msg00002.html"},{"name":"SUSE-SU-2012:1014","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-security-announce/2012-08/msg00016.html"},{"name":"openSUSE-SU-2012:1066","refsource":"SUSE","url":"http://lists.opensuse.org/opensuse-updates/2012-08/msg00046.html"},{"name":"RHSA-2013:0154","refsource":"REDHAT","url":"http://rhn.redhat.com/errata/RHSA-2013-0154.html"},{"name":"[rubyonrails-security] 20120612 Ruby on Rails SQL Injection (CVE-2012-2695)","refsource":"MLIST","url":"https://groups.google.com/group/rubyonrails-security/msg/aee3413fb038bf56?dmode=source&output=gplain"}]}}},"adp":[{"title":"CVE Program Container","references":[{"url":"http://lists.opensuse.org/opensuse-security-announce/2012-08/msg00014.html","name":"SUSE-SU-2012:1012","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2012-08/msg00002.html","name":"openSUSE-SU-2012:0978","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2012-08/msg00016.html","name":"SUSE-SU-2012:1014","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://lists.opensuse.org/opensuse-updates/2012-08/msg00046.html","name":"openSUSE-SU-2012:1066","tags":["vendor-advisory","x_refsource_SUSE","x_transferred"]},{"url":"http://rhn.redhat.com/errata/RHSA-2013-0154.html","name":"RHSA-2013:0154","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred"]},{"url":"https://groups.google.com/group/rubyonrails-security/msg/aee3413fb038bf56?dmode=source&output=gplain","name":"[rubyonrails-security] 20120612 Ruby on Rails SQL Injection (CVE-2012-2695)","tags":["mailing-list","x_refsource_MLIST","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-06T19:42:31.701Z"}}]}}}