Skip to content
Fencer Vulns
critical 9.8

CVE-2022-32224 in the critical feed json

Active Record RCE bug with Serialized Columns

published 2022-07-12 4 y ago modified 2026-07-08 4 mo ago also GHSA-3hhc-qp5v-9p2j , EUVD-2022-6218

cvss
9.8
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
2.6%
EPSS 2.6% chance of exploitation in 30 days, percentile 85%
public exploits
0
none known

Summary

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.

Patch / fix

  • rubygems activerecord 5.2.8.1, 6.0.5.1, 6.1.6.1, 7.0.3.1
  • activerecord_project activerecord 5.2.8.1, 6.0.5.1, 6.1.6.1, 7.0.3.1
  • rails Debian 14, Debian 13, Debian 12 2:6.1.6.1+dfsg-1

debian advisories DEBIAN-CVE-2022-32224

  • cjson satellite capsule 6.13, satellite 6.13 1.7.14-5.el8sat
  • foreman satellite utils 6.13, satellite capsule 6.13, satellite 6.13 3.5.1.14-1.el8sat
  • katello satellite capsule 6.13, satellite 6.13 4.7.0-1.el8sat
  • libsolv satellite capsule 6.13, satellite 6.13 0.7.22-4.el8pc
  • libcomps satellite capsule 6.13, satellite 6.13 0.1.18-4.el8pc
  • qpid-cpp satellite capsule 6.13, satellite 6.13 1.39.0-7.el8amq
  • qpid-qmf satellite capsule 6.13, satellite 6.13 1.39.0-7.el8amq
  • candlepin satellite 6.13 4.2.13-1.el8sat

red hat advisories RHSA-2023:2097RHSA-2023:0261RHSA-2023:1151

  • rubygem-activerecord-7.0 openSUSE Tumbleweed 7.0.8.6-1.3
  • rubygem-activerecord-7.0 openSUSE Tumbleweed 7.0.8.4-1.1
  • rubygem-activerecord-7.0 openSUSE Tumbleweed 7.0.3.1-1.1
  • ruby3.2-rubygem-activerecord-7.0 openSUSE Tumbleweed 7.0.4.3-1.1
  • rubygem-activerecord-5.2 Package Hub 15 SP4, openSUSE Leap 15.4 5.2.3-bp154.2.3.1

opensuse advisories openSUSE-SU-2025:15112-1openSUSE-SU-2024:14069-1openSUSE-SU-2024:12244-1openSUSE-SU-2024:12879-1openSUSE-SU-2023:0009-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2022-32224 updated cvss 8.5

activerecord: Possible RCE escalation bug with Serialized Columns in Active Record

  • Red Hat Satellite 6.11 for RHEL 7 tfm-rubygem-activerecord 6.0.6-2.el7sat Red Hat Satellite 6.11 for RHEL 8 rubygem-activerecord 6.0.6-2.el8sat
    fixed: vendor fix RHSA-2023:1151
  • Red Hat Satellite 6.12 for RHEL 8 rubygem-activerecord 6.0.6-2.el8sat
    fixed: vendor fix RHSA-2023:0261
  • Red Hat Satellite 6.13 for RHEL 8 rubygem-activerecord 6.1.7-1.el8sat
    fixed: vendor fix RHSA-2023:2097
  • Red Hat Satellite 6.11 for RHEL 7 candlepin 4.1.19-1.el7sat, foreman 3.1.1.26-1.el7sat, satellite 6.11.5-1.el7sat, foreman-cli 3.1.1.26-1.el7sat, foreman-ec2 3.1.1.26-1.el7sat, foreman-gce 3.1.1.26-1.el7sat, +37 more Red Hat Satellite 6.11 for RHEL 8 candlepin 4.1.19-1.el8sat, foreman 3.1.1.26-1.el8sat, satellite 6.11.5-1.el8sat, python-naya 1.1.1-1.1.el8pc, rubygem-rails 6.0.6-2.el8sat, foreman-cli 3.1.1.26-1.el8sat, +37 more Red Hat Satellite 6.12 for RHEL 8 candlepin 4.1.18-1.el8sat, foreman 3.3.0.18-1.el8sat, satellite 6.12.1-1.el8sat, rubygem-rails 6.0.6-2.el8sat, foreman-cli 3.3.0.18-1.el8sat, foreman-ec2 3.3.0.18-1.el8sat, +36 more Red Hat Satellite 6.13 for RHEL 8 cjson 1.7.14-5.el8sat, katello 4.7.0-1.el8sat, libsolv 0.7.22-4.el8pc, libcomps 0.1.18-4.el8pc, python-idna 3.3-2.el8pc, python-pbr 5.8.0-4.el8pc, +670 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
Proof of concept is public
Automatable
yes
Technical impact
total
Assessed
18 mo ago

Exploit prediction

2.60% chance of exploitation in the next 30 days, higher than 85% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • groups.google.com https://groups.google.com/g/rubyonrails-security/c/MmFO3LYQE8U referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CISA ADP 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CNA 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GitHub 3.1 9.8 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
rubygems activerecord
>=7.0.0, <7.0.3.1
>=6.1.0, <6.1.6.1
>=6.0.0, <6.0.5.1
<5.2.8.1
7.0.3.1
6.1.6.1
6.0.5.1
5.2.8.1

Affected products

  • n/a https://github.com/rails/rails

Classification

Weakness
  • CWE-502 Deserialization of Untrusted Data
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.