Firstly, I want to thank Mr. Aaron Patterson for the topic: [CVE-2022-32224] Possible RCE escalation bug with Serialized Columns in Active Record
But I accidentally Find out an issue when I use Serialize :values, Array with the fixed version (220.127.116.11) Use Case: I got Psych::DisallowedClass: Tried to load unspecified class: Symbol when I serialize an array of hashes and each hash contains Symbol as a key or a value.
It also raises the same error when I retrieve the persisted data in DB (that I stored in the previous rails version - 6.0.5)
At the moment, I have no ideas to solve this problem (sorry because I’m just a rails newbie). Thanks everyone!