CVE-2022-32224
A public proof of concept exists; no exploitation attested.
- Published2022-12-05
- Fixed in7.0.3.1 · 6.1.6.1 · 6.0.5.1 · 5.2.8.1
- WeaknessCWE-502
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
Description
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.
Timeline
dates in UTC- 2022-12-0522:15CVE publishedNVD
Versions per branch
NVD · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 7.0 | ≥ 7.0.0, < 7.0.3.1 | 7.0.3.1 | NVD · OSV |
| 6.1 | ≥ 6.1.0, < 6.1.6.1 | 6.1.6.1 | NVD · OSV |
| 6.0 | ≥ 6.0.0, < 6.0.5.1 | 6.0.5.1 | NVD · OSV |
| 5.2 | < 5.2.8.1 | 5.2.8.1 | NVD · OSV |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As hackerone, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- https://github.com/rails/railsAffected
- = 7.0.3.1, 6.1.6.1, 6.0.5.1, 5.2.8.1no fix stated
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2022-12-05
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- ansible-collection-redhat-satelliteRed Hat:satellite:6.13::el8all versions · fixed in 0:3.9.0-2.el8sat
- ansible-collection-redhat-satellite_operationsRed Hat:satellite:6.13::el8all versions · fixed in 0:1.3.0-2.el8sat
- ansible-lintRed Hat:satellite:6.13::el8all versions · fixed in 0:5.0.8-4.el8pc
- ansible-runnerRed Hat:satellite:6.13::el8all versions · fixed in 0:2.2.1-3.el8satand 1 other package
- ansiblerole-foreman_scap_clientRed Hat:satellite:6.13::el8all versions · fixed in 0:0.2.0-2.el8sat
- ansiblerole-insights-clientRed Hat:satellite:6.13::el8all versions · fixed in 0:1.7.1-2.el8sat
- candlepinRed Hat:satellite:6.13::el8all versions · fixed in 0:4.2.13-1.el8satand 2 other packages
- candlepinRed Hat:satellite:6.12::el8all versions · fixed in 0:4.1.18-1.el8satand 1 other package
486 more package ranges on OSV.dev
Vendor advisories
activerecord: Possible RCE escalation bug with Serialized Columns in Active Record
Red Hat Security Advisory: Satellite 6.13 Release
Red Hat Security Advisory: Satellite 6.11.5 Async Security Update
Red Hat Security Advisory: Satellite 6.12.1 Async Security Update
Fix
- Update Activerecord project activerecord to 7.0.3.1 · 6.1.6.1 · 6.0.5.1 · 5.2.8.1
- Vendor fix Red Hat Product Security RHSA-2023:2097 · 2 productsFor Red Hat Satellite 6.13, see the following documentation for the release. https://access.redhat.com/documentation/en-us/red_hat_satellite/6.13 The important instructions on how to upgrade are available below. https://access.redhat.com/documentation/en-us/red_hat_satellite/6.13/html/upgrading_an…
- Vendor fix Red Hat Product Security RHSA-2023:1151 · 4 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For details on how to apply this update, refer to: https://access.redhat.com/articles/11258
- Workaround from the vendor Red Hat Product Security RHSA-2023:2097 · 1,938 productsMitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.
Advisories and patches
- github.comPatch
Detection
read 2026-11-01 01:02 UTC- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- CISA-ADP (SSVC)PoC stated2025-04-24
- PoC-in-GitHub1 repository, unverifiedknown since 2026-11-01ooooooo-q/cve-2022-32224-rails
- Metasploit modules
- none listed Metasploit Framework
Sources
- CISA-ADPSSVC decisionpoc2025-04-24
- CISA-ADPCVSS 3.19.82025-04-24
- NVDCVSS 3.19.8read 2026-10-23
- CNAweakness (CWE)CWE-502known since 2026-10-23
- NVDweakness (CWE)CWE-502read 2026-10-23
- FIRST EPSSEPSS score3.4 %2026-12-03
- PoC-in-GitHubproof of concept1known since 2026-11-01
- OSVaffected packages—
- GitHub AdvisoriesadvisoryCritical2022-07-12
Identifiers
- EUVD-2022-6218same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-3hhc-qp5v-9p2jsame flawGitHub Advisory Database · CC-BY-4.0
- DLA-4578-1advisory covering several CVEsDebian · LicenseRef-unstated
- openSUSE-SU-2023:0009-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:12244-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:12879-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:14069-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2025:15112-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- RHSA-2023:0261advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2023:1151advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2023:2097advisory covering several CVEsRed Hat · CC-BY-4.0
Technical details
- CVSS v3 vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Published
- 2022-12-05
- Last modified
- 2026-06-17
- NVD status
- Modified
- GitHub advisory
- GHSA-3hhc-qp5v-9p2j
Frequently asked questions
What is CVE-2022-32224?
Is CVE-2022-32224 actively exploited?
What is the CVSS score for CVE-2022-32224?
Running activerecord? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website checks · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-3hhc-qp5v-9p2j
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- PoC-in-GitHub · CC0-1.0
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0