Skip to content
FlawDB
Sign in
Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

CVE-2022-44566

HIGH 7.5PoCEPSS 71%

Denial of Service Vulnerability in ActiveRecord's PostgreSQL adapter

Also known as GHSA-579w-22j4-4749

Mitigation

  • Upgrade activerecord to one of 6.1.7.1, 7.0.4.1 (or later in the same release line).

Who should check

  • Projects that depend on RubyGems package activerecord (< 6.1.7.1)
  • Anyone running https://github.com/rails/rails 7.0.4.1, 6.1.7.1

Vulnerability facts

Affected
activerecord < 6.1.7.1
Fixed in
6.1.7.1, 7.0.4.1
Exploited in the wild
Not in CISA KEV
Public exploit / PoC
Yes: see the exploit references below
Remote exploitation
Remote, no login needed
CVSS
7.5 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
  • Attack vector: Network
  • Attack complexity: Low
  • Privileges required: None
  • User interaction: None
  • Scope: Unchanged
  • Confidentiality impact: None
  • Integrity impact: None
  • Availability impact: High
EPSS
1.34% chance of exploitation in 30 days (percentile 71, 2026-11-26)
CWE
CWE-400
Published
Modified

Description

A denial of service vulnerability present in ActiveRecord's PostgreSQL adapter <7.0.4.1 and <6.1.7.1. When a value outside the range for a 64bit signed integer is provided to the PostgreSQL connection adapter, it will treat the target column type as numeric. Comparing integer values against numeric values can result in a slow sequential scan resulting in potential Denial of Service.

Affected and fixed versions

Package / productAffectedFixedSource
RubyGems activerecord< 6.1.7.16.1.7.1, 7.0.4.1osv
https://github.com/rails/rails7.0.4.1, 6.1.7.1—cvelist

Check your systems with an agent

Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.

Check whether anything I run is affected by CVE-2022-44566. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2022-44566.md
Affected: activerecord < 6.1.7.1
Fixed in: 6.1.7.1, 7.0.4.1

Steps:
1. Search this machine and project for activerecord (RubyGems), https://github.com/rails/rails: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.

References

FAQ

Is CVE-2022-44566 being exploited?

There is no confirmed exploitation: CVE-2022-44566 is not in the CISA Known Exploited Vulnerabilities catalog. Public exploit code or a proof of concept is available. EPSS estimates a 1.34% chance of exploitation in the next 30 days (as of 2026-11-26).

How serious is CVE-2022-44566?

High: CVSS 7.5 (v3.1, scored by CNA). Remote, no login needed.

Which versions are affected by CVE-2022-44566?

activerecord < 6.1.7.1.

Is there a fix for CVE-2022-44566?

Yes. Fixed in 6.1.7.1, 7.0.4.1. Upgrade activerecord to one of 6.1.7.1, 7.0.4.1 (or later in the same release line).

How do I check if I'm affected by CVE-2022-44566?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

Sponsors