CVE-2022-44566
Executive Summary
A denial‑of‑service flaw exists in ActiveRecord’s PostgreSQL adapter (versions <7.0.4.1 and <6.1.7.1). Supplying a value beyond the 64‑bit signed integer range causes the adapter to treat the target column as numeric. Integer‑to‑numeric comparisons trigger a slow sequential scan, potentially exhausting resources and denying service. The issue is not yet listed in CISA KEV.
Authoritative CVE Metadata
- CVSS Base Score: 7.5 (HIGH)
- Last Modified: 24-10-26
Original 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.