CVE-2016-6317: Rubyonrails Rails

High severity, CVSS 7.5. EPSS: 3.9% probability of exploitation activity in the next 30 days.

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.

What to do

No fixed version is stated in NVD's or the CNA's structured data. The description says "before 4.2.7.1"; check the vendor's advisory for the release that fixes it.

Affected products

  • Rubyonrails Rails: version 4.2.0 only; version 4.2.1 only; version 4.2.2 only; version 4.2.3 only; version 4.2.4 only; version 4.2.5 only; …

Affected packages

Published 2016-09-07. Last modified 2026-06-17.