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-2661

21
FAUCET Score

CVE-2012-2661 describes a SQL injection vulnerability in the Active Record component of Ruby on Rails versions 3.0.x, 3.1.x, and 3.2.x. This flaw allows remote attackers to execute SQL injection attacks by manipulating nested query parameters, leveraging unintended recursion. With a CVSS score of 5.0, this vulnerability is of medium severity, requiring no authentication and having low attack complexity, potentially leading to information disclosure. There is no evidence of active exploitation, nor are there publicly available exploit tools like Metasploit or Nuclei, though it has received some community discussion.

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

5.0MEDIUM

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

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

Exploit Intelligence

EPSS Score
4.17%
Probability of exploitation in next 30 days
EPSS Percentile
89.8%
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.0417 is in the 86th percentile among its peer group of 23,723 CVEs.

Social Chatter

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

Media Mentions

No media coverage found for this CVE.

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

Remediation

Patch Available

Vendor Patches (53)

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-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
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
rubygemspatch availablevia ghsa
Product: activerecordFixed in: 3.1.5
rubygemspatch availablevia ghsa
Product: activerecordFixed in: 3.2.4
rubygemspatch availablevia ghsa
Product: activerecordFixed in: 3.0.13

Vendor Advisories (2)

rubygemsGHSA-fh39-v733-mxfrmedium

Active Record vulnerable to SQL Injection via nested query parameters

Oct 24, 2017
redhatCVE-2012-2661Low

rubygem-activerecord: SQL injection when processing nested query paramaters

May 31, 2012

References

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/fc2da6c627fc92df
Exploit