Vulnerability 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.
CVSS Score
HIGH
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Activerecord Project | Activerecord | < 6.1.7.1 |
Related Weaknesses (CWE)
References
- https://code.jeremyevans.net/2022-11-01-forcing-sequential-scans-on-postgresql.hExploitMitigationThird Party Advisory
- https://discuss.rubyonrails.org/t/cve-2022-44566-possible-denial-of-service-vulnPatchVendor Advisory
- https://code.jeremyevans.net/2022-11-01-forcing-sequential-scans-on-postgresql.hExploitMitigationThird Party Advisory
- https://discuss.rubyonrails.org/t/cve-2022-44566-possible-denial-of-service-vulnPatchVendor Advisory
FAQ
What is CVE-2022-44566?
CVE-2022-44566 is a vulnerability with a CVSS score of 7.5 (HIGH). 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...
How severe is CVE-2022-44566?
CVE-2022-44566 has been rated HIGH with a CVSS base score of 7.5/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2022-44566?
Check the references section above for vendor advisories and patch information. Affected products include: Activerecord Project Activerecord.