{"id":"CVE-2013-1854","aliases":["DEBIAN-CVE-2013-1854","DSA-2655-1","EUVD-2017-0155","GHSA-3crr-9vmg-864v","RHSA-2013:0699"],"status":"published","title":"Active Record Improper Input Validation","description":"The Active Record component in Ruby on Rails 2.3.x before 2.3.18, 3.1.x before 3.1.12, and 3.2.x before 3.2.13 processes certain queries by converting hash keys to symbols, which allows remote attackers to cause a denial of service via crafted input to a where method.","severity":{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-10","score":0.03504,"percentile":0.89279,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-20"],"published":"2013-03-19T22:00:00Z","modified":"2026-09-01T20:03:15Z","fixes":[{"ecosystem":"RubyGems","package":"activerecord","fixed_in":["2.3.18","3.1.12","3.2.13"],"sources":["ghsa","osv"]},{"ecosystem":"Debian:12","package":"rails","fixed_in":["2.3.14.1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"rails","fixed_in":["2.3.14.1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"rails","fixed_in":["2.3.14.1"],"sources":["osv"]},{"ecosystem":"Red Hat:openshift:1::el6","package":"ruby193-rubygem-activerecord","fixed_in":["1:3.2.8-6.el6"],"sources":["osv"]},{"ecosystem":"Red Hat:openshift:1::el6","package":"ruby193-rubygem-activerecord-doc","fixed_in":["1:3.2.8-6.el6"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"RubyGems","package":"activerecord","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.3.0"},{"fixed":"2.3.18"}]}]},{"source":"ghsa","ecosystem":"RubyGems","package":"activerecord","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.1.0"},{"fixed":"3.1.12"}]}]},{"source":"ghsa","ecosystem":"RubyGems","package":"activerecord","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.2.0"},{"fixed":"3.2.13"}]}]},{"source":"osv","ecosystem":"Debian:12","package":"rails","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.14.1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"rails","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.14.1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"rails","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.14.1"}]}]},{"source":"osv","ecosystem":"Debian:6.0","package":"rails","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.3.5-1.2+squeeze8"}]}],"versions":["2.3.5-1.2","2.3.5-1.2+squeeze0.1","2.3.5-1.2+squeeze1","2.3.5-1.2+squeeze2","2.3.5-1.2+squeeze3","2.3.5-1.2+squeeze4","2.3.5-1.2+squeeze4.1","2.3.5-1.2+squeeze5","2.3.5-1.2+squeeze6","2.3.5-1.2+squeeze7"],"bundled":6},{"source":"osv","ecosystem":"RubyGems","package":"activerecord","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.3.0"},{"fixed":"2.3.18"}]}],"versions":["2.3.10","2.3.11","2.3.12","2.3.14","2.3.15","2.3.16","2.3.17","2.3.2","2.3.3","2.3.4","2.3.5","2.3.6","2.3.7","2.3.8","2.3.8.pre1","2.3.9","2.3.9.pre"]},{"source":"osv","ecosystem":"RubyGems","package":"activerecord","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.1.0"},{"fixed":"3.1.12"}]}],"versions":["3.1.0","3.1.1","3.1.1.rc1","3.1.1.rc2","3.1.1.rc3","3.1.10","3.1.11","3.1.2","3.1.2.rc1","3.1.2.rc2","3.1.3","3.1.4","3.1.4.rc1","3.1.5","3.1.5.rc1","3.1.6","3.1.7","3.1.8","3.1.9"]},{"source":"osv","ecosystem":"RubyGems","package":"activerecord","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"3.2.0"},{"fixed":"3.2.13"}]}],"versions":["3.2.0","3.2.1","3.2.10","3.2.11","3.2.12","3.2.13.rc1","3.2.13.rc2","3.2.2","3.2.2.rc1","3.2.3","3.2.3.rc1","3.2.3.rc2","3.2.4","3.2.4.rc1","3.2.5","3.2.6","3.2.7","3.2.7.rc1","3.2.8","3.2.8.rc1","3.2.8.rc2","3.2.9","3.2.9.rc1","3.2.9.rc2","3.2.9.rc3"]},{"source":"osv","ecosystem":"Red Hat:openshift:1::el6","package":"ruby193-rubygem-activerecord","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:3.2.8-6.el6"}]}]},{"source":"osv","ecosystem":"Red Hat:openshift:1::el6","package":"ruby193-rubygem-activerecord-doc","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1:3.2.8-6.el6"}]}]}],"products":[{"vendor":"redhat","product":"enterprise_linux"},{"vendor":"rubyonrails","product":"rails"},{"vendor":"rubyonrails","product":"ruby_on_rails"}],"references":[{"url":"http://lists.opensuse.org/opensuse-updates/2013-04/msg00078.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","web"]},{"url":"http://lists.apple.com/archives/security-announce/2013/Oct/msg00006.html","tags":["vendor-advisory","x_refsource_APPLE","x_transferred","web"]},{"url":"http://lists.opensuse.org/opensuse-updates/2013-04/msg00070.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","web"]},{"url":"http://lists.opensuse.org/opensuse-updates/2013-04/msg00071.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","web"]},{"url":"http://support.apple.com/kb/HT5784","tags":["x_refsource_CONFIRM","x_transferred","web"]},{"url":"http://lists.apple.com/archives/security-announce/2013/Jun/msg00000.html","tags":["vendor-advisory","x_refsource_APPLE","x_transferred","web"]},{"url":"http://rhn.redhat.com/errata/RHSA-2014-1863.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","advisory","web"]},{"url":"http://lists.opensuse.org/opensuse-updates/2013-04/msg00075.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","web"]},{"url":"http://lists.opensuse.org/opensuse-updates/2013-04/msg00079.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","web"]},{"url":"https://groups.google.com/group/ruby-security-ann/msg/34e0d780b04308de?dmode=source\u0026output=gplain","tags":["mailing-list","x_refsource_MLIST","x_transferred","web"]},{"url":"http://rhn.redhat.com/errata/RHSA-2013-0699.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","advisory","web"]},{"url":"http://weblog.rubyonrails.org/2013/3/18/SEC-ANN-Rails-3-2-13-3-1-12-and-2-3-18-have-been-released/","tags":["x_refsource_CONFIRM","x_transferred","article"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2013-1854","tags":["advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2013:0699","tags":["web","advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2014:1863","tags":["web"]},{"url":"https://access.redhat.com/security/cve/CVE-2013-1854","tags":["web","report"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=921329","tags":["web","report"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activerecord/CVE-2013-1854.yml","tags":["web"]},{"url":"https://github.com/advisories/GHSA-3crr-9vmg-864v"},{"url":"https://security-tracker.debian.org/tracker/CVE-2013-1854","tags":["advisory"]},{"url":"http://weblog.rubyonrails.org/2013/3/18/SEC-ANN-Rails-3-2-13-3-1-12-and-2-3-18-have-been-released","tags":["web"]},{"url":"https://access.redhat.com/security/updates/classification/#moderate","tags":["article"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2013/rhsa-2013_0699.json","tags":["advisory"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2013-1854","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2013-1854","description":"The Active Record component in Ruby on Rails 2.3.x before 2.3.18, 3.1.x before 3.1.12, and 3.2.x before 3.2.13 processes certain queries by converting hash keys to symbols, which allows remote attackers to cause a denial of service via crafted input to a where method.","status":"published","published":"2013-03-19T22:00:00Z","modified":"2024-08-06T15:20:36.703Z","updated_at":"2026-11-02T14:34:58.193873Z"}],"euvd":[{"id":"EUVD-2017-0155","description":"The Active Record component in Ruby on Rails 2.3.x before 2.3.18, 3.1.x before 3.1.12, and 3.2.x before 3.2.13 processes certain queries by converting hash keys to symbols, which allows remote attackers to cause a denial of service via crafted input to a where method.","status":"published","published":"2013-03-19T22:00:00Z","modified":"2024-08-06T15:20:36Z","updated_at":"2026-11-03T01:56:40.540333Z"}],"ghsa":[{"id":"GHSA-3crr-9vmg-864v","title":"Active Record Improper Input Validation","description":"The Active Record component in Ruby on Rails 2.3.x before 2.3.18, 3.1.x before 3.1.12, and 3.2.x before 3.2.13 processes certain queries by converting hash keys to symbols, which allows remote attackers to cause a denial of service via crafted input to a where method.","status":"published","published":"2017-10-24T18:33:37Z","modified":"2023-08-25T23:15:32Z","cwes":["CWE-20"],"updated_at":"2026-11-02T14:37:00.680009Z"}],"nvd":[{"id":"CVE-2013-1854","description":"The Active Record component in Ruby on Rails 2.3.x before 2.3.18, 3.1.x before 3.1.12, and 3.2.x before 3.2.13 processes certain queries by converting hash keys to symbols, which allows remote attackers to cause a denial of service via crafted input to a where method.","status":"published","published":"2013-03-19T22:55:01Z","modified":"2026-06-16T23:52:14.9Z","cvss":[{"version":"2.0","score":5,"vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","level":"medium","assessor":"primary"}],"cwes":["CWE-20"],"updated_at":"2026-11-02T14:02:24.091325Z"}],"osv":[{"id":"CVE-2013-1854","description":"The Active Record component in Ruby on Rails 2.3.x before 2.3.18, 3.1.x before 3.1.12, and 3.2.x before 3.2.13 processes certain queries by converting hash keys to symbols, which allows remote attackers to cause a denial of service via crafted input to a where method.","status":"published","published":"2013-03-19T22:55:01Z","modified":"2026-04-10T03:43:19.064428Z","updated_at":"2026-11-02T15:43:58.802805Z"},{"id":"DEBIAN-CVE-2013-1854","description":"The Active Record component in Ruby on Rails 2.3.x before 2.3.18, 3.1.x before 3.1.12, and 3.2.x before 3.2.13 processes certain queries by converting hash keys to symbols, which allows remote attackers to cause a denial of service via crafted input to a where method.","status":"published","published":"2013-03-19T22:55:01Z","modified":"2026-09-01T20:03:15.03131183Z","updated_at":"2026-11-02T15:45:25.514579Z"},{"id":"DSA-2655-1","title":"rails - several","status":"published","published":"2013-03-28T00:00:00Z","modified":"2026-03-09T01:20:39.594301Z","updated_at":"2026-11-02T15:46:15.489951Z"},{"id":"GHSA-3crr-9vmg-864v","title":"Active Record Improper Input Validation","description":"The Active Record component in Ruby on Rails 2.3.x before 2.3.18, 3.1.x before 3.1.12, and 3.2.x before 3.2.13 processes certain queries by converting hash keys to symbols, which allows remote attackers to cause a denial of service via crafted input to a where method.","status":"published","published":"2017-10-24T18:33:37Z","modified":"2024-11-29T05:41:10.183721Z","cwes":["CWE-20"],"updated_at":"2026-11-02T15:46:35.747385Z"},{"id":"RHSA-2013:0699","title":"Red Hat Security Advisory: ruby193-rubygem-activerecord security update","status":"published","published":"2024-09-15T20:44:45Z","modified":"2026-01-29T10:55:18.78867Z","updated_at":"2026-11-02T15:53:01.993625Z"}]}}
