CVE-2022-44566

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.
Configurations

Configuration 1 (hide)

OR cpe:2.3:a:activerecord_project:activerecord:*:*:*:*:*:ruby:*:*
cpe:2.3:a:activerecord_project:activerecord:*:*:*:*:*:ruby:*:*

History

21 Nov 2024, 07:28

Type Values Removed Values Added
References () https://code.jeremyevans.net/2022-11-01-forcing-sequential-scans-on-postgresql.html - Exploit, Mitigation, Third Party Advisory () https://code.jeremyevans.net/2022-11-01-forcing-sequential-scans-on-postgresql.html - Exploit, Mitigation, Third Party Advisory
References () https://discuss.rubyonrails.org/t/cve-2022-44566-possible-denial-of-service-vulnerability-in-activerecords-postgresql-adapter/82119 - Patch, Vendor Advisory () https://discuss.rubyonrails.org/t/cve-2022-44566-possible-denial-of-service-vulnerability-in-activerecords-postgresql-adapter/82119 - Patch, Vendor Advisory

23 Jun 2023, 18:29

Type Values Removed Values Added
CWE CWE-400 NVD-CWE-Other

Information

Published : 2023-02-09 20:15

Updated : 2024-11-21 07:28


NVD link : CVE-2022-44566

Mitre link : CVE-2022-44566

CVE.ORG link : CVE-2022-44566


JSON object : View

Products Affected

activerecord_project

  • activerecord
CWE
CWE-400

Uncontrolled Resource Consumption

NVD-CWE-Other