CVE-2013-0155
publishedrubygem-activerecord: Unsafe Query Generation Risk in Ruby on Rails
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | redhat |
| Debian | squeeze | rails | Advisory build | 2.3.5-1.2+squeeze5 | DSA-2609-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | redhat · cna |
Weaknesses
1- n/a
References
12- http://ics-cert.us-cert.gov/advisories/ICSA-13-036-01A
- APPLE-SA-2013-06-04-1 http://lists.apple.com/archives/security-announce/2013/Jun/msg00000.html
- openSUSE-SU-2013:1904 http://lists.opensuse.org/opensuse-updates/2013-12/msg00079.html
- openSUSE-SU-2013:1906 http://lists.opensuse.org/opensuse-updates/2013-12/msg00081.html
- openSUSE-SU-2013:1907 http://lists.opensuse.org/opensuse-updates/2013-12/msg00082.html
- openSUSE-SU-2014:0009 http://lists.opensuse.org/opensuse-updates/2014-01/msg00003.html
- RHSA-2013:0154 http://rhn.redhat.com/errata/RHSA-2013-0154.html
- RHSA-2013:0155 http://rhn.redhat.com/errata/RHSA-2013-0155.html
- http://support.apple.com/kb/HT5784
- DSA-2609 http://www.debian.org/security/2013/dsa-2609
- [rubyonrails-security] 20130108 Unsafe Query Generation Risk in Ruby on Rails (CVE-2013-0155) https://groups.google.com/group/rubyonrails-security/msg/bc6f13dafe130ee9?dmode=source&output=gplain
- https://puppet.com/security/cve/cve-2013-0155
Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- caf7cbf4497c6f79ecbdf0183efe34d5dce2d7ba2d914381ad5a146614e10ae5
- Ingested
- 23 Sep 2026, 07:39:27 UTC
- Source record
- Official CVE record