VDB
Sign up
MEDIUM

GHSA-gr44-7grc-37vq

ActiveRecord vulnerable to modification of protected model attributes

Quick fix

GHSA-gr44-7grc-37vq — activerecord: upgrade to the fixed version with the command below.

bundle update activerecord

Details

ActiveRecord in Ruby on Rails before 2.3.17, 3.1.x before 3.1.11, and 3.2.x before 3.2.12 allows remote attackers to bypass the `attr_protected` protection mechanism and modify protected model attributes via a crafted request.

Are you affected?

Enter the version of the package you're using.

Affected packages

RubyGems/activerecord
Introduced in: 0Fixed in: 2.3.17
Fixbundle update activerecord
RubyGems/activerecord
Introduced in: 3.1.0Fixed in: 3.1.11
Fixbundle update activerecord
RubyGems/activerecord
Introduced in: 3.2.0Fixed in: 3.2.12
Fixbundle update activerecord

References