{"id":"CVE-2022-44566","published":"2023-02-09T00:00:00Z","modified":"2025-03-25T13:43:54Z","title":"A denial of service vulnerability present in ActiveRecord's PostgreSQL adapter <7.0.4.1 and <6.1.7.1","vendor":null,"product":null,"tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.5,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","provenance":"source","from":"CISA ADP Vulnrichment"},"epss":{"score":0.01278,"percentile":0.7073,"provenance":"source"},"cwes":[{"id":"CWE-400","name":"Uncontrolled Resource Consumption"}],"references":[{"url":"https://discuss.rubyonrails.org/t/cve-2022-44566-possible-denial-of-service-vulnerability-in-activerecords-postgresql-adapter/82119","tags":[]},{"url":"https://code.jeremyevans.net/2022-11-01-forcing-sequential-scans-on-postgresql.html","tags":[]}],"priority":{"score":19.4,"factors":[{"name":"EPSS percentile","points":14.15},{"name":"CVSS severity","points":5.25}]},"affectedVersions":[{"vendor":"n/a","product":"https://github.com/rails/rails","versions":["7.0.4.1, 6.1.7.1"]}],"ssvc":{"exploitation":"poc","automatable":"yes","technicalImpact":"partial","timestamp":"2025-03-25T13:43:31.851211Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"RubyGems","package":"activerecord","vulnerableRanges":["<6.1.7.1",">=7.0.0, <7.0.4.1"],"patched":["6.1.7.1","7.0.4.1"],"from":["GHSA-579w-22j4-4749"],"provenance":"source"}],"summary":{"text":"The flaw lies in ActiveRecord's PostgreSQL adapter in versions before 7.0.4.1 and 6.1.7.1, where an integer value outside the 64-bit signed range causes the target column to be treated as numeric. An attacker who can submit such a value over the network without authentication or user interaction can force a slow sequential scan, exhausting resources and causing denial of service.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T07:17:12Z"},"euvd":{"id":"EUVD-2023-0336","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-rails-cve-2022-32224","parents":[{"from":"CVE-2022-32224","to":"CVE-2022-44566","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"RubyGems:activerecord","fromFixed":"6.1.6.1","toFixed":"6.1.7.1","daysApart":66},{"kind":"version-step","provenance":"source","package":"RubyGems:activerecord","fromFixed":"7.0.3.1","toFixed":"7.0.4.1","daysApart":66},{"kind":"same-code","provenance":"machine","files":["activerecord/lib/active_record.rb"],"commits":["https://github.com/rails/rails/commit/611990f1a6c137c2d56b1ba06b27e5d2434dcd6a","https://github.com/rails/rails/commit/4f44aa9d514e701ada92b5cf08beccf566eeaebf","https://github.com/rails/rails/commit/82bcdc011e2ff674e7dd8fd8cee3a831c908d29b"],"basis":"shared function","functions":["self"]}]}],"children":[{"from":"CVE-2022-44566","to":"CVE-2025-55193","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["activerecord/lib/active_record/core.rb"],"commits":["https://github.com/rails/rails/commit/4f44aa9d514e701ada92b5cf08beccf566eeaebf","https://github.com/rails/rails/commit/82bcdc011e2ff674e7dd8fd8cee3a831c908d29b","https://github.com/rails/rails/commit/568c0bc2f1e74c65d150a84b89a080949bf9eb9b","https://github.com/rails/rails/commit/3beef20013736fd52c5dcfdf061f7999ba318290"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2015-7577","published":"2016-02-16","fixed":"5.0.0.beta1.1","kev":false},{"cve":"CVE-2021-22880","published":"2021-02-11","fixed":"6.1.2.1","kev":false},{"cve":"CVE-2022-32224","published":"2022-12-05","fixed":"7.0.3.1","kev":false},{"cve":"CVE-2022-44566","published":"2023-02-09","fixed":"7.0.4.1","kev":false},{"cve":"CVE-2023-22794","published":"2023-02-09","fixed":"7.0.4.1","kev":false},{"cve":"CVE-2025-55193","published":"2025-08-13","fixed":"8.0.2.1","kev":false}],"package":"RubyGems:activerecord"}}