Skip to content

Commit

Permalink
fix Rails 7.0.3.1 loading user settings
Browse files Browse the repository at this point in the history
  • Loading branch information
pushcx committed Jul 20, 2022
1 parent b5c9332 commit 29ceb06
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions config/application.rb
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,10 @@ class Application < Rails::Application
config.generators do |g|
g.factory_bot false
end

# https://discuss.rubyonrails.org/t/cve-2022-32224-possible-rce-escalation-bug-with-serialized-columns-in-active-record/81017
# activerecord-typedstore needs:
config.active_record.yaml_column_permitted_classes = [ActiveSupport::HashWithIndifferentAccess]
end
end

Expand Down

0 comments on commit 29ceb06

Please sign in to comment.