Live threats

All CVEs / Rubyonrails

CVE-2013-0155Rubyonrails Rails

Medium 6.4 No auth needed

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Rails.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow 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)

VendorProductVersions
rubyonrailsrails≥ 3.2.0 < 3.2.11
rubyonrailsruby_on_rails≥ 3.0.0 < 3.0.19
rubyonrailsruby_on_rails≥ 3.1.0 < 3.1.10
debiandebian_linux6.0

Official sources

References

Links published by the sources. Open them with care.