CVE-2022-44566 — Denial of Service Vulnerability in activerecord —...
Denial of Service Vulnerability in ActiveRecord's PostgreSQL adapter
Summary
Advisory Timeline
- First published January 18, 2023 (1363 days ago).
- Last revised February 3, 2026 — 1111 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
gem install activerecord -v 7.0.4.1
gem install activerecord -v 6.1.7.1
After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.
Affected Packages (2)
Affects 1 ecosystem: rubygems (1).
| Package | Ecosystem | Affected | Fixed In |
|---|---|---|---|
| activerecord | rubygems | 7.0.0, 7.0.1, 7.0.2, 7.0.2.1 (+6 more) | 7.0.4.1 |
| activerecord | rubygems | 1.0.0, 1.1.0, 1.10.0, 1.10.1 (+416 more) | 6.1.7.1 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-400Uncontrolled Resource ConsumptionMITRE
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 7.5 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://nvd.nist.gov/vuln/detail/CVE-2022-44566ADVISORY
- https://github.com/rails/rails/commit/4f44aa9d514e701ada92b5cf08beccf566eeaebfWEB
- https://github.com/rails/rails/commit/82bcdc011e2ff674e7dd8fd8cee3a831c908d29bWEB
- https://code.jeremyevans.net/2022-11-01-forcing-sequential-scans-on-postgresql.htmlWEB
- https://discuss.rubyonrails.org/t/cve-2022-44566-possible-denial-of-service-vulnerability-in-activerecords-postgresql-adapter/82119WEB
- https://github.com/rails/railsPACKAGE
- https://github.com/rails/rails/releases/tag/v6.1.7.1WEB
- https://github.com/rails/rails/releases/tag/v7.0.4.1WEB
- https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activerecord/CVE-2022-44566.ymlWEB
- https://mailchi.mp/railslts/rails-lts-multiple-dos-vulnerabilities-in-rails-rack-and-globalidWEB
- https://makandracards.com/railslts/508019-rails-5-2-lts-changelog#section-jan-20th-2023-rails-version-5-2-8-15WEB
- https://rubyonrails.org/2023/1/17/Rails-Versions-6-0-6-1-6-1-7-1-7-0-4-1-have-been-releasedWEB
Frequently Asked Questions
- What is CVE-2022-44566?
- Denial of Service Vulnerability in ActiveRecord's PostgreSQL adapter This vulnerability has been assigned a severity rating of HIGH (CVSS score: 7.5/10).
- How do I check if my project is affected by CVE-2022-44566?
- CVE-2022-44566 affects activerecord. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2022-44566 and 200,000+ other known vulnerabilities.
Severity & Exploitability
High exploitability or significant impact. Prioritize remediation within days.
Also Known As
Related CVEs
- CVE-2022-32224CRITICAL
Active Record RCE bug with Serialized Columns
- CVE-2013-3221CRITICAL
Active Record component in Ruby on Rails has a data-type injection vulnerability
- CVE-2026-94462HIGH
Spree: Broken Access Control in `PATCH /api/v3/store/carts/:id/associate` (IDOR)
- CVE-2021-22880HIGH
Active Record subject to Regular Expression Denial-of-Service (ReDoS)
- CVE-2023-22794HIGH
SQL Injection Vulnerability via ActiveRecord comments
- CVE-2016-6317HIGH
ActiveRecord in Ruby on Rails allows database-query bypass
- CVE-2026-77601HIGH
OpenC3 COSMOS: Authenticated OS command injection via the `pypi_url` setting
- CVE-2025-55193MEDIUM
Active Record logging vulnerable to ANSI escape injection
Check if you're affected
Scan your dependencies to see if this vulnerability affects your projects.
Scan Your Dependencies