CVE-2016-6317
ActiveRecord in Ruby on Rails allows database-query bypass
7.5
HIGH
CVSS 3.1
EPSS 0.38%
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.
How to fix CVE-2016-6317
To remediate CVE-2016-6317, upgrade the affected package to a fixed version below.
- —upgrade to 2:4.2.7.1-1 or later
- —upgrade to 4.2.7.1 or later
Is CVE-2016-6317 being exploited?
Low — EPSS is 0.4%, meaning exploitation activity has not been observed at scale.
Affected packages (2)
- from 0, < 2:4.2.7.1-1
- >= 4.2.0, < 4.2.7.1
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |