Ruby on Rails Active Record JSON Parameter Parsing Query Bypass


2017-06-16 20:03
CVE-2013-0155 ruby-activerecord-3.2
CVE-2013-0155 ruby-activerecord-2.3
CVE-2013-0155 rails
CVE-2013-0155 ruby-actionpack-3.2
2017-06-16 19:01
2017-04-01 19:10
2017-01-05 20:15


Ruby on Rails contains a flaw in the Active Record. The issue is due to an
error with the way the Active Record handles parameters combined with an
error during the parsing of the JSON parameters. This may allow a remote
attacker to bypass restrictions abd issue unexpected database queries with
"IS NULL" or empty where clauses, and forcing the query to unexpectedly check
for NULL or eliminate a WHERE clause.

Am I vulnerable?

The constraints below list the versions that this vulnerability is patched in, and versions that are unaffected. If a patch is ready but unrealeased, then it is pending.

Or, you can just let us figure it out for you! Appcanary continously monitor your installed packages, and tell you if any of them are vulnerable.

Sign up for monitoring

Affected package information

Package Patched in Unaffected in
activerecord ~> 2.3.16,~> 3.0.19,~> 3.1.10,>= 3.2.11 None