rubygem-activerecord: Unsafe Query Generation Risk in Ruby on Rails
Published Jan 13, 2013
6.4
MEDIUMCVSS 2.0
EPSS 8.24%
Description
Ruby on Rails 3.0.x before 3.0.19, 3.1.x before 3.1.10, and 3.2.x before 3.2.11 does not properly consider differences in parameter handling between the Active Record component and the JSON implementation, which allows remote attackers to bypass intended database-query restrictions and perform NULL checks or trigger missing WHERE clauses via a crafted request, as demonstrated by certain "[nil]" values, a related issue to CVE-2012-2660 and CVE-2012-2694.
Affected products
No data.
Configuration 1
- ≥ 3.2.0 · < 3.2.11
- ≥ 3.0.0 · < 3.0.19
- ≥ 3.1.0 · < 3.1.10
Configuration 2
- 6.0
No data.
CloudForms for RHEL 6
rubygem-actionpack-1:3.0.10-11.el6cf
Fixed · RHSA-2013:0155
CloudForms for RHEL 6
rubygem-activerecord-1:3.0.10-8.el6cf
Fixed · RHSA-2013:0155
CloudForms for RHEL 6
rubygem-activesupport-1:3.0.10-5.el6cf
Fixed · RHSA-2013:0155
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 | rubygem-actionpack-1:3.0.10-11.el6cf | Fixed | RHSA-2013:0155 |
| CloudForms for RHEL 6 | rubygem-activerecord-1:3.0.10-8.el6cf | Fixed | RHSA-2013:0155 |
| CloudForms for RHEL 6 | rubygem-activesupport-1:3.0.10-5.el6cf | Fixed | RHSA-2013:0155 |
| 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:L/Au:N/C:P/I:P/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 (39 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 1, 2026 | 8.24% (0.08245) | 94.73th | v5 (v2026.06.15) |
| Jul 9, 2026 | 8.24% (0.08245) | 94.23th | v5 (v2026.06.15) |
| Jun 15, 2026 | 5.67% (0.05673) | 91.97th | v5 (v2026.06.15) |
| Mar 4, 2026 | 18.17% (0.18174) | 95.06th | v4 (v2025.03.14) |
| Mar 1, 2026 | 12.54% (0.12544) | 93.83th | v4 (v2025.03.14) |
| Feb 4, 2026 | 18.17% (0.18174) | 95.01th | v4 (v2025.03.14) |
| Feb 1, 2026 | 12.54% (0.12544) | 93.79th | v4 (v2025.03.14) |
| Jan 4, 2026 | 18.17% (0.18174) | 94.97th | v4 (v2025.03.14) |
| Jan 1, 2026 | 12.54% (0.12544) | 93.75th | v4 (v2025.03.14) |
| Dec 4, 2025 | 18.17% (0.18174) | 94.93th | v4 (v2025.03.14) |
| Dec 1, 2025 | 16.13% (0.16131) | 94.58th | v4 (v2025.03.14) |
| Nov 4, 2025 | 18.17% (0.18174) | 94.91th | v4 (v2025.03.14) |
| Nov 1, 2025 | 16.13% (0.16131) | 94.56th | v4 (v2025.03.14) |
| Oct 4, 2025 | 18.17% (0.18174) | 94.94th | v4 (v2025.03.14) |
| Oct 1, 2025 | 16.13% (0.16131) | 94.59th | v4 (v2025.03.14) |
| Sep 4, 2025 | 18.17% (0.18174) | 94.95th | v4 (v2025.03.14) |
| Sep 1, 2025 | 16.13% (0.16131) | 94.58th | v4 (v2025.03.14) |
| Aug 19, 2025 | 18.17% (0.18174) | 94.92th | v4 (v2025.03.14) |
| Aug 4, 2025 | 11.37% (0.11368) | 93.27th | v4 (v2025.03.14) |
| Aug 1, 2025 | 9.72% (0.09719) | 92.66th | v4 (v2025.03.14) |
| Jul 6, 2025 | 11.37% (0.11368) | 93.22th | v4 (v2025.03.14) |
| Jul 1, 2025 | 9.72% (0.09719) | 92.60th | v4 (v2025.03.14) |
| Jun 1, 2025 | 10.89% (0.10890) | 93.05th | v4 (v2025.03.14) |
| May 4, 2025 | 13.41% (0.13405) | 93.77th | v4 (v2025.03.14) |
| May 1, 2025 | 10.89% (0.10890) | 93.02th | v4 (v2025.03.14) |
| Apr 13, 2025 | 13.41% (0.13405) | 93.60th | v4 (v2025.03.14) |
| Apr 12, 2025 | 10.89% (0.10890) | 92.76th | v4 (v2025.03.14) |
| Apr 5, 2025 | 13.41% (0.13405) | 93.60th | v4 (v2025.03.14) |
| Apr 4, 2025 | 10.89% (0.10890) | 92.77th | v4 (v2025.03.14) |
| Mar 30, 2025 | 13.41% (0.13405) | 93.58th | v4 (v2025.03.14) |
| Mar 29, 2025 | 10.06% (0.10061) | 88.36th | v4 (v2025.03.14) |
| Mar 25, 2025 | 13.41% (0.13405) | 93.52th | v4 (v2025.03.14) |
| Mar 24, 2025 | 10.89% (0.10890) | 92.74th | v4 (v2025.03.14) |
| Mar 17, 2025 | 13.41% (0.13405) | 93.64th | v4 (v2025.03.14) |
| Dec 17, 2024 | 1.97% (0.01969) | 88.44th | v3 (v2023.03.01) |
| Feb 8, 2024 | 0.37% (0.00371) | 71.85th | v3 (v2023.03.01) |
| Mar 7, 2023 | 0.37% (0.00371) | 68.31th | v3 (v2023.03.01) |
| Mar 6, 2023 | 27.34% (0.27336) | 97.18th | v2 (v2022.01.01) |
| Feb 4, 2022 | 27.34% (0.27336) | 95.90th | v2 (v2022.01.01) |
References (18)
- http://ics-cert.us-cert.gov/advisories/ICSA-13-036-01A x_refsource_MISCThird Party AdvisoryUS Government Resource
- http://lists.apple.com/archives/security-announce/2013/Jun/msg00000.html vendor-advisoryx_refsource_APPLEMailing ListThird Party Advisory
- http://lists.opensuse.org/opensuse-updates/2013-12/msg00079.html vendor-advisoryx_refsource_SUSEMailing ListThird Party Advisory
- http://lists.opensuse.org/opensuse-updates/2013-12/msg00081.html vendor-advisoryx_refsource_SUSEMailing ListThird Party Advisory
- http://lists.opensuse.org/opensuse-updates/2013-12/msg00082.html vendor-advisoryx_refsource_SUSEMailing ListThird Party Advisory
- http://lists.opensuse.org/opensuse-updates/2014-01/msg00003.html vendor-advisoryx_refsource_SUSEMailing ListThird Party Advisory
- http://rhn.redhat.com/errata/RHSA-2013-0154.html vendor-advisoryx_refsource_REDHATThird Party Advisory
- http://rhn.redhat.com/errata/RHSA-2013-0155.html vendor-advisoryx_refsource_REDHATThird Party Advisory
- http://support.apple.com/kb/HT5784 x_refsource_CONFIRMThird Party Advisory
- http://www.debian.org/security/2013/dsa-2609 vendor-advisoryx_refsource_DEBIANThird Party Advisory
- https://access.redhat.com/security/cve/CVE-2013-0155 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=892866 Issue Tracking
- https://github.com/advisories/GHSA-gppp-5xc5-wfpx Advisory
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activerecord/CVE-2013-0155.yml
- https://groups.google.com/group/rubyonrails-security/msg/bc6f13dafe130ee9?dmode=source&output=gplain mailing-listx_refsource_MLISTThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2013-0155
- https://puppet.com/security/cve/cve-2013-0155 x_refsource_CONFIRMThird Party Advisory
- https://www.cve.org/CVERecord?id=CVE-2013-0155
Change history (0)
No recorded changes yet.