Skip to main content
Public proof of conceptFix available

CVE-2022-44566

A public proof of concept exists; no exploitation attested.

  • Published2023-02-09
  • Fixed in7.0.4.1 · 6.1.7.1
  • WeaknessCWE-400

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2023-02-0920:15CVE publishedNVD

Versions per branch

NVD · OSV
Activerecord project activerecord
BranchAffectedFixed in
7.0≥ 7.0.0, < 7.0.4.17.0.4.1
6.1< 6.1.7.16.1.7.1

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As hackerone, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • https://github.com/rails/rails
    Affected
    • = 7.0.4.1, 6.1.7.1no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2023-02-09

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • foremanRed Hat:satellite:6.14::el8all versions · fixed in 0:3.7.0.9-1.el8satand 13 other packages
  • foremanRed Hat:satellite_utils:6.14::el8all versions · fixed in 0:3.7.0.9-1.el8satand 1 other package
  • foremanRed Hat:satellite_capsule:6.14::el8all versions · fixed in 0:3.7.0.9-1.el8satand 1 other package
  • puppet-agentRed Hat:satellite:6.14::el8all versions · fixed in 0:7.26.0-3.el8sat
  • puppet-agentRed Hat:satellite_capsule:6.14::el8all versions · fixed in 0:7.26.0-3.el8sat
  • puppetserverRed Hat:satellite:6.14::el8all versions · fixed in 0:7.11.0-1.el8sat
  • puppetserverRed Hat:satellite_capsule:6.14::el8all versions · fixed in 0:7.11.0-1.el8sat
  • python-djangoRed Hat:satellite:6.14::el8all versions · fixed in 0:3.2.21-1.el8pcand 1 other package

44 more package ranges on OSV.dev

Vendor advisories

  • CVE-2022-44566 Red Hat Product Security2 products fixed

    rubygem-activerecord: Denial of Service

  • RHSA-2023:6818 Red Hat Product Security2 products fixed

    Red Hat Security Advisory: Satellite 6.14 security and bug fix update

Full record on NVD

Fix

  1. Update Activerecord project activerecord to 7.0.4.1 · 6.1.7.1
  2. Vendor fix Red Hat Product Security RHSA-2023:6818 · 2 productsBefore applying this update, make sure all previously released errata relevant to your system have been applied. For detailed instructions how to apply this update, refer to: https://access.redhat.com/documentation/en-us/red_hat_satellite/6.14/html/upgrading_red_hat_satellite_to_6.14/index

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Published
2023-02-09
Last modified
2026-10-24
NVD status
Modified
GitHub advisory
GHSA-579w-22j4-4749

Frequently asked questions

What is CVE-2022-44566?

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.

Is CVE-2022-44566 actively exploited?

A proof-of-concept exploit exists for CVE-2022-44566, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2022-44566?

CVE-2022-44566 has a CVSS v3 base score of 7.5 (High severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.

Running activerecord? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record