Live threats

All CVEs / Activerecord Project

CVE-2022-44566Activerecord Project Activerecord

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.3%
probability of exploitation in 30 days · percentile 71
Auth required
No
Published
Feb 9, 2023
Updated
Oct 24, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-400
SSVC (CISA)
Exploitation: proof of concept · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Activerecord.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
RubyGems activerecord < 6.1.7.1 6.1.7.1 gem "activerecord", ">= 6.1.7.1"
RubyGems activerecord ≥ 7.0.0 < 7.0.4.1 7.0.4.1 gem "activerecord", ">= 7.0.4.1"

Per OSV / GitHub Advisories (GHSA-579w-22j4-4749). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
activerecord_projectactiverecord< 6.1.7.1
activerecord_projectactiverecord≥ 7.0.0 < 7.0.4.1

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.