{"id":"GHSA-3crr-9vmg-864v","summary":"Active Record Improper Input Validation","details":"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.","aliases":["CVE-2013-1854"],"modified":"2024-11-29T05:42:40.187360Z","published":"2017-10-24T18:33:37Z","database_specific":{"github_reviewed_at":"2020-06-16T20:54:54Z","nvd_published_at":"2013-03-19T22:55:00Z","cwe_ids":["CWE-20"],"severity":"MODERATE","github_reviewed":true},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2013-1854"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2013:0699"},{"type":"WEB","url":"https://access.redhat.com/errata/RHSA-2014:1863"},{"type":"WEB","url":"https://access.redhat.com/security/cve/CVE-2013-1854"},{"type":"WEB","url":"https://bugzilla.redhat.com/show_bug.cgi?id=921329"},{"type":"WEB","url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activerecord/CVE-2013-1854.yml"},{"type":"WEB","url":"https://groups.google.com/group/ruby-security-ann/msg/34e0d780b04308de?dmode=source&output=gplain"},{"type":"WEB","url":"http://lists.apple.com/archives/security-announce/2013/Jun/msg00000.html"},{"type":"WEB","url":"http://lists.apple.com/archives/security-announce/2013/Oct/msg00006.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-updates/2013-04/msg00070.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-updates/2013-04/msg00071.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-updates/2013-04/msg00075.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-updates/2013-04/msg00078.html"},{"type":"WEB","url":"http://lists.opensuse.org/opensuse-updates/2013-04/msg00079.html"},{"type":"WEB","url":"http://rhn.redhat.com/errata/RHSA-2013-0699.html"},{"type":"WEB","url":"http://rhn.redhat.com/errata/RHSA-2014-1863.html"},{"type":"WEB","url":"http://support.apple.com/kb/HT5784"},{"type":"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"}],"affected":[{"package":{"name":"activerecord","ecosystem":"RubyGems","purl":"pkg:gem/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"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2017/10/GHSA-3crr-9vmg-864v/GHSA-3crr-9vmg-864v.json"}},{"package":{"name":"activerecord","ecosystem":"RubyGems","purl":"pkg:gem/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"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2017/10/GHSA-3crr-9vmg-864v/GHSA-3crr-9vmg-864v.json"}},{"package":{"name":"activerecord","ecosystem":"RubyGems","purl":"pkg:gem/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"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2017/10/GHSA-3crr-9vmg-864v/GHSA-3crr-9vmg-864v.json"}}],"schema_version":"1.9.0"}