rubygem-actionpack: Unsafe query generation (a different flaw than CVE-2012-2660)
Published Jun 22, 2012
4.3
MEDIUMCVSS 2.0
EPSS 3.93%
Description
actionpack/lib/action_dispatch/http/request.rb 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 consider differences in parameter handling between the Active Record component and the Rack interface, which allows remote attackers to bypass intended database-query restrictions and perform NULL checks via a crafted request, as demonstrated by certain "['xyz', nil]" values, a related issue to CVE-2012-2660.
Affected products
No data.
Configuration 1
- 3.0.0
- 3.0.0
- 3.0.0
- 3.0.0
- 3.0.0
- 3.0.0
- 3.0.0
- 3.0.1
- 3.0.1
- 3.0.2
- 3.0.2
- 3.0.3
- 3.0.4
- 3.0.5
- 3.0.5
- 3.0.6
- 3.0.6
- 3.0.6
- 3.0.7
- 3.0.7
- 3.0.7
- 3.0.8
- 3.0.8
- 3.0.8
- 3.0.8
- 3.0.8
- 3.0.9
- 3.0.9
- 3.0.9
- 3.0.9
- 3.0.9
- 3.0.9
- 3.0.10
- 3.0.10
- 3.0.11
- 3.0.12
- 3.0.12
- 3.0.13
- ≤ 3.0.13
- 3.0.4
Configuration 2
- 3.1.0
- 3.1.0
- 3.1.0
- 3.1.0
- 3.1.0
- 3.1.0
- 3.1.0
- 3.1.0
- 3.1.0
- 3.1.0
- 3.1.1
- 3.1.1
- 3.1.1
- 3.1.1
- 3.1.2
- 3.1.2
- 3.1.2
- 3.1.3
- 3.1.4
- 3.1.4
- 3.1.5
- 3.1.5
Configuration 3
- 3.2.0
- 3.2.0
- 3.2.0
- 3.2.1
- 3.2.2
- 3.2.2
- 3.2.3
- 3.2.3
- 3.2.3
- 3.2.4
- 3.2.4
- 3.2.5
No data.
CloudForms for RHEL 6
converge-ui-devel-0:1.0.4-1.el6cf
Fixed · RHSA-2012:1542
CloudForms for RHEL 6
puppet-0:2.6.17-2.el6cf
Fixed · RHSA-2012:1542
CloudForms for RHEL 6
rubygem-actionpack-1:3.0.10-10.el6cf
Fixed · RHSA-2012:1542
CloudForms for RHEL 6
rubygem-activerecord-1:3.0.10-6.el6cf
Fixed · RHSA-2012:1542
CloudForms for RHEL 6
rubygem-activesupport-1:3.0.10-4.el6cf
Fixed · RHSA-2012:1542
CloudForms for RHEL 6
rubygem-chunky_png-0:1.2.0-3.el6cf
Fixed · RHSA-2012:1542
CloudForms for RHEL 6
rubygem-compass-0:0.11.5-2.el6cf
Fixed · RHSA-2012:1542
CloudForms for RHEL 6
rubygem-compass-960-plugin-0:0.10.4-2.el6cf
Fixed · RHSA-2012:1542
CloudForms for RHEL 6
rubygem-delayed_job-0:2.1.4-2.el6cf
Fixed · RHSA-2012:1542
CloudForms for RHEL 6
rubygem-ldap_fluff-0:0.1.3-1.el6_3
Fixed · RHSA-2012:1542
CloudForms for RHEL 6
rubygem-mail-0:2.3.0-3.el6cf
Fixed · RHSA-2012:1542
CloudForms for RHEL 6
rubygem-net-ldap-0:0.1.1-3.el6cf
Fixed · RHSA-2012:1542
RHEL 6 Version of OpenShift Enterprise
graphviz-0:2.26.0-10.el6
Fixed · RHSA-2013:0582
RHEL 6 Version of OpenShift Enterprise
openshift-console-0:0.0.16-1.el6op
Fixed · RHSA-2013:0582
RHEL 6 Version of OpenShift Enterprise
openshift-origin-broker-0:1.0.11-1.el6op
Fixed · RHSA-2013:0582
RHEL 6 Version of OpenShift Enterprise
openshift-origin-broker-util-0:1.0.15-1.el6op
Fixed · RHSA-2013:0582
RHEL 6 Version of OpenShift Enterprise
openshift-origin-cartridge-cron-1.4-0:1.0.3-1.el6op
Fixed · RHSA-2013:0582
RHEL 6 Version of OpenShift Enterprise
openshift-origin-cartridge-diy-0.1-0:1.0.3-1.el6op
Fixed · RHSA-2013:0582
RHEL 6 Version of OpenShift Enterprise
openshift-origin-cartridge-haproxy-1.4-0:1.0.4-1.el6op
Fixed · RHSA-2013:0582
RHEL 6 Version of OpenShift Enterprise
openshift-origin-cartridge-jbosseap-6.0-0:1.0.4-1.el6op
Fixed · RHSA-2013:0582
RHEL 6 Version of OpenShift Enterprise
openshift-origin-cartridge-jbossews-1.0-0:1.0.13-1.el6op
Fixed · RHSA-2013:0582
RHEL 6 Version of OpenShift Enterprise
openshift-origin-cartridge-jenkins-1.4-0:1.0.2-1.el6op
Fixed · RHSA-2013:0582
RHEL 6 Version of OpenShift Enterprise
openshift-origin-cartridge-jenkins-client-1.4-0:1.0.2-1.el6op
Fixed · RHSA-2013:0582
RHEL 6 Version of OpenShift Enterprise
openshift-origin-cartridge-mysql-5.1-0:1.0.5-1.el6op
Fixed · RHSA-2013:0582
RHEL 6 Version of OpenShift Enterprise
openshift-origin-cartridge-perl-5.10-0:1.0.3-1.el6op
Fixed · RHSA-2013:0582
RHEL 6 Version of OpenShift Enterprise
openshift-origin-cartridge-php-5.3-0:1.0.5-1.el6op
Fixed · RHSA-2013:0582
RHEL 6 Version of OpenShift Enterprise
openshift-origin-cartridge-postgresql-8.4-0:1.0.3-2.el6op
Fixed · RHSA-2013:0582
RHEL 6 Version of OpenShift Enterprise
openshift-origin-cartridge-ruby-1.8-0:1.0.7-1.el6op
Fixed · RHSA-2013:0582
RHEL 6 Version of OpenShift Enterprise
openshift-origin-cartridge-ruby-1.9-scl-0:1.0.8-1.el6op
Fixed · RHSA-2013:0582
RHEL 6 Version of OpenShift Enterprise
openshift-origin-msg-node-mcollective-0:1.0.3-1.el6op
Fixed · RHSA-2013:0582
RHEL 6 Version of OpenShift Enterprise
php-0:5.3.3-22.el6
Fixed · RHSA-2013:0582
RHEL 6 Version of OpenShift Enterprise
ruby193-ruby-0:1.9.3.327-25.el6
Fixed · RHSA-2013:0582
RHEL 6 Version of OpenShift Enterprise
ruby193-rubygem-actionpack-1:3.2.8-3.el6
Fixed · RHSA-2013:0582
RHEL 6 Version of OpenShift Enterprise
ruby193-rubygem-activemodel-0:3.2.8-2.el6
Fixed · RHSA-2013:0582
RHEL 6 Version of OpenShift Enterprise
ruby193-rubygem-activerecord-1:3.2.8-3.el6
Fixed · RHSA-2013:0582
RHEL 6 Version of OpenShift Enterprise
ruby193-rubygem-railties-0:3.2.8-2.el6
Fixed · RHSA-2013:0582
RHEL 6 Version of OpenShift Enterprise
ruby193-rubygem-ruby_parser-0:2.3.1-3.el6op
Fixed · RHSA-2013:0582
RHEL 6 Version of OpenShift Enterprise
rubygem-actionpack-1:3.0.13-4.el6op
Fixed · RHSA-2013:0582
RHEL 6 Version of OpenShift Enterprise
rubygem-activemodel-0:3.0.13-3.el6op
Fixed · RHSA-2013:0582
RHEL 6 Version of OpenShift Enterprise
rubygem-activerecord-1:3.0.13-5.el6op
Fixed · RHSA-2013:0582
RHEL 6 Version of OpenShift Enterprise
rubygem-bson-0:1.8.1-2.el6op
Fixed · RHSA-2013:0582
RHEL 6 Version of OpenShift Enterprise
rubygem-mongo-0:1.8.1-2.el6op
Fixed · RHSA-2013:0582
RHEL 6 Version of OpenShift Enterprise
rubygem-openshift-origin-auth-remote-user-0:1.0.5-1.el6op
Fixed · RHSA-2013:0582
RHEL 6 Version of OpenShift Enterprise
rubygem-openshift-origin-console-0:1.0.10-1.el6op
Fixed · RHSA-2013:0582
RHEL 6 Version of OpenShift Enterprise
rubygem-openshift-origin-controller-0:1.0.12-1.el6op
Fixed · RHSA-2013:0582
RHEL 6 Version of OpenShift Enterprise
rubygem-openshift-origin-node-0:1.0.11-1.el6op
Fixed · RHSA-2013:0582
RHEL 6 Version of OpenShift Enterprise
rubygem-ruby_parser-0:2.0.4-6.el6op
Fixed · RHSA-2013:0582
Red Hat Subscription Asset Manager 1.1
rubygem-actionpack-1:3.0.10-11.el6cf
Fixed · RHSA-2013:0154
Red Hat Subscription Asset Manager 1.1
rubygem-activerecord-1:3.0.10-8.el6cf
Fixed · RHSA-2013:0154
Red Hat Subscription Asset Manager 1.1
rubygem-activesupport-1:3.0.10-5.el6cf
Fixed · RHSA-2013:0154
| Product | Package | State | Advisory |
|---|---|---|---|
| CloudForms for RHEL 6 | converge-ui-devel-0:1.0.4-1.el6cf | Fixed | RHSA-2012:1542 |
| CloudForms for RHEL 6 | puppet-0:2.6.17-2.el6cf | Fixed | RHSA-2012:1542 |
| CloudForms for RHEL 6 | rubygem-actionpack-1:3.0.10-10.el6cf | Fixed | RHSA-2012:1542 |
| CloudForms for RHEL 6 | rubygem-activerecord-1:3.0.10-6.el6cf | Fixed | RHSA-2012:1542 |
| CloudForms for RHEL 6 | rubygem-activesupport-1:3.0.10-4.el6cf | Fixed | RHSA-2012:1542 |
| CloudForms for RHEL 6 | rubygem-chunky_png-0:1.2.0-3.el6cf | Fixed | RHSA-2012:1542 |
| CloudForms for RHEL 6 | rubygem-compass-0:0.11.5-2.el6cf | Fixed | RHSA-2012:1542 |
| CloudForms for RHEL 6 | rubygem-compass-960-plugin-0:0.10.4-2.el6cf | Fixed | RHSA-2012:1542 |
| CloudForms for RHEL 6 | rubygem-delayed_job-0:2.1.4-2.el6cf | Fixed | RHSA-2012:1542 |
| CloudForms for RHEL 6 | rubygem-ldap_fluff-0:0.1.3-1.el6_3 | Fixed | RHSA-2012:1542 |
| CloudForms for RHEL 6 | rubygem-mail-0:2.3.0-3.el6cf | Fixed | RHSA-2012:1542 |
| CloudForms for RHEL 6 | rubygem-net-ldap-0:0.1.1-3.el6cf | Fixed | RHSA-2012:1542 |
| RHEL 6 Version of OpenShift Enterprise | graphviz-0:2.26.0-10.el6 | Fixed | RHSA-2013:0582 |
| RHEL 6 Version of OpenShift Enterprise | openshift-console-0:0.0.16-1.el6op | Fixed | RHSA-2013:0582 |
| RHEL 6 Version of OpenShift Enterprise | openshift-origin-broker-0:1.0.11-1.el6op | Fixed | RHSA-2013:0582 |
| RHEL 6 Version of OpenShift Enterprise | openshift-origin-broker-util-0:1.0.15-1.el6op | Fixed | RHSA-2013:0582 |
| RHEL 6 Version of OpenShift Enterprise | openshift-origin-cartridge-cron-1.4-0:1.0.3-1.el6op | Fixed | RHSA-2013:0582 |
| RHEL 6 Version of OpenShift Enterprise | openshift-origin-cartridge-diy-0.1-0:1.0.3-1.el6op | Fixed | RHSA-2013:0582 |
| RHEL 6 Version of OpenShift Enterprise | openshift-origin-cartridge-haproxy-1.4-0:1.0.4-1.el6op | Fixed | RHSA-2013:0582 |
| RHEL 6 Version of OpenShift Enterprise | openshift-origin-cartridge-jbosseap-6.0-0:1.0.4-1.el6op | Fixed | RHSA-2013:0582 |
| RHEL 6 Version of OpenShift Enterprise | openshift-origin-cartridge-jbossews-1.0-0:1.0.13-1.el6op | Fixed | RHSA-2013:0582 |
| RHEL 6 Version of OpenShift Enterprise | openshift-origin-cartridge-jenkins-1.4-0:1.0.2-1.el6op | Fixed | RHSA-2013:0582 |
| RHEL 6 Version of OpenShift Enterprise | openshift-origin-cartridge-jenkins-client-1.4-0:1.0.2-1.el6op | Fixed | RHSA-2013:0582 |
| RHEL 6 Version of OpenShift Enterprise | openshift-origin-cartridge-mysql-5.1-0:1.0.5-1.el6op | Fixed | RHSA-2013:0582 |
| RHEL 6 Version of OpenShift Enterprise | openshift-origin-cartridge-perl-5.10-0:1.0.3-1.el6op | Fixed | RHSA-2013:0582 |
| RHEL 6 Version of OpenShift Enterprise | openshift-origin-cartridge-php-5.3-0:1.0.5-1.el6op | Fixed | RHSA-2013:0582 |
| RHEL 6 Version of OpenShift Enterprise | openshift-origin-cartridge-postgresql-8.4-0:1.0.3-2.el6op | Fixed | RHSA-2013:0582 |
| RHEL 6 Version of OpenShift Enterprise | openshift-origin-cartridge-ruby-1.8-0:1.0.7-1.el6op | Fixed | RHSA-2013:0582 |
| RHEL 6 Version of OpenShift Enterprise | openshift-origin-cartridge-ruby-1.9-scl-0:1.0.8-1.el6op | Fixed | RHSA-2013:0582 |
| RHEL 6 Version of OpenShift Enterprise | openshift-origin-msg-node-mcollective-0:1.0.3-1.el6op | Fixed | RHSA-2013:0582 |
| RHEL 6 Version of OpenShift Enterprise | php-0:5.3.3-22.el6 | Fixed | RHSA-2013:0582 |
| RHEL 6 Version of OpenShift Enterprise | ruby193-ruby-0:1.9.3.327-25.el6 | Fixed | RHSA-2013:0582 |
| RHEL 6 Version of OpenShift Enterprise | ruby193-rubygem-actionpack-1:3.2.8-3.el6 | Fixed | RHSA-2013:0582 |
| RHEL 6 Version of OpenShift Enterprise | ruby193-rubygem-activemodel-0:3.2.8-2.el6 | Fixed | RHSA-2013:0582 |
| RHEL 6 Version of OpenShift Enterprise | ruby193-rubygem-activerecord-1:3.2.8-3.el6 | Fixed | RHSA-2013:0582 |
| RHEL 6 Version of OpenShift Enterprise | ruby193-rubygem-railties-0:3.2.8-2.el6 | Fixed | RHSA-2013:0582 |
| RHEL 6 Version of OpenShift Enterprise | ruby193-rubygem-ruby_parser-0:2.3.1-3.el6op | Fixed | RHSA-2013:0582 |
| RHEL 6 Version of OpenShift Enterprise | rubygem-actionpack-1:3.0.13-4.el6op | Fixed | RHSA-2013:0582 |
| RHEL 6 Version of OpenShift Enterprise | rubygem-activemodel-0:3.0.13-3.el6op | Fixed | RHSA-2013:0582 |
| RHEL 6 Version of OpenShift Enterprise | rubygem-activerecord-1:3.0.13-5.el6op | Fixed | RHSA-2013:0582 |
| RHEL 6 Version of OpenShift Enterprise | rubygem-bson-0:1.8.1-2.el6op | Fixed | RHSA-2013:0582 |
| RHEL 6 Version of OpenShift Enterprise | rubygem-mongo-0:1.8.1-2.el6op | Fixed | RHSA-2013:0582 |
| RHEL 6 Version of OpenShift Enterprise | rubygem-openshift-origin-auth-remote-user-0:1.0.5-1.el6op | Fixed | RHSA-2013:0582 |
| RHEL 6 Version of OpenShift Enterprise | rubygem-openshift-origin-console-0:1.0.10-1.el6op | Fixed | RHSA-2013:0582 |
| RHEL 6 Version of OpenShift Enterprise | rubygem-openshift-origin-controller-0:1.0.12-1.el6op | Fixed | RHSA-2013:0582 |
| RHEL 6 Version of OpenShift Enterprise | rubygem-openshift-origin-node-0:1.0.11-1.el6op | Fixed | RHSA-2013:0582 |
| RHEL 6 Version of OpenShift Enterprise | rubygem-ruby_parser-0:2.0.4-6.el6op | Fixed | RHSA-2013:0582 |
| Red Hat Subscription Asset Manager 1.1 | rubygem-actionpack-1:3.0.10-11.el6cf | Fixed | RHSA-2013:0154 |
| Red Hat Subscription Asset Manager 1.1 | rubygem-activerecord-1:3.0.10-8.el6cf | Fixed | RHSA-2013:0154 |
| Red Hat Subscription Asset Manager 1.1 | rubygem-activesupport-1:3.0.10-5.el6cf | Fixed | RHSA-2013:0154 |
No package ranges for this CVE.
Remediation
No remediation recorded yet.
Metrics
No CVSS v4.0 score for this CVE.
No CVSS v3.1 score for this CVE.
No CVSS v3.0 score for this CVE.
AV:N/AC:M/Au:N/C:P/I:N/A:N
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 1, 2026.
Score over time
2022–2026- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (9 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 3.93% (0.03931) | 90.04th | v5 (v2026.06.15) |
| Jun 15, 2026 | 4.07% (0.04073) | 89.33th | v5 (v2026.06.15) |
| Mar 17, 2025 | 0.13% (0.00128) | 29.72th | v4 (v2025.03.14) |
| Dec 12, 2024 | 0.29% (0.00291) | 69.92th | v3 (v2023.03.01) |
| Jul 11, 2024 | 0.29% (0.00291) | 69.33th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.32% (0.00316) | 69.57th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.32% (0.00316) | 65.62th | v3 (v2023.03.01) |
| Mar 6, 2023 | 25.58% (0.25580) | 96.99th | v2 (v2022.01.01) |
| Feb 4, 2022 | 25.58% (0.25580) | 95.55th | v2 (v2022.01.01) |
References (16)
- http://lists.opensuse.org/opensuse-security-announce/2012-08/msg00002.html vendor-advisoryx_refsource_SUSE
- http://lists.opensuse.org/opensuse-security-announce/2012-08/msg00014.html vendor-advisoryx_refsource_SUSE
- http://lists.opensuse.org/opensuse-security-announce/2012-08/msg00016.html vendor-advisoryx_refsource_SUSE
- http://lists.opensuse.org/opensuse-security-announce/2012-08/msg00017.html vendor-advisoryx_refsource_SUSE
- http://lists.opensuse.org/opensuse-updates/2012-08/msg00046.html vendor-advisoryx_refsource_SUSE
- http://rhn.redhat.com/errata/RHSA-2013-0154.html vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2012-2694 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=831581 Issue Tracking
- https://github.com/advisories/GHSA-q34c-48gc-m9g8 Advisory
- https://github.com/rails/rails/commit/2f3bc0467311781ac1ceb2c8c2b09002c8fe143a
- https://github.com/rails/rails/commit/c202638225519b5e1a03ebe523b109c948fb0e52
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/actionpack/CVE-2012-2694.yml
- https://groups.google.com/g/rubyonrails-security/c/jILZ34tAHF4/m/7x0hLH-o0-IJ
- https://groups.google.com/group/rubyonrails-security/msg/e2d3a87f2c211def?dmode=source&output=gplain mailing-listx_refsource_MLISTExploit
- https://nvd.nist.gov/vuln/detail/CVE-2012-2694
- https://www.cve.org/CVERecord?id=CVE-2012-2694
Change history (0)
No recorded changes yet.