CVE-2012-6496

24
FAUCET Score

CVE-2012-6496 is a SQL injection vulnerability in the Active Record component of Ruby on Rails versions before 3.0.18, 3.1.9, and 3.2.10. This flaw allows remote attackers to execute arbitrary SQL commands by exploiting incorrect handling of unexpected data types in dynamic finders, specifically within find_by_ method calls. With a CVSS score of 7.5, this vulnerability is considered highly severe, enabling attackers to achieve partial confidentiality, integrity, and availability impacts with low attack complexity and no authentication required. While there is no evidence of active exploitation or public exploit code (Metasploit, Nuclei, ExploitDB), the vulnerability has received some community discussion and media coverage, indicating awareness within the cybersecurity community.

Impacted Technologies

VendorProductVersion(s)CPE
3.1.0CPE matchmatch criteria
cpe:2.3:a:rubyonrails:rails:3.1.0:*:*:*:*:*:*:*
3.1.0CPE matchmatch criteria
cpe:2.3:a:rubyonrails:rails:3.1.0:beta1:*:*:*:*:*:*
3.1.0CPE matchmatch criteria
cpe:2.3:a:rubyonrails:rails:3.1.0:rc1:*:*:*:*:*:*
3.1.0CPE matchmatch criteria
cpe:2.3:a:rubyonrails:rails:3.1.0:rc2:*:*:*:*:*:*
3.1.0CPE matchmatch criteria
cpe:2.3:a:rubyonrails:rails:3.1.0:rc3:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 2.0

7.5HIGH

AV:N/AC:L/Au:N/C:P/I:P/A:P

Confidentiality Impact
PARTIAL
Integrity Impact
PARTIAL
Availability Impact
PARTIAL
Access Vector
NETWORK
Access Complexity
LOW
Authentication
NONE
Exploitability Score
10.0
Impact Score
6.4
CvssVersion
2.0

Exploit Intelligence

EPSS Score
4.46%
Probability of exploitation in next 30 days
EPSS Percentile
90.4%
Percentile rank of EPSS score among Peer Group
As of 2026-07-27
Model: v2026.06.15
This CVE's current EPSS score of 0.0446 is in the 83rd percentile among its peer group of 51,485 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.1 Bluesky, 0.1 Mastodon, and 0.4 GitHub mentions.

Media Mentions

The average CVE in this peer group has 0.1 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Patch Available

Vendor Patches (33)

redhatpatch availablevia nvd_reference
View patch
redhatpatch availablevia redhat_api
Product: RHEL 6 Version of OpenShift EnterpriseFixed in: rubygem-openshift-origin-console-0:1.0.6-1.el6op
View patch
redhatpatch availablevia redhat_api
Product: RHEL 6 Version of OpenShift EnterpriseFixed in: rubygem-openshift-origin-controller-0:1.0.11-1.el6op
View patch
redhatpatch availablevia redhat_api
Product: RHEL 6 Version of OpenShift EnterpriseFixed in: rubygem-openshift-origin-dns-bind-0:1.0.2-1.el6op
View patch
redhatpatch availablevia redhat_api
Product: RHEL 6 Version of OpenShift EnterpriseFixed in: rubygem-openshift-origin-msg-broker-mcollective-0:1.0.4-1.el6op
View patch
redhatpatch availablevia redhat_api
Product: RHEL 6 Version of OpenShift EnterpriseFixed in: rubygem-openshift-origin-node-0:1.0.10-6.el6op
View patch
redhatpatch availablevia redhat_api
Product: CloudForms for RHEL 6Fixed in: rubygem-actionpack-1:3.0.10-11.el6cf
View patch
redhatpatch availablevia redhat_api
Product: CloudForms for RHEL 6Fixed in: rubygem-activerecord-1:3.0.10-8.el6cf
View patch
redhatpatch availablevia redhat_api
Product: CloudForms for RHEL 6Fixed in: rubygem-activesupport-1:3.0.10-5.el6cf
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Subscription Asset Manager 1.1Fixed in: rubygem-actionpack-1:3.0.10-11.el6cf
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Subscription Asset Manager 1.1Fixed in: rubygem-activerecord-1:3.0.10-8.el6cf
View patch
redhatpatch availablevia redhat_api
Product: Red Hat Subscription Asset Manager 1.1Fixed in: rubygem-activesupport-1:3.0.10-5.el6cf
View patch
redhatpatch availablevia redhat_api
Product: RHEL 6 Version of OpenShift EnterpriseFixed in: jenkins-0:1.498-1.1.el6op
View patch
redhatpatch availablevia redhat_api
Product: RHEL 6 Version of OpenShift EnterpriseFixed in: mongodb-0:2.0.2-6.el6op
View patch
redhatpatch availablevia redhat_api
Product: RHEL 6 Version of OpenShift EnterpriseFixed in: openshift-console-0:0.0.13-2.el6op
View patch
redhatpatch availablevia redhat_api
Product: RHEL 6 Version of OpenShift EnterpriseFixed in: openshift-origin-broker-0:1.0.10-1.el6op
View patch
redhatpatch availablevia redhat_api
Product: RHEL 6 Version of OpenShift EnterpriseFixed in: openshift-origin-broker-util-0:1.0.14-1.el6op
View patch
redhatpatch availablevia redhat_api
Product: RHEL 6 Version of OpenShift EnterpriseFixed in: openshift-origin-cartridge-haproxy-1.4-0:1.0.3-1.el6op
View patch
redhatpatch availablevia redhat_api
Product: RHEL 6 Version of OpenShift EnterpriseFixed in: openshift-origin-cartridge-ruby-1.8-0:1.0.5-1.el6op
View patch
redhatpatch availablevia redhat_api
Product: RHEL 6 Version of OpenShift EnterpriseFixed in: openshift-origin-cartridge-ruby-1.9-scl-0:1.0.5-1.el6op
View patch
redhatpatch availablevia redhat_api
Product: RHEL 6 Version of OpenShift EnterpriseFixed in: openshift-origin-msg-node-mcollective-0:1.0.2-1.el6op
View patch
redhatpatch availablevia redhat_api
Product: RHEL 6 Version of OpenShift EnterpriseFixed in: openshift-origin-node-util-0:1.0.7-1.el6op
View patch
redhatpatch availablevia redhat_api
Product: RHEL 6 Version of OpenShift EnterpriseFixed in: openshift-origin-port-proxy-0:1.0.3-1.el6op
View patch
redhatpatch availablevia redhat_api
Product: RHEL 6 Version of OpenShift EnterpriseFixed in: rhc-0:1.3.2-1.3.el6op
View patch
redhatpatch availablevia redhat_api
Product: RHEL 6 Version of OpenShift EnterpriseFixed in: ruby193-rubygem-activerecord-1:3.2.8-2.el6
View patch
redhatpatch availablevia redhat_api
Product: RHEL 6 Version of OpenShift EnterpriseFixed in: ruby193-rubygem-passenger-0:3.0.12-21.el6op
View patch
redhatpatch availablevia redhat_api
Product: RHEL 6 Version of OpenShift EnterpriseFixed in: rubygem-openshift-origin-auth-remote-user-0:1.0.4-2.el6op
View patch
redhatpatch availablevia redhat_api
Product: RHEL 6 Version of OpenShift EnterpriseFixed in: rubygem-openshift-origin-common-0:1.0.2-1.el6op
View patch
rubygemspatch availablevia ghsa
Product: activerecordFixed in: 3.1.9
rubygemspatch availablevia ghsa
Product: activerecordFixed in: 3.2.10
rubygemspatch availablevia ghsa
Product: activerecordFixed in: 3.0.18
rubygemspatch availablevia ghsa
Product: activerecordFixed in: 2.3.15
redhatno patchvia redhat_api
Product: OpenShift Enterprise 1Fixed in: ruby-rubygem-activerecord