CVE-2016-6317
publishedrubygem-activerecord: unsafe query generation in Active Record
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | redhat |
| Red Hat Enterprise Linux | RHEL-7 | rh-ror42-rubygem-actionpacknoarch | Advisory build | 1:4.2.6-3.el7 | RHSA-2016:1855 |
| Red Hat Enterprise Linux | RHEL-7 | rh-ror42-rubygem-actionpacksrc | Advisory build | 1:4.2.6-3.el7 | RHSA-2016:1855 |
| Red Hat Enterprise Linux | RHEL-7 | rh-ror42-rubygem-actionpack-docnoarch | Advisory build | 1:4.2.6-3.el7 | RHSA-2016:1855 |
| Red Hat Enterprise Linux | RHEL-7 | rh-ror42-rubygem-actionviewnoarch | Advisory build | 4.2.6-3.el7 | RHSA-2016:1855 |
| Red Hat Enterprise Linux | RHEL-7 | rh-ror42-rubygem-actionviewsrc | Advisory build | 4.2.6-3.el7 | RHSA-2016:1855 |
| Red Hat Enterprise Linux | RHEL-7 | rh-ror42-rubygem-actionview-docnoarch | Advisory build | 4.2.6-3.el7 | RHSA-2016:1855 |
| Red Hat Enterprise Linux | RHEL-7 | rh-ror42-rubygem-activerecordnoarch | Advisory build | 1:4.2.6-3.el7 | RHSA-2016:1855 |
Show 2 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | RHEL-7 | rh-ror42-rubygem-activerecordsrc | Advisory build | 1:4.2.6-3.el7 | RHSA-2016:1855 |
| Red Hat Enterprise Linux | RHEL-7 | rh-ror42-rubygem-activerecord-docnoarch | Advisory build | 1:4.2.6-3.el7 | RHSA-2016:1855 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | redhat · cna |
Weaknesses
1- n/a
References
5- RHSA-2016:1855 http://rhn.redhat.com/errata/RHSA-2016-1855.html
- http://weblog.rubyonrails.org/2016/8/11/Rails-5-0-0-1-4-2-7-2-and-3-2-22-3-have-been-released/
- [oss-security] 20160811 [CVE-2016-6317] Unsafe Query Generation Risk in Active Record http://www.openwall.com/lists/oss-security/2016/08/11/4
- 92434 http://www.securityfocus.com/bid/92434
- [ruby-security-ann] 20160811 [CVE-2016-6317] Unsafe Query Generation Risk in Active Record https://groups.google.com/forum/#%21topic/ruby-security-ann/WccgKSKiPZA
Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- c63eff2882eb758491e3e4ff1007ccabea1e0bf29580f5dbc8c2902ac85e6fd5
- Ingested
- 23 Sep 2026, 07:41:28 UTC
- Source record
- Official CVE record