All CVEs / Activerecord Project
CVE-2022-32224Activerecord Project Activerecord
Critical 9.8 No auth needed
Follow: this CVE · Activerecord Project · Activerecord Project Activerecord We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Activerecord.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| activerecord_project | activerecord | < 5.2.8.1 |
| activerecord_project | activerecord | ≥ 6.0.0 < 6.0.5.1 |
| activerecord_project | activerecord | ≥ 6.1.0 < 6.1.6.1 |
| activerecord_project | activerecord | ≥ 7.0.0 < 7.0.3.1 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- groups.google.com Exploit Mailing List Third Party Advisory
- lists.debian.org