Skip to content
Fencer Vulns
high 7.5

CVE-2022-44566 json

Denial of Service Vulnerability in ActiveRecord's PostgreSQL adapter

published 2023-01-18 3 y ago modified 2026-10-24 15 d ago also GHSA-579w-22j4-4749 , EUVD-2023-0336

cvss
7.5
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
1.3%
EPSS 1.3% chance of exploitation in 30 days, percentile 69%
public exploits
0
none known

Summary

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.

Patch / fix

  • rubygems activerecord 6.1.7.1, 7.0.4.1
  • activerecord_project activerecord 6.1.7.1, 7.0.4.1
  • rails Debian 14, Debian 13, Debian 12 2:6.1.7.3+dfsg-1

debian advisories DEBIAN-CVE-2022-44566

  • foreman satellite utils 6.14, satellite capsule 6.14, satellite 6.14 3.7.0.9-1.el8sat
  • foreman-cli satellite utils 6.14, satellite 6.14 3.7.0.9-1.el8sat
  • foreman-ec2 satellite 6.14 3.7.0.9-1.el8sat
  • rubygem-git satellite 6.14 1.18.0-1.el8sat
  • puppet-agent satellite capsule 6.14, satellite 6.14 7.26.0-3.el8sat
  • puppetserver satellite capsule 6.14, satellite 6.14 7.11.0-1.el8sat
  • rubygem-rack satellite capsule 6.14, satellite 6.14 2.2.7-1.el8sat
  • foreman-ovirt satellite 6.14 3.7.0.9-1.el8sat

red hat advisories RHSA-2023:6818

  • rubygem-activerecord-4_2 OpenStack Cloud Crowbar 9, OpenStack Cloud Crowbar 8 4.2.9-6.12.1
  • rubygem-activerecord-4_2 OpenStack Cloud Crowbar 9, OpenStack Cloud Crowbar 8 4.2.9-6.9.1
  • rubygem-activerecord-5_1 SLE High Availability Extension 15 SP4, SLE High Availability Extension 15 SP3, SLE High Availability Extension 15 SP2 +2 more 5.1.4-150000.5.6.1

suse advisories SUSE-SU-2023:0587-1SUSE-SU-2023:0518-1SUSE-SU-2023:0492-1

  • rubygem-activerecord-7.0 openSUSE Tumbleweed 7.0.8.6-1.3
  • rubygem-activerecord-7.0 openSUSE Tumbleweed 7.0.8.4-1.1
  • rubygem-activerecord-7.0 openSUSE Tumbleweed 7.0.4.1-1.1

opensuse advisories openSUSE-SU-2025:15112-1openSUSE-SU-2024:14069-1openSUSE-SU-2024:12766-1

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2022-44566 updated cvss 6.5

rubygem-activerecord: Denial of Service

  • Red Hat Satellite 6.14 for RHEL 8 rubygem-activerecord 6.1.7.3-1.el8sat
    fixed: vendor fix RHSA-2023:6818
  • Red Hat Satellite 6.14 for RHEL 8 cjson 1.7.14-5.el8sat, katello 4.9.0-1.el8sat, libsolv 0.7.22-4.el8pc, libcomps 0.1.18-4.el8pc, python-idna 3.3-2.el8pc, candlepin 4.3.1-1.el8sat, +668 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
Proof of concept is public
Automatable
yes
Technical impact
partial
Assessed
19 mo ago

Exploit prediction

1.26% chance of exploitation in the next 30 days, higher than 69% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • code.jeremyevans.net https://code.jeremyevans.net/2022-11-01-forcing-sequential-scans-on-postgresql.html referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CISA ADP 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CNA 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHub 3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Affected packages

ecosystem package affected fixed in
rubygems activerecord
<6.1.7.1
>=7.0.0, <7.0.4.1
6.1.7.1
7.0.4.1

Affected products

  • n/a https://github.com/rails/rails

Classification

Weakness
  • CWE-400 Uncontrolled Resource Consumption
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.