CVE-2013-0155Rubyonrails Rails
Medium 6.4 No auth needed
Follow: this CVE · Rubyonrails · Rubyonrails Rails We alert you by email or Slack (account required).
- Priority
- 54
- CVSS 2.0
- 6.4
- EPSS
- 8.2% probability of exploitation in 30 days · percentile 96
- Auth required
- No
- Published
- Jan 13, 2013
- Updated
- Jun 16, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-264
- Vector
AV:N/AC:L/Au:N/C:P/I:P/A:N
What happens
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.
What to do
- Apply the vendor's security update for Rails.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| RubyGems | activerecord |
≥ 3.0.0 < 3.0.19 |
3.0.19 |
gem "activerecord", ">= 3.0.19" |
| RubyGems | activerecord |
≥ 3.1.0 < 3.1.10 |
3.1.10 |
gem "activerecord", ">= 3.1.10" |
| RubyGems | activerecord |
≥ 3.2.0 < 3.2.11 |
3.2.11 |
gem "activerecord", ">= 3.2.11" |
Per OSV / GitHub Advisories (GHSA-gppp-5xc5-wfpx). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| rubyonrails | rails | ≥ 3.2.0 < 3.2.11 |
| rubyonrails | ruby_on_rails | ≥ 3.0.0 < 3.0.19 |
| rubyonrails | ruby_on_rails | ≥ 3.1.0 < 3.1.10 |
| debian | debian_linux | 6.0 |
Official sources
References
Links published by the sources. Open them with care.
- ics-cert.us-cert.gov Third Party Advisory US Government Resource
- lists.apple.com Mailing List Third Party Advisory
- lists.opensuse.org Mailing List Third Party Advisory
- lists.opensuse.org Mailing List Third Party Advisory
- lists.opensuse.org Mailing List Third Party Advisory
- lists.opensuse.org Mailing List Third Party Advisory
- rhn.redhat.com Third Party Advisory
- rhn.redhat.com Third Party Advisory
- support.apple.com Third Party Advisory
- www.debian.org Third Party Advisory
- groups.google.com Third Party Advisory
- puppet.com Third Party Advisory