CVE-2022-32224
critical
CVSS v3
9.8
CVSS v2
—
VIR risk
9.8
Description
Active Record RCE bug with Serialized Columns
Predictions
Exploit likelihood
97%
Patch ETA
—
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2022-32224
Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2022-32224.html
Vendor advisory: rocky — https://errata.rockylinux.org/RLSA-2023:2097
Vendor advisory: support@hackerone.com — https://github.com/advisories/GHSA-3hhc-qp5v-9p2j
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| rocky | 8 | fixed | |
| sles | affected | | |
| debian | bookworm | fixed | 2:6.1.6.1+dfsg-1 |
| debian | bullseye | fixed | 2:6.0.3.7+dfsg-2+deb11u5 |
| debian | forky | fixed | 2:6.1.6.1+dfsg-1 |
| debian | sid | fixed | 2:6.1.6.1+dfsg-1 |
| debian | trixie | fixed | 2:6.1.6.1+dfsg-1 |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| RubyGems | activerecord | <~> 5.2.8, >= 5.2.8.1 | ~> 5.2.8, >= 5.2.8.1 |
| RubyGems | activerecord | >=7.0.0,<7.0.3.1 | 7.0.3.1 |
| RubyGems | activerecord | >=6.1.0,<6.1.6.1 | 6.1.6.1 |
| RubyGems | activerecord | >=6.0.0,<6.0.5.1 | 6.0.5.1 |
| RubyGems | activerecord | <5.2.8.1 | 5.2.8.1 |
| RUBYGEMS | activerecord | <= 5.2.8 | 5.2.8.1 |
| RUBYGEMS | activerecord | >= 6.0.0, <= 6.0.5 | 6.0.5.1 |
| RUBYGEMS | activerecord | >= 6.1.0, <= 6.1.6 | 6.1.6.1 |
| RUBYGEMS | activerecord | >= 7.0.0, <= 7.0.3 | 7.0.3.1 |
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| activerecord_project | activerecord | {"endExcluding":"5.2.8.1"} | 5.2.8.1 |
References
- https://groups.google.com/g/rubyonrails-security/c/MmFO3LYQE8U
- https://github.com/advisories/GHSA-3hhc-qp5v-9p2j
- https://lists.debian.org/debian-lts-announce/2026/05/msg00022.html
- https://errata.rockylinux.org/RLSA-2023:2097
- https://www.suse.com/security/cve/CVE-2022-32224.html
- https://nvd.nist.gov/vuln/detail/CVE-2022-32224
- https://github.com/rails/rails/commit/611990f1a6c137c2d56b1ba06b27e5d2434dcd6a
- https://discuss.rubyonrails.org/t/cve-2022-32224-possible-rce-escalation-bug-with-serialized-columns-in-active-record/81017
- https://github.com/rails/rails/commits/main/activerecord
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activerecord/CVE-2022-32224.yml
- https://security-tracker.debian.org/tracker/CVE-2022-32224
CWEs
CWE-502
Verify integrity in audit chain (admin only). AS-IS.