GitHub Advisoryadvisory · RubyGems

GHSA-pr3r-4wrp-r2pv ActiveRecord in Ruby on Rails allows database-query bypass

HIGH Published 2017-10-24 Modified 2023-07-04 Official page ↗
Aliases
CVE-2016-6317
Ecosystem
RubyGems
Packages
activerecord
Severity
High
CVSS vector
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weaknesses
CWE-284, CWE-476
Reviewed
2020-06-16

Affected packages

• RubyGems activerecord: >= 4.2.0, < 4.2.7.1 → fixed in 4.2.7.1

Description

Active 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

Alias · CVE (1)

  • 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… vulnerability

Weakness · CWE (2)

  • CWE-284 Improper Access Control weakness
  • CWE-476 NULL Pointer Dereference weakness

References