CVE-2013-0155
MEDIUM 6.4CVSS 2.0Active Record allows bypassing of database-query restrictions
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.
- Published
- 13 Jan 2013
- Last modified
- 16 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-264CWE-284
- Also known as
- GHSA-gppp-5xc5-wfpx
- Sources
- NVDJSONOSV GHSA-gppp-5xc5-wfpxJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.4 | AV:N/AC:L/Au:N/C:P/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | rubyonrails | railscpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:* |
>= 3.2.0, < 3.2.11 | 3.2.11 |
| NVD | rubyonrails | ruby_on_railscpe:2.3:a:rubyonrails:ruby_on_rails:*:*:*:*:*:*:*:* |
>= 3.0.0, < 3.0.19 | 3.0.19 |
| NVD | rubyonrails | ruby_on_railscpe:2.3:a:rubyonrails:ruby_on_rails:*:*:*:*:*:*:*:* |
>= 3.1.0, < 3.1.10 | 3.1.10 |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:6.0:*:*:*:*:*:*:* |
= 6.0 | |
| OSV | RubyGems | activerecord | >= 3.0.0, < 3.0.19 | 3.0.19 |
| OSV | RubyGems | activerecord | >= 3.1.0, < 3.1.10 | 3.1.10 |
| OSV | RubyGems | activerecord | >= 3.2.0, < 3.2.11 | 3.2.11 |
References
- http://ics-cert.us-cert.gov/advisories/ICSA-13-036-01A · Third Party Advisory, US Government Resource, WEB
- http://lists.apple.com/archives/security-announce/2013/Jun/msg00000.html · Mailing List, Third Party Advisory, WEB
- http://lists.opensuse.org/opensuse-updates/2013-12/msg00079.html · Mailing List, Third Party Advisory, WEB
- http://lists.opensuse.org/opensuse-updates/2013-12/msg00081.html · Mailing List, Third Party Advisory, WEB
- http://lists.opensuse.org/opensuse-updates/2013-12/msg00082.html · Mailing List, Third Party Advisory, WEB
- http://lists.opensuse.org/opensuse-updates/2014-01/msg00003.html · Mailing List, Third Party Advisory, WEB
- http://rhn.redhat.com/errata/RHSA-2013-0154.html · Third Party Advisory, WEB
- http://rhn.redhat.com/errata/RHSA-2013-0155.html · Third Party Advisory
- http://support.apple.com/kb/HT5784 · Third Party Advisory, WEB
- http://www.debian.org/security/2013/dsa-2609 · Third Party Advisory, WEB
- https://groups.google.com/group/rubyonrails-security/msg/bc6f13dafe130ee9?dmode=source&output=gplain · Third Party Advisory, WEB
- https://puppet.com/security/cve/cve-2013-0155 · Third Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2013-0155 · ADVISORY
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activerecord/CVE-2013-0155.yml · WEB
History
- 25 Nov 2026 20:17 UTC · NVD: first stored (published 13 Jan 2013)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 24 Oct 2017)