Back
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…
High7.5EPSS 3.9%
- Published
- Updated
- Reserved
- Assigned by
- redhat
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.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.0 | High7.5 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
- EPSS (exploitation in 30 days)
- 3.9% · top 9.7% of all CVEs (3 Nov 2026)
Loading the EPSS history…
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 7.5.
Weakness
Affected products
n/a
- affected n/a
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- RubyGemsactiverecordGHSA-pr3r-4wrp-r2pv (opens in a new tab)
References (5)
- 92434 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- [oss-security] 20160811 [CVE-2016-6317] Unsafe Query Generation Risk in Active Record (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
- RHSA-2016:1855 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- http://weblog.rubyonrails.org/2016/8/11/Rails-5-0-0-1-4-2-7-2-and-3-2-22-3-have-been-released/ (opens in a new tab)x_refsource_CONFIRMx_transferred
- [ruby-security-ann] 20160811 [CVE-2016-6317] Unsafe Query Generation Risk in Active Record (opens in a new tab)mailing-listx_refsource_MLISTx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-pr3r-4wrp-r2pv (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://trackcve.app/cve/CVE-2016-6317)Record last updated .