{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2013-0155","id":"CVE-2013-0155","title":"Active Record allows bypassing of database-query restrictions","description":"Ruby on Rails 3.0.x before 3.0.19, 3.1.x before 3.1.10, and 3.2.x before 3.2.11 does not properly consider differences in parameter handling between the Active Record component and the JSON implementation, which allows remote attackers to bypass intended database-query restrictions and perform NULL checks or trigger missing WHERE clauses via a crafted request, as demonstrated by certain \"[nil]\" va","descriptionLong":"Ruby on Rails 3.0.x before 3.0.19, 3.1.x before 3.1.10, and 3.2.x before 3.2.11 does not properly consider differences in parameter handling between the Active Record component and the JSON implementation, which allows remote attackers to bypass intended database-query restrictions and perform NULL checks or trigger missing WHERE clauses via a crafted request, as demonstrated by certain \"[nil]\" values, a related issue to CVE-2012-2660 and CVE-2012-2694.","published":"2013-01-13T22:00:00.000Z","updated":"2026-06-16T23:48:51.877Z","reserved":"2012-12-06T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"redhat","metric":{"version":"2.0","score":6.4,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:N","rating":"medium","source":"NVD"},"metrics":[{"version":"2.0","score":6.4,"vector":"AV:N/AC:L/Au:N/C:P/I:P/A:N","rating":"medium","source":"NVD"}],"rating":"medium","products":[],"affectedProducts":[{"vendor":"n/a","product":"n/a","defaultStatus":null,"versions":[{"status":"affected","version":"n/a"}],"platforms":[]}],"packages":[{"ecosystem":"RubyGems","name":"activerecord","purl":"pkg:gem/activerecord","ranges":[">=3.0.0 <3.0.19",">=3.1.0 <3.1.10",">=3.2.0 <3.2.11"],"fixed":["3.0.19","3.1.10","3.2.11"],"advisory":"GHSA-gppp-5xc5-wfpx"}],"cwes":["CWE-264","CWE-284"],"aliases":["GHSA-gppp-5xc5-wfpx"],"references":[{"url":"http://lists.opensuse.org/opensuse-updates/2013-12/msg00081.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","Mailing List","Third Party Advisory","advisory","article","web"]},{"url":"http://rhn.redhat.com/errata/RHSA-2013-0155.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","Third Party Advisory","advisory"]},{"url":"http://www.debian.org/security/2013/dsa-2609","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Third Party Advisory","advisory","web"]},{"url":"http://lists.opensuse.org/opensuse-updates/2014-01/msg00003.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","Mailing List","Third Party Advisory","advisory","article","web"]},{"url":"https://puppet.com/security/cve/cve-2013-0155","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory"]},{"url":"http://lists.opensuse.org/opensuse-updates/2013-12/msg00082.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","Mailing List","Third Party Advisory","advisory","article","web"]},{"url":"http://support.apple.com/kb/HT5784","tags":["x_refsource_CONFIRM","x_transferred","Third Party Advisory","advisory","web"]},{"url":"http://lists.apple.com/archives/security-announce/2013/Jun/msg00000.html","tags":["vendor-advisory","x_refsource_APPLE","x_transferred","Mailing List","Third Party Advisory","advisory","article","web"]},{"url":"http://lists.opensuse.org/opensuse-updates/2013-12/msg00079.html","tags":["vendor-advisory","x_refsource_SUSE","x_transferred","Mailing List","Third Party Advisory","advisory","article","web"]},{"url":"http://ics-cert.us-cert.gov/advisories/ICSA-13-036-01A","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","US Government Resource","advisory","web"]},{"url":"http://rhn.redhat.com/errata/RHSA-2013-0154.html","tags":["vendor-advisory","x_refsource_REDHAT","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://groups.google.com/group/rubyonrails-security/msg/bc6f13dafe130ee9?dmode=source&output=gplain","tags":["mailing-list","x_refsource_MLIST","x_transferred","Third Party Advisory","advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2013-0155","tags":["advisory"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activerecord/CVE-2013-0155.yml","tags":["web"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":null,"epss":0.08245,"epssPercentile":0.95007,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2013-0155","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2013-0155","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2013-0155","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-gppp-5xc5-wfpx","ok":true,"note":"GHSA-gppp-5xc5-wfpx"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2013-0155","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}