Vulnerabilityin the activerecord package.
Proof of concept public (GitHub).
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.
- Upgrade activerecord (RubyGems) to 4.2.7.1 or later.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 26 Jul 2016CVE ID reserved by redhat.
- 7 Sep 2016Published in the CVE List.
- 26 Sep 2017First public proof of concept on GitHub.
- 6 Aug 2024CVE record last updated.
Attack code anyone can find
Exploit maturity: Proof of concept (GitHub).
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Other vulnerabilities in this package
- www.securityfocus.com vdb-entry, x_refsource_BID
- www.openwall.com mailing-list, x_refsource_MLIST
- rhn.redhat.com vendor-advisory, x_refsource_REDHAT
- weblog.rubyonrails.org x_refsource_CONFIRM
- groups.google.com mailing-list, x_refsource_MLIST
Patchminder. CVE-2016-6317: Vulnerability in the activerecord package. https://patchminder.com/cve/cve-2016-6317/ (accessed 5 December 2026).