VDB
Sign up
HIGH

GHSA-9rf5-jm6f-2fmm

Active Record subject to strong parameters protection bypass

Quick fix

GHSA-9rf5-jm6f-2fmm — activerecord: upgrade to the fixed version with the command below.

bundle update activerecord

Details

`activerecord/lib/active_record/relation/query_methods.rb` in Active Record in Ruby on Rails 4.0.x before 4.0.9 and 4.1.x before 4.1.5 allows remote attackers to bypass the strong parameters protection mechanism via crafted input to an application that makes `create_with` calls.

Are you affected?

Enter the version of the package you're using.

Affected packages

RubyGems/activerecord
Introduced in: 4.0.0Fixed in: 4.0.9
Fixbundle update activerecord
RubyGems/activerecord
Introduced in: 4.1.0Fixed in: 4.1.5
Fixbundle update activerecord

References