High severity7.5NVD Advisory· Published Sep 7, 2016· Updated May 6, 2026
CVE-2016-6317
CVE-2016-6317
Description
Action Record in Ruby on Rails 4.2.x before 4.2.7.1 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, CVE-2012-2694, and CVE-2013-0155.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
activerecordRubyGems | >= 4.2.0, < 4.2.7.1 | 4.2.7.1 |
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
11- www.openwall.com/lists/oss-security/2016/08/11/4nvdMailing ListThird Party AdvisoryWEB
- github.com/advisories/GHSA-pr3r-4wrp-r2pvghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2016-6317ghsaADVISORY
- rhn.redhat.com/errata/RHSA-2016-1855.htmlnvdWEB
- weblog.rubyonrails.org/2016/8/11/Rails-5-0-0-1-4-2-7-2-and-3-2-22-3-have-been-releasedghsaWEB
- weblog.rubyonrails.org/2016/8/11/Rails-5-0-0-1-4-2-7-2-and-3-2-22-3-have-been-released/nvdRelease Notes
- github.com/rubysec/ruby-advisory-db/blob/master/gems/activerecord/CVE-2016-6317.ymlghsaWEB
- groups.google.com/forum/ghsaWEB
- groups.google.com/forum/ghsaWEB
- www.securityfocus.com/bid/92434nvd
- groups.google.com/forum/nvd
News mentions
0No linked articles in our index yet.