CVEvulnerability
CVE-2022-44566
7.5 HIGH
Official page ↗
- Status
- Modified
- Published
- 2023-02-09
- Last modified
- 2026-10-24
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
- Weaknesses
- CWE-400
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.
Affected configurations
• activerecord project activerecord (< 6.1.7.1)
• activerecord project activerecord (>= 7.0.0 < 7.0.4.1)
Related
Weakness · CWE (1)
- CWE-400 Uncontrolled Resource Consumption weakness
References
- https://code.jeremyevans.net/2022-11-01-forcing-sequential-scans-on-postgresql.html Exploit, Mitigation, Third Party Advisory
- https://discuss.rubyonrails.org/t/cve-2022-44566-possible-denial-of-service-vulnerability-in-activerecords-postgresql-adapter/82119 Patch, Vendor Advisory
- https://code.jeremyevans.net/2022-11-01-forcing-sequential-scans-on-postgresql.html Exploit, Mitigation, Third Party Advisory
- https://discuss.rubyonrails.org/t/cve-2022-44566-possible-denial-of-service-vulnerability-in-activerecords-postgresql-adapter/82119 Patch, Vendor Advisory