NULL pointer dereference in Rubyonrails Rails
CVE-2016-6317
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N.
EPSS exploit prediction
EPSS 0.039, 90.4th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Rubyonrails Rails — versions 4.2.0, 4.2.1, 4.2.2
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- kavgan/vuln_test_repo_public_ruby_gemfile_cve-2016-6317 (last pushed 2017-08-10)
Also mentioned in 2 other repositories (appcanary/appcanary.rb, ARPSyndicate/cvemon). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- www.securityfocus.com/bid/92434 (vdb-entry)
- [oss-security] 20160811 [CVE-2016-6317] Unsafe Query Generation Risk in Active Record (mailing-list, Mailing List, Third Party Advisory)
- RHSA-2016:1855 (vendor-advisory)
- weblog.rubyonrails.org/2016/8/11/Rails-5-0-0-1-4-2-7-2-and-3-2-22-3-have-been-r… (Release Notes)
- [ruby-security-ann] 20160811 [CVE-2016-6317] Unsafe Query Generation Risk in Active Record (mailing-list)
This CVE has public exploit evidence. See the latest CVEs with public exploits.