CVE-2022-32224: Active Record - Insecure Deserialization
- Cve: CVE-2022-32224
- Name: Active Record - Insecure Deserialization
- 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.
- Impact: Attackers able to manipulate database data can escalate to remote code execution, leading to full system compromise.
- Remediation: Update Active Record to version 7.0.3.1, 6.1.6.1, 6.0.5.1, or 5.2.8.1 or later versions.
- Vulnerability type: insecure_deserialization
- Vulnerability impact: remote_code_execution
- Requirement type: logged_in
- Requirements: Attacker needs to manipulate database data
- Labels source: projectdiscovery
- Severity: critical
- Cvss score: 9.8
- Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Epss score: 0.02614
- Epss percentile: 0.85816
- Assignee: [email protected]
- Published at: 2022-12-05T22:15:10Z
- Age in days: 1450
- Modified at: 2026-06-17T04:46:54Z
- Patch available: yes
- Public exploits total: 2
- References total: 3
- Products total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2022-32224
- Nvd status: modified
- Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd
Cwe
| Id | Name |
|---|---|
| CWE-502 | Deserialization of Untrusted Data |
Hackerone
- Reports: 1
- Rank: 5211
Public exploits
| Url | Source | Added date |
|---|---|---|
| https://groups.google.com/g/rubyonrails-security/c/MmFO3LYQE8U | nvd | 2022-12-05 |
| https://github.com/ooooooo-q/cve-2022-32224-rails | poc-in-github | 2022-07-17 |
References
Same in every row:
- Source: nvd
| Url | Tags |
|---|---|
| https://github.com/advisories/GHSA-3hhc-qp5v-9p2j | Patch, Third Party Advisory |
| https://groups.google.com/g/rubyonrails-security/c/MmFO3LYQE8U | Exploit, Mailing List, Third Party Advisory |
| https://lists.debian.org/debian-lts-announce/2026/05/msg00022.html |
Products
| Product | Affected | Platform bound | Sources | Url |
|---|---|---|---|---|
| activerecord_project: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 | no | nvd | /v1/products/activerecord_project/activerecord |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| rails/rails | commit, fix | yes | /v1/repositories/rails/rails |
Index
- Repositories: 76
- Repositories high signal: 18
- Packages: 1
Exploitation
- Public exploit: yes
- Public exploit count: 2
- Public exploit first date: 2022-07-17
- Remote: yes
- Hackerone reports: 1
- Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since, exposed hosts