Symbol DoS vulnerability in Active Record


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


When a hash is provided as the find value for a query, the keys of
the hash may be converted to symbols. Carefully crafted requests can
coerce `params[:name]` to return a hash, and the keys to that hash
may be converted to symbols. Ruby symbols are not garbage collected,
so an attacker can initiate a denial of service attack by creating a
large number of symbols.

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.18,~> 3.1.12,>= 3.2.13 ~> 3.0.0