CVE-2016-6317

high
Published 2016-08-11 ยท Modified 2024-02-20
CVSS v3
7.5
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
7.5

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.

Predictions

Exploit likelihood
83%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

OS impact

suse SUSE Affected 1 release
VersionStatusFixed in
โ€” Affected โ€”
debian Debian Fixed 5 releases
VersionStatusFixed in
trixie Fixed 2:4.2.7.1-1
sid Fixed 2:4.2.7.1-1
forky Fixed 2:4.2.7.1-1
bullseye Fixed 2:4.2.7.1-1
bookworm Fixed 2:4.2.7.1-1

Package impact

EcosystemPackageVulnerableFixed
ruby RubyGemsactiverecord!< 4.2.0,!>= 5.0.0||<>= 4.2.7.1>= 4.2.7.1
ruby RubyGemsactiverecord>=4.2.0,<4.2.7.14.2.7.1

Application impact

VendorProductVersionsFixed
rubyonrailsrails4.2.0
rubyonrailsrails4.2.1
rubyonrailsrails4.2.2
rubyonrailsrails4.2.3
rubyonrailsrails4.2.4
rubyonrailsrails4.2.5
rubyonrailsrails4.2.5.1
rubyonrailsrails4.2.5.2
rubyonrailsrails4.2.6
rubyonrailsrails4.2.7

References

CWEs

CWE-284 CWE-476

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.