CVE-2022-44566: Uncontrolled Resource Consumption
(updated )
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.
References
- code.jeremyevans.net/2022-11-01-forcing-sequential-scans-on-postgresql.html
- discuss.rubyonrails.org/t/cve-2022-44566-possible-denial-of-service-vulnerability-in-activerecords-postgresql-adapter/82119
- github.com/advisories/GHSA-579w-22j4-4749
- github.com/rails/rails/releases/tag/v7.0.4.1
- nvd.nist.gov/vuln/detail/CVE-2022-44566
Detect and mitigate CVE-2022-44566 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →