Live threats

All CVEs / Activerecord Project

CVE-2022-32224Activerecord Project Activerecord

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
2.7%
probability of exploitation in 30 days · percentile 87
Auth required
No
Published
Dec 5, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-502
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Activerecord.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
RubyGems activerecord ≥ 7.0.0 < 7.0.3.1 7.0.3.1 gem "activerecord", ">= 7.0.3.1"
RubyGems activerecord ≥ 6.1.0 < 6.1.6.1 6.1.6.1 gem "activerecord", ">= 6.1.6.1"
RubyGems activerecord ≥ 6.0.0 < 6.0.5.1 6.0.5.1 gem "activerecord", ">= 6.0.5.1"
RubyGems activerecord < 5.2.8.1 5.2.8.1 gem "activerecord", ">= 5.2.8.1"

Per OSV / GitHub Advisories (GHSA-3hhc-qp5v-9p2j). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
activerecord_projectactiverecord< 5.2.8.1
activerecord_projectactiverecord≥ 6.0.0 < 6.0.5.1
activerecord_projectactiverecord≥ 6.1.0 < 6.1.6.1
activerecord_projectactiverecord≥ 7.0.0 < 7.0.3.1

Official sources

References

Links published by the sources. Open them with care.