Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2012-2695

27
FAUCET Score

CVE-2012-2695 describes a SQL injection vulnerability in the Active Record component of Ruby on Rails versions before 3.0.14, 3.1.6, and 3.2.6. This flaw allows remote attackers to execute SQL injection attacks by manipulating nested query parameters due to improper handling of nested hashes when passing request data to a 'where' method. With a CVSS score of 7.5, this vulnerability is considered highly severe, indicating a network-based attack with low complexity and potential for partial compromise of confidentiality, integrity, and availability. There is no evidence of active exploitation, public exploit code (Metasploit, Nuclei, ExploitDB), or significant community discussion or media coverage surrounding this CVE.

Impacted Technologies

VendorProductVersion(s)CPE
3.0.0CPE matchmatch criteria
cpe:2.3:a:rubyonrails:rails:3.0.0:*:*:*:*:*:*:*
3.0.0CPE matchmatch criteria
cpe:2.3:a:rubyonrails:rails:3.0.0:beta:*:*:*:*:*:*
3.0.0CPE matchmatch criteria
cpe:2.3:a:rubyonrails:rails:3.0.0:beta2:*:*:*:*:*:*
3.0.0CPE matchmatch criteria
cpe:2.3:a:rubyonrails:rails:3.0.0:beta3:*:*:*:*:*:*
3.0.0CPE matchmatch criteria
cpe:2.3:a:rubyonrails:rails:3.0.0:beta4:*:*:*:*:*:*

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
2.92%
Probability of exploitation in next 30 days
EPSS Percentile
85.6%
Percentile rank of EPSS score among Peer Group
As of 2026-07-24
Model: v2026.06.15
This CVE's current EPSS score of 0.0292 is in the 74th percentile among its peer group of 51,466 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

No media coverage found for this CVE.

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 (54)

redhatpatch availablevia redhat_api
Product: RHEL 6 Version of OpenShift EnterpriseFixed in: rubygem-ruby_parser-0:2.0.4-6.el6op
View patch
redhatpatch availablevia redhat_api
Product: RHEL 6 Version of OpenShift EnterpriseFixed in: rubygem-openshift-origin-auth-remote-user-0:1.0.5-1.el6op
View patch
redhatpatch availablevia redhat_api
Product: RHEL 6 Version of OpenShift EnterpriseFixed in: rubygem-openshift-origin-console-0:1.0.10-1.el6op
View patch
redhatpatch availablevia redhat_api
Product: RHEL 6 Version of OpenShift EnterpriseFixed in: rubygem-openshift-origin-controller-0:1.0.12-1.el6op
View patch
redhatpatch availablevia redhat_api
Product: RHEL 6 Version of OpenShift EnterpriseFixed in: rubygem-openshift-origin-node-0:1.0.11-1.el6op
View patch
redhatpatch availablevia redhat_api
Product: CloudForms for RHEL 6Fixed in: converge-ui-devel-0:1.0.4-1.el6cf
View patch
redhatpatch availablevia redhat_api
Product: CloudForms for RHEL 6Fixed in: puppet-0:2.6.17-2.el6cf
View patch
redhatpatch availablevia redhat_api
Product: CloudForms for RHEL 6Fixed in: rubygem-actionpack-1:3.0.10-10.el6cf
View patch
redhatpatch availablevia redhat_api
Product: CloudForms for RHEL 6Fixed in: rubygem-activerecord-1:3.0.10-6.el6cf
View patch
redhatpatch availablevia redhat_api
Product: CloudForms for RHEL 6Fixed in: rubygem-activesupport-1:3.0.10-4.el6cf
View patch
redhatpatch availablevia redhat_api
Product: CloudForms for RHEL 6Fixed in: rubygem-chunky_png-0:1.2.0-3.el6cf
View patch
redhatpatch availablevia redhat_api
Product: CloudForms for RHEL 6Fixed in: rubygem-compass-0:0.11.5-2.el6cf
View patch
redhatpatch availablevia redhat_api
Product: CloudForms for RHEL 6Fixed in: rubygem-compass-960-plugin-0:0.10.4-2.el6cf
View patch
redhatpatch availablevia redhat_api
Product: CloudForms for RHEL 6Fixed in: rubygem-delayed_job-0:2.1.4-2.el6cf
View patch
redhatpatch availablevia redhat_api
Product: CloudForms for RHEL 6Fixed in: rubygem-ldap_fluff-0:0.1.3-1.el6_3
View patch
redhatpatch availablevia redhat_api
Product: CloudForms for RHEL 6Fixed in: rubygem-mail-0:2.3.0-3.el6cf
View patch
redhatpatch availablevia redhat_api
Product: CloudForms for RHEL 6Fixed in: rubygem-net-ldap-0:0.1.1-3.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: graphviz-0:2.26.0-10.el6
View patch
redhatpatch availablevia redhat_api
Product: RHEL 6 Version of OpenShift EnterpriseFixed in: openshift-console-0:0.0.16-1.el6op
View patch
redhatpatch availablevia redhat_api
Product: RHEL 6 Version of OpenShift EnterpriseFixed in: openshift-origin-broker-0:1.0.11-1.el6op
View patch
redhatpatch availablevia redhat_api
Product: RHEL 6 Version of OpenShift EnterpriseFixed in: openshift-origin-broker-util-0:1.0.15-1.el6op
View patch
redhatpatch availablevia redhat_api
Product: RHEL 6 Version of OpenShift EnterpriseFixed in: openshift-origin-cartridge-cron-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-diy-0.1-0:1.0.3-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.4-1.el6op
View patch
redhatpatch availablevia redhat_api
Product: RHEL 6 Version of OpenShift EnterpriseFixed in: openshift-origin-cartridge-jbosseap-6.0-0:1.0.4-1.el6op
View patch
redhatpatch availablevia redhat_api
Product: RHEL 6 Version of OpenShift EnterpriseFixed in: openshift-origin-cartridge-jbossews-1.0-0:1.0.13-1.el6op
View patch
redhatpatch availablevia redhat_api
Product: RHEL 6 Version of OpenShift EnterpriseFixed in: openshift-origin-cartridge-jenkins-1.4-0:1.0.2-1.el6op
View patch
redhatpatch availablevia redhat_api
Product: RHEL 6 Version of OpenShift EnterpriseFixed in: openshift-origin-cartridge-jenkins-client-1.4-0:1.0.2-1.el6op
View patch
redhatpatch availablevia redhat_api
Product: RHEL 6 Version of OpenShift EnterpriseFixed in: openshift-origin-cartridge-mysql-5.1-0:1.0.5-1.el6op
View patch
redhatpatch availablevia redhat_api
Product: RHEL 6 Version of OpenShift EnterpriseFixed in: openshift-origin-cartridge-perl-5.10-0:1.0.3-1.el6op
View patch
redhatpatch availablevia redhat_api
Product: RHEL 6 Version of OpenShift EnterpriseFixed in: openshift-origin-cartridge-php-5.3-0:1.0.5-1.el6op
View patch
redhatpatch availablevia redhat_api
Product: RHEL 6 Version of OpenShift EnterpriseFixed in: openshift-origin-cartridge-postgresql-8.4-0:1.0.3-2.el6op
View patch
redhatpatch availablevia redhat_api
Product: RHEL 6 Version of OpenShift EnterpriseFixed in: openshift-origin-cartridge-ruby-1.8-0:1.0.7-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.8-1.el6op
View patch
redhatpatch availablevia redhat_api
Product: RHEL 6 Version of OpenShift EnterpriseFixed in: openshift-origin-msg-node-mcollective-0:1.0.3-1.el6op
View patch
redhatpatch availablevia redhat_api
Product: RHEL 6 Version of OpenShift EnterpriseFixed in: php-0:5.3.3-22.el6
View patch
redhatpatch availablevia redhat_api
Product: RHEL 6 Version of OpenShift EnterpriseFixed in: ruby193-ruby-0:1.9.3.327-25.el6
View patch
redhatpatch availablevia redhat_api
Product: RHEL 6 Version of OpenShift EnterpriseFixed in: ruby193-rubygem-actionpack-1:3.2.8-3.el6
View patch
redhatpatch availablevia redhat_api
Product: RHEL 6 Version of OpenShift EnterpriseFixed in: ruby193-rubygem-activemodel-0:3.2.8-2.el6
View patch
redhatpatch availablevia redhat_api
Product: RHEL 6 Version of OpenShift EnterpriseFixed in: ruby193-rubygem-activerecord-1:3.2.8-3.el6
View patch
redhatpatch availablevia redhat_api
Product: RHEL 6 Version of OpenShift EnterpriseFixed in: ruby193-rubygem-railties-0:3.2.8-2.el6
View patch
redhatpatch availablevia redhat_api
Product: RHEL 6 Version of OpenShift EnterpriseFixed in: ruby193-rubygem-ruby_parser-0:2.3.1-3.el6op
View patch
redhatpatch availablevia redhat_api
Product: RHEL 6 Version of OpenShift EnterpriseFixed in: rubygem-actionpack-1:3.0.13-4.el6op
View patch
redhatpatch availablevia redhat_api
Product: RHEL 6 Version of OpenShift EnterpriseFixed in: rubygem-activemodel-0:3.0.13-3.el6op
View patch
redhatpatch availablevia redhat_api
Product: RHEL 6 Version of OpenShift EnterpriseFixed in: rubygem-activerecord-1:3.0.13-5.el6op
View patch
redhatpatch availablevia redhat_api
Product: RHEL 6 Version of OpenShift EnterpriseFixed in: rubygem-bson-0:1.8.1-2.el6op
View patch
redhatpatch availablevia redhat_api
Product: RHEL 6 Version of OpenShift EnterpriseFixed in: rubygem-mongo-0:1.8.1-2.el6op
View patch
rubygemspatch availablevia ghsa
Product: activerecordFixed in: 3.2.6
rubygemspatch availablevia ghsa
Product: activerecordFixed in: 3.0.14
rubygemspatch availablevia ghsa
Product: activerecordFixed in: 2.3.15
rubygemspatch availablevia ghsa
Product: activerecordFixed in: 3.1.6

Vendor Advisories (2)

rubygemsGHSA-76wq-xw4h-f8wjhigh

activerecord vulnerable to SQL Injection

Oct 24, 2017
redhatCVE-2012-2695Low

rubygem-activerecord: SQL injection when processing nested query paramaters (a different flaw than CVE-2012-2661)

Jun 12, 2012

References

lists.opensuse.org / opensuse-security-announce/2012-08/msg00002.html
lists.opensuse.org / opensuse-security-announce/2012-08/msg00014.html
lists.opensuse.org / opensuse-security-announce/2012-08/msg00016.html
lists.opensuse.org / opensuse-updates/2012-08/msg00046.html
rhn.redhat.com / errata/RHSA-2013-0154.html
groups.google.com / group/rubyonrails-security/msg/aee3413fb038bf56
Exploit