CVE-2022-44566: Activerecord Project Activerecord

High severity, CVSS 7.5. EPSS: 1.3% probability of exploitation activity in the next 30 days.

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.

What to do

The record states a fixed version for each range of affected versions. Update to the one for the range your version is in: a later release on another branch may not have the fix.

  • Activerecord Project Activerecord, before 6.1.7.1: fixed in 6.1.7.1
  • Activerecord Project Activerecord, from 7.0.0, before 7.0.4.1: fixed in 7.0.4.1

Affected products

Affected packages

Published 2023-02-09. Last modified 2026-10-24.