Security mailing lists by PureSourceCode

CVE-2013-0155

MEDIUM 6.4CVSS 2.0

Active 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

SourceScored byVersionScoreVector / 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

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD rubyonrails rails
cpe:2.3:a:rubyonrails:rails:*:*:*:*:*:*:*:*
>= 3.2.0, < 3.2.11 3.2.11
NVD rubyonrails ruby_on_rails
cpe:2.3:a:rubyonrails:ruby_on_rails:*:*:*:*:*:*:*:*
>= 3.0.0, < 3.0.19 3.0.19
NVD rubyonrails ruby_on_rails
cpe:2.3:a:rubyonrails:ruby_on_rails:*:*:*:*:*:*:*:*
>= 3.1.0, < 3.1.10 3.1.10
NVD debian debian_linux
cpe: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

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)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.