{"schemaVersion":3,"id":"CVE-2013-1854","aliases":["RHSA-2013:0699","DEBIAN-CVE-2013-1854","GHSA-3crr-9vmg-864v"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2013-03-19T22:00:00.000Z","modified":"2024-08-06T15:20:36.703Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5,"severity":"medium","version":"2.0","versionLabel":"v2.0","source":"NVD","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","computed":false,"selection":"backend-summary"},"metrics":[{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":5,"severity":"medium","vector":"AV:N/AC:L/Au:N/C:N/I:N/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.03504,"percentile":0.89034,"severity":"low","asOf":"2026-10-19T00:00:00.000Z","change":{"pp":0.06600000000000009,"baselineDate":"2026-09-19T00:00:00.000Z","baselineScore":0.03438},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.03438,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.03438,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.03438,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.03438,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.03438,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.03438,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.03438,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03438,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.03438,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.03438,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.03438,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.03438,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.03438,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.03438,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.03438,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03438,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03504,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03504,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03504,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03504,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.03504,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.03504,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.03504,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.03504,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.03504,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.03504,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.03504,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.03504,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.03504,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.03504,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.03504,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.03504,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.03504,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.03504,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.03504,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.03504,"percentile":0.89034}],"last30":[{"date":"2026-09-19T00:00:00.000Z","score":0.03438,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.03438,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03438,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.03438,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.03438,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.03438,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.03438,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.03438,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.03438,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.03438,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03438,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03504,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03504,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03504,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03504,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.03504,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.03504,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.03504,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.03504,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.03504,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.03504,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.03504,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.03504,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.03504,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.03504,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.03504,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.03504,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.03504,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.03504,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.03504,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.03504,"percentile":0.89034}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-20","name":"Improper Input Validation","description":"The product receives input or data, but it does\n        not validate or incorrectly validates that the input has the\n        properties that are required to process the data safely and\n        correctly.","type":"weakness","status":"Stable","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/20.html"}],"affected":[{"vendor":"debian","product":"rails","name":"rails","label":"rails","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/rails","purlType":"deb","versions":[{"text":"< 2.3.14.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.3.14.1","eol":null,"hubHref":null},{"vendor":"RubyGems","product":"activerecord","name":"activerecord","label":"activerecord","ecosystem":"RubyGems","cpePart":null,"purl":"pkg:gem/activerecord","purlType":"gem","versions":[{"text":"≥ 2.3.0, < 2.3.18","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.1.0, < 3.1.12","noFixRecorded":false,"fixedIn":null},{"text":"≥ 3.2.0, < 3.2.13","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.3.0, < 2.3.18 | ≥ 3.1.0, < 3.1.12 | ≥ 3.2.0, < 3.2.13","eol":null,"hubHref":null},{"vendor":"redhat","product":"enterprise_linux","name":"enterprise linux","label":"enterprise_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"6.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"6.0","eol":{"isEol":true,"eolDate":"2020-11-30T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"6","label":"6 (ELS)","eolFrom":"2020-11-30T00:00:00.000Z","isLts":true,"isMaintained":false,"latestVersion":"6.10"},"product":{"name":"rhel","label":"Red Hat Enterprise Linux","category":"os"}},"hubHref":"/vendor/redhat/enterprise_linux"},{"vendor":"redhat","product":"ruby193-rubygem-activerecord","name":"ruby193-rubygem-activerecord","label":"ruby193-rubygem-activerecord","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/ruby193-rubygem-activerecord","purlType":"rpm","versions":[{"text":"< 1:3.2.8-6.el6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1:3.2.8-6.el6","eol":null,"hubHref":null},{"vendor":"redhat","product":"ruby193-rubygem-activerecord-doc","name":"ruby193-rubygem-activerecord-doc","label":"ruby193-rubygem-activerecord-doc","ecosystem":"Red Hat","cpePart":null,"purl":"pkg:rpm/redhat/ruby193-rubygem-activerecord-doc","purlType":"rpm","versions":[{"text":"< 1:3.2.8-6.el6","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1:3.2.8-6.el6","eol":null,"hubHref":null},{"vendor":"rubyonrails","product":"rails","name":"rails","label":"rails","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"2.3.0","noFixRecorded":false,"fixedIn":null},{"text":"2.3.1","noFixRecorded":false,"fixedIn":null},{"text":"2.3.2","noFixRecorded":false,"fixedIn":null},{"text":"2.3.3","noFixRecorded":false,"fixedIn":null},{"text":"2.3.4","noFixRecorded":false,"fixedIn":null},{"text":"2.3.9","noFixRecorded":false,"fixedIn":null},{"text":"2.3.10","noFixRecorded":false,"fixedIn":null},{"text":"2.3.11","noFixRecorded":false,"fixedIn":null},{"text":"2.3.12","noFixRecorded":false,"fixedIn":null},{"text":"2.3.13","noFixRecorded":false,"fixedIn":null},{"text":"2.3.14","noFixRecorded":false,"fixedIn":null},{"text":"2.3.15","noFixRecorded":false,"fixedIn":null},{"text":"2.3.16","noFixRecorded":false,"fixedIn":null},{"text":"3.1.0","noFixRecorded":false,"fixedIn":null},{"text":"3.1.0:beta1","noFixRecorded":false,"fixedIn":null},{"text":"3.1.0:rc1","noFixRecorded":false,"fixedIn":null},{"text":"3.1.0:rc2","noFixRecorded":false,"fixedIn":null},{"text":"3.1.0:rc3","noFixRecorded":false,"fixedIn":null},{"text":"3.1.0:rc4","noFixRecorded":false,"fixedIn":null},{"text":"3.1.0:rc5","noFixRecorded":false,"fixedIn":null},{"text":"3.1.0:rc6","noFixRecorded":false,"fixedIn":null},{"text":"3.1.0:rc7","noFixRecorded":false,"fixedIn":null},{"text":"3.1.0:rc8","noFixRecorded":false,"fixedIn":null},{"text":"3.1.1","noFixRecorded":false,"fixedIn":null},{"text":"3.1.1:rc1","noFixRecorded":false,"fixedIn":null},{"text":"3.1.1:rc2","noFixRecorded":false,"fixedIn":null},{"text":"3.1.1:rc3","noFixRecorded":false,"fixedIn":null},{"text":"3.1.2","noFixRecorded":false,"fixedIn":null},{"text":"3.1.2:rc1","noFixRecorded":false,"fixedIn":null},{"text":"3.1.2:rc2","noFixRecorded":false,"fixedIn":null},{"text":"3.1.3","noFixRecorded":false,"fixedIn":null},{"text":"3.1.4","noFixRecorded":false,"fixedIn":null},{"text":"3.1.4:rc1","noFixRecorded":false,"fixedIn":null},{"text":"3.1.5","noFixRecorded":false,"fixedIn":null},{"text":"3.1.5:rc1","noFixRecorded":false,"fixedIn":null},{"text":"3.1.6","noFixRecorded":false,"fixedIn":null},{"text":"3.1.7","noFixRecorded":false,"fixedIn":null},{"text":"3.1.8","noFixRecorded":false,"fixedIn":null},{"text":"3.1.9","noFixRecorded":false,"fixedIn":null},{"text":"3.1.10","noFixRecorded":false,"fixedIn":null},{"text":"3.2.0","noFixRecorded":false,"fixedIn":null},{"text":"3.2.0:rc1","noFixRecorded":false,"fixedIn":null},{"text":"3.2.0:rc2","noFixRecorded":false,"fixedIn":null},{"text":"3.2.1","noFixRecorded":false,"fixedIn":null},{"text":"3.2.2","noFixRecorded":false,"fixedIn":null},{"text":"3.2.2:rc1","noFixRecorded":false,"fixedIn":null},{"text":"3.2.3","noFixRecorded":false,"fixedIn":null},{"text":"3.2.3:rc1","noFixRecorded":false,"fixedIn":null},{"text":"3.2.3:rc2","noFixRecorded":false,"fixedIn":null},{"text":"3.2.4","noFixRecorded":false,"fixedIn":null},{"text":"3.2.4:rc1","noFixRecorded":false,"fixedIn":null},{"text":"3.2.5","noFixRecorded":false,"fixedIn":null},{"text":"3.2.6","noFixRecorded":false,"fixedIn":null},{"text":"3.2.7","noFixRecorded":false,"fixedIn":null},{"text":"3.2.8","noFixRecorded":false,"fixedIn":null},{"text":"3.2.9","noFixRecorded":false,"fixedIn":null},{"text":"3.2.10","noFixRecorded":false,"fixedIn":null},{"text":"3.2.11","noFixRecorded":false,"fixedIn":null},{"text":"3.2.12","noFixRecorded":false,"fixedIn":null}],"versionsText":"2.3.0 | 2.3.1 | 2.3.2 | 2.3.3 | 2.3.4 | 2.3.9 | 2.3.10 | 2.3.11 | 2.3.12 | 2.3.13 | 2.3.14 | 2.3.15 | 2.3.16 | 3.1.0 | 3.1.0:beta1 | 3.1.0:rc1 | 3.1.0:rc2 | 3.1.0:rc3 | 3.1.0:rc4 | 3.1.0:rc5 | 3.1.0:rc6 | 3.1.0:rc7 | 3.1.0:rc8 | 3.1.1 | 3.1.1:rc1 | 3.1.1:rc2 | 3.1.1:rc3 | 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 | 3.1.10 | 3.2.0 | 3.2.0:rc1 | 3.2.0:rc2 | 3.2.1 | 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.8 | 3.2.9 | 3.2.10 | 3.2.11 | 3.2.12","eol":{"isEol":null,"eolDate":null,"matchMethod":"cpe","cycle":null,"product":{"name":"rails","label":"Ruby on Rails","category":"framework"}},"hubHref":"/vendor/rubyonrails/rails"},{"vendor":"rubyonrails","product":"ruby_on_rails","name":"ruby on rails","label":"ruby_on_rails","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"2.3.17","noFixRecorded":false,"fixedIn":null},{"text":"3.1.11","noFixRecorded":false,"fixedIn":null}],"versionsText":"2.3.17 | 3.1.11","eol":null,"hubHref":"/vendor/rubyonrails/ruby_on_rails"}],"affectedCount":7,"eol":{"hasEol":true,"count":1},"references":[{"url":"http://lists.opensuse.org/opensuse-updates/2013-04/msg00078.html","label":"lists.opensuse.org/opensuse-updates/2013-04/msg00078.html","hostname":"lists.opensuse.org","tags":["Vendor Advisory","X Refsource SUSE","WEB"]},{"url":"http://lists.apple.com/archives/security-announce/2013/Oct/msg00006.html","label":"lists.apple.com/archives/security-announce/2013/Oct/msg00006.html","hostname":"lists.apple.com","tags":["Vendor Advisory","X Refsource APPLE","WEB"]},{"url":"http://lists.opensuse.org/opensuse-updates/2013-04/msg00070.html","label":"lists.opensuse.org/opensuse-updates/2013-04/msg00070.html","hostname":"lists.opensuse.org","tags":["Vendor Advisory","X Refsource SUSE","WEB"]},{"url":"http://lists.opensuse.org/opensuse-updates/2013-04/msg00071.html","label":"lists.opensuse.org/opensuse-updates/2013-04/msg00071.html","hostname":"lists.opensuse.org","tags":["Vendor Advisory","X Refsource SUSE","WEB"]},{"url":"http://support.apple.com/kb/HT5784","label":"support.apple.com/kb/HT5784","hostname":"support.apple.com","tags":["X Refsource CONFIRM","WEB"]},{"url":"http://lists.apple.com/archives/security-announce/2013/Jun/msg00000.html","label":"lists.apple.com/archives/security-announce/2013/Jun/msg00000.html","hostname":"lists.apple.com","tags":["Vendor Advisory","X Refsource APPLE","WEB"]},{"url":"http://rhn.redhat.com/errata/RHSA-2014-1863.html","label":"rhn.redhat.com/errata/RHSA-2014-1863.html","hostname":"rhn.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","WEB"]},{"url":"http://lists.opensuse.org/opensuse-updates/2013-04/msg00075.html","label":"lists.opensuse.org/opensuse-updates/2013-04/msg00075.html","hostname":"lists.opensuse.org","tags":["Vendor Advisory","X Refsource SUSE","WEB"]},{"url":"http://lists.opensuse.org/opensuse-updates/2013-04/msg00079.html","label":"lists.opensuse.org/opensuse-updates/2013-04/msg00079.html","hostname":"lists.opensuse.org","tags":["Vendor Advisory","X Refsource SUSE","WEB"]},{"url":"https://groups.google.com/group/ruby-security-ann/msg/34e0d780b04308de?dmode=source&output=gplain","label":"groups.google.com/group/ruby-security-ann/msg/34e0d780b04308de?dmode=source&output=gplain","hostname":"groups.google.com","tags":["Mailing List","X Refsource MLIST","WEB"]},{"url":"http://rhn.redhat.com/errata/RHSA-2013-0699.html","label":"rhn.redhat.com/errata/RHSA-2013-0699.html","hostname":"rhn.redhat.com","tags":["Vendor Advisory","X Refsource REDHAT","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/","label":"weblog.rubyonrails.org/2013/3/18/SEC-ANN-Rails-3-2-13-3-1-12-and-2-3-18-have-been-released/","hostname":"weblog.rubyonrails.org","tags":["X Refsource CONFIRM"]},{"url":"https://access.redhat.com/errata/RHSA-2013:0699","label":"access.redhat.com/errata/RHSA-2013:0699","hostname":"access.redhat.com","tags":["Advisory","WEB"]},{"url":"https://access.redhat.com/security/updates/classification/#moderate","label":"access.redhat.com/security/updates/classification/","hostname":"access.redhat.com","tags":["ARTICLE"]},{"url":"https://bugzilla.redhat.com/show_bug.cgi?id=921329","label":"bugzilla.redhat.com/show_bug.cgi?id=921329","hostname":"bugzilla.redhat.com","tags":["REPORT","WEB"]},{"url":"https://security.access.redhat.com/data/csaf/v2/advisories/2013/rhsa-2013_0699.json","label":"security.access.redhat.com/data/csaf/v2/advisories/2013/rhsa-2013_0699.json","hostname":"security.access.redhat.com","tags":["Advisory"]},{"url":"https://access.redhat.com/security/cve/CVE-2013-1854","label":"access.redhat.com/security/cve/CVE-2013-1854","hostname":"access.redhat.com","tags":["REPORT","WEB"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2013-1854","label":"www.cve.org/CVERecord?id=CVE-2013-1854","hostname":"www.cve.org","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2013-1854","label":"nvd.nist.gov/vuln/detail/CVE-2013-1854","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2013-1854","label":"security-tracker.debian.org/tracker/CVE-2013-1854","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://access.redhat.com/errata/RHSA-2014:1863","label":"access.redhat.com/errata/RHSA-2014:1863","hostname":"access.redhat.com","tags":["WEB"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activerecord/CVE-2013-1854.yml","label":"github.com/rubysec/ruby-advisory-db/blob/master/gems/activerecord/CVE-2013-1854.yml","hostname":"github.com","tags":["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","label":"weblog.rubyonrails.org/2013/3/18/SEC-ANN-Rails-3-2-13-3-1-12-and-2-3-18-have-been-released","hostname":"weblog.rubyonrails.org","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":["DSA-2655-1"],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2013-03-19T22:00:00.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-06T15:20:36.703Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":21,"level":"low","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T23:23:13.780Z","stale":false,"partial":false}}