activerecord Known Vulnerabilities & Fixes
activerecord has 7 known security vulnerabilities in RubyGems (Ruby). Upgrade to version 8.0.2.1 or later to resolve all known issues. Data sourced from OSV, enriched with EPSS exploit probability and CISA KEV.
Low Immediate Risk
No actively exploited vulnerabilities detected. Monitor and update in your next maintenance window.
Recommended safe version: 8.0.2.1
Upgrading to 8.0.2.1 or later resolves all 7 known vulnerabilities in activerecord. Run: gem install activerecord -v 8.0.2.1
Is activerecord in your project?
Check if you're affected and upgrade to 8.0.2.1 to stay secure.
Security Summary
- 17 affected version ranges have been identified across these 7 advisories.
- 100% of known issues have a published fixed version.
- Remediation: gem update activerecord
Vulnerabilities
7 unique vulnerabilities — sorted by exploitation risk (KEV → EPSS → CVSS). Click a CVE/GHSA ID for full details. First disclosed Oct 24, 2017, most recently Aug 13, 2025 (2850 days apart).
| CVE / GHSA | Severity | Affected | Fixed In |
|---|---|---|---|
| CVE-2022-32224 Active Record RCE bug with Serialized Columns | CRITICAL | 7.0.0, 7.0.1, 7.0.2, 7.0.2.1 (+411 more) | 7.0.3.1, 6.1.6.1, 6.0.5.1 (+1 more) |
| CVE-2013-3221 Active Record component in Ruby on Rails has a data-type injection vulnerability | CRITICAL | 1.0.0, 1.1.0, 1.10.0, 1.10.1 (+251 more) | 4.2.0 |
| CVE-2023-22794 SQL Injection Vulnerability via ActiveRecord comments | HIGH | 6.0.0, 6.0.1, 6.0.1.rc1, 6.0.2 (+55 more) | 6.0.6.1, 6.1.7.1, 7.0.4.1 |
| CVE-2022-44566 Denial of Service Vulnerability in ActiveRecord's PostgreSQL adapter | HIGH | 1.0.0, 1.1.0, 1.10.0, 1.10.1 (+426 more) | 6.1.7.1, 7.0.4.1 |
| CVE-2021-22880 Active Record subject to Regular Expression Denial-of-Service (ReDoS) | HIGH | 5.0.0, 5.0.0.1, 5.0.1, 5.0.1.rc1 (+70 more) | 5.2.4.5, 6.0.3.5, 6.1.2.1 |
| CVE-2016-6317 ActiveRecord in Ruby on Rails allows database-query bypass | HIGH | 4.2.0, 4.2.1, 4.2.1.rc1, 4.2.1.rc2 (+16 more) | 4.2.7.1 |
| CVE-2025-55193 Active Record logging vulnerable to ANSI escape injection | MEDIUM | 8.0.0, 8.0.0.1, 8.0.1, 8.0.2 (+486 more) | 8.0.2.1, 7.2.2.2, 7.1.5.2 |
About This Data
Vulnerability data for activerecord is sourced from the Open Source Vulnerability (OSV) database, aggregating reports from GitHub Advisory Database, NIST NVD, and ecosystem-specific sources.
CVSS (Common Vulnerability Scoring System) scores reflect exploitability and impact. EPSS (Exploit Prediction Scoring System) scores indicate the probability of exploitation within the next 30 days. Vulnerabilities marked with are listed in the CISA Known Exploited Vulnerabilities (KEV) catalog.
Related RubyGems (Ruby) Packages
Other packages in this ecosystem, ranked by shared vulnerabilities where available.
Check Your Dependencies
Scan your project to check if you're using a vulnerable version of activerecord.