We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
We get an error with rails 7.0.3.1. Downgrading to rails 7.0.3 fixes the error.
The error is: Psych::DisallowedClass: Tried to load unspecified class: Symbol
Psych::DisallowedClass: Tried to load unspecified class: Symbol
steps to reproduce:
errors = ActiveModel::Errors.new(model) errors.add(:attribute, :blank) errors[:attribute]
another workaround:
config.active_record.yaml_column_permitted_classes = [Symbol, Date, Time]
seems to be caused by https://discuss.rubyonrails.org/t/cve-2022-32224-possible-rce-escalation-bug-with-serialized-columns-in-active-record/81017
The text was updated successfully, but these errors were encountered:
Thanks for reporting the issue
I think the only thing we can do now is to wait once the issue will be fixed in Rails. In the meantime, we should use the provided workaround
Sorry, something went wrong.
No branches or pull requests
We get an error with rails 7.0.3.1. Downgrading to rails 7.0.3 fixes the error.
The error is:
Psych::DisallowedClass: Tried to load unspecified class: Symbol
steps to reproduce:
another workaround:
seems to be caused by https://discuss.rubyonrails.org/t/cve-2022-32224-possible-rce-escalation-bug-with-serialized-columns-in-active-record/81017
The text was updated successfully, but these errors were encountered: