CVSS v3.x: 7.5 (High)
- ~> 5.2.8, >= 126.96.36.199
- ~> 6.1.7, >= 188.8.131.52
- >= 184.108.40.206
There is a potential denial of service vulnerability present in ActiveRecord’s PostgreSQL adapter.
This has been assigned the CVE identifier CVE-2022-44566.
Versions Affected: All. Not affected: None. Fixed Versions: 220.127.116.11 (Rails LTS), 18.104.22.168, 22.214.171.124
In ActiveRecord <126.96.36.199 and <188.8.131.52, 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.
Ensure that user supplied input which is provided to ActiveRecord clauses do not contain integers wider than a signed 64bit representation or floats.