actionpack allows bypass of database-query restrictions (GHSA-wpw7-wxjm-cw8r)
Published: 2017-10-24T18:33:36Z
Aliases: CVE-2013-6417
Severity: MODERATE · CWE: CWE-284

`actionpack/lib/action_dispatch/http/request.rb` in Ruby on Rails before 3.2.16 and 4.x before 4.0.2 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 that leverages (1) third-party Rack middleware or (2) custom Rack middleware.  NOTE: this vulnerability exists because of an incomplete fix for CVE-2013-0155.

Affected packages:
package: ecosystem: RubyGems
name: actionpack
ranges: type: ECOSYSTEM
events: introduced: 3.0.0
fixed: 3.2.16
package: ecosystem: RubyGems
name: actionpack
ranges: type: ECOSYSTEM
events: introduced: 4.0.0
fixed: 4.0.2