{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2022-44566","id":"CVE-2022-44566","title":"Denial of Service Vulnerability in ActiveRecord's PostgreSQL adapter","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.","descriptionLong":"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.","published":"2023-02-09T00:00:00.000Z","updated":"2026-10-28T02:30:49.189312578Z","reserved":"2022-11-01T00:00:00.000Z","status":"Modified","rejected":false,"assigner":"hackerone","metric":{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"NVD"},"metrics":[{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"NVD"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"CISA-ADP"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":7.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","rating":"high","source":"GitHub"}],"rating":"high","products":["https://github.com/rails/rails"],"affectedProducts":[{"vendor":"n/a","product":"https://github.com/rails/rails","defaultStatus":null,"versions":[{"version":"7.0.4.1, 6.1.7.1","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"RubyGems","name":"activerecord","purl":"pkg:gem/activerecord","ranges":["<6.1.7.1",">=7.0.0 <7.0.4.1"],"fixed":["6.1.7.1","7.0.4.1"],"advisory":"GHSA-579w-22j4-4749"}],"cwes":["CWE-400"],"aliases":["GHSA-579w-22j4-4749"],"references":[{"url":"https://discuss.rubyonrails.org/t/cve-2022-44566-possible-denial-of-service-vulnerability-in-activerecords-postgresql-adapter/82119","tags":["x_transferred","Patch","Vendor Advisory","web"]},{"url":"https://code.jeremyevans.net/2022-11-01-forcing-sequential-scans-on-postgresql.html","tags":["x_transferred","Exploit","Mitigation","Third Party Advisory","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/44xxx/CVE-2022-44566.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-44566","tags":["advisory"]},{"url":"https://github.com/rails/rails/commit/4f44aa9d514e701ada92b5cf08beccf566eeaebf","tags":["web"]},{"url":"https://github.com/rails/rails/commit/82bcdc011e2ff674e7dd8fd8cee3a831c908d29b","tags":["web"]},{"url":"https://github.com/rails/rails","tags":["package"]},{"url":"https://github.com/rails/rails/releases/tag/v6.1.7.1","tags":["web"]},{"url":"https://github.com/rails/rails/releases/tag/v7.0.4.1","tags":["web"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/activerecord/CVE-2022-44566.yml","tags":["web"]},{"url":"https://mailchi.mp/railslts/rails-lts-multiple-dos-vulnerabilities-in-rails-rack-and-globalid","tags":["web"]},{"url":"https://makandracards.com/railslts/508019-rails-5-2-lts-changelog#section-jan-20th-2023-rails-version-5-2-8-15","tags":["web"]},{"url":"https://rubyonrails.org/2023/1/17/Rails-Versions-6-0-6-1-6-1-7-1-7-0-4-1-have-been-released","tags":["web"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial"},"epss":0.01265,"epssPercentile":0.70306,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2022-44566","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-44566","ok":true,"note":"Modified"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2022-44566","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-579w-22j4-4749","ok":true,"note":"GHSA-579w-22j4-4749"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2022-44566","ok":true,"note":"scored 2026-11-18"}],"aiTitle":false,"tech":["ruby"],"critical":[],"attention":null}