CVE-2022-32224
Activerecord Project Activerecord vulnerability
A possible escalation to RCE vulnerability exists when using YAML serialized columns in Active Record < 7.0.3.1, <6.1.6.1, <6.0.5.1 and <5.2.8.1 which could allow an attacker, that can manipulate data in the database (via means like SQL injection), the ability to escalate to an RCE.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Activerecord. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Activerecord Project Activerecord runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/advisories/GHSA-3hhc-qp5v-9p2j · Patch
- groups.google.com/g/rubyonrails-security/c/MmFO3LYQE8U · Exploit
- lists.debian.org/debian-lts-announce/2026/05/msg00022.html
- nvd.nist.gov/vuln/detail/CVE-2022-32224
- github.com/rails/rails/commit/611990f1a6c137c2d56b1ba06b27e5d2434dcd6a
- discuss.rubyonrails.org/t/cve-2022-32224-possible-rce-escalation-bug-with-serialized-colum
- github.com/rubysec/ruby-advisory-db/blob/master/gems/activerecord/CVE-2022-32224.yml
- nvd.nist.gov/vuln/detail/CVE-2022-32224
- cve.org/CVERecord?id=CVE-2022-32224
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.