Skip to main content
Public proof of conceptFix available

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?

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
  1. 2022-12-0522:15CVE publishedNVD

Versions per branch

NVD · OSV
Activerecord project activerecord
BranchAffectedFixed in
7.0≥ 7.0.0, < 7.0.3.17.0.3.1
6.1≥ 6.1.0, < 6.1.6.16.1.6.1
6.0≥ 6.0.0, < 6.0.5.16.0.5.1
5.2< 5.2.8.15.2.8.1

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/rails
    Affected
    • = 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

  • CVE-2022-32224 Red Hat Product Security8 products fixed

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

  • RHSA-2023:2097 Red Hat Product Security2 products fixed

    Red Hat Security Advisory: Satellite 6.13 Release

  • RHSA-2023:1151 Red Hat Product Security4 products fixed

    Red Hat Security Advisory: Satellite 6.11.5 Async Security Update

  • RHSA-2023:0261 Red Hat Product Security2 products fixed

    Red Hat Security Advisory: Satellite 6.12.1 Async Security Update

Full record on NVD

Fix

  1. Update Activerecord project activerecord to 7.0.3.1 · 6.1.6.1 · 6.0.5.1 · 5.2.8.1
  2. 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…
  3. 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
  4. 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

Detection

read 2026-11-01 01:02 UTC
Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

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?

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.

Is CVE-2022-32224 actively exploited?

A proof-of-concept exploit exists for CVE-2022-32224, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2022-32224?

CVE-2022-32224 has a CVSS v3 base score of 9.8 (Critical severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.

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

Sources for this record