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

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:gem/activerecord"]}'