Bug 2164789 (CVE-2022-44566) - CVE-2022-44566 rubygem-activerecord: Denial of Service
Summary: CVE-2022-44566 rubygem-activerecord: Denial of Service
Keywords:
Status: NEW
Alias: CVE-2022-44566
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Nobody
QA Contact:
URL:
Whiteboard:
Depends On: 2164790 2164791
Blocks: 2162605
TreeView+ depends on / blocked
 
Reported: 2023-01-26 14:06 UTC by ybuenos
Modified: 2023-11-08 14:17 UTC (History)
10 users (show)

Fixed In Version: rubygem-activerecord 6.1.7.1, rubygem-activerecord 7.0.4.1
Doc Type: If docs needed, set a value
Doc Text:
A flaw was found in the rubygem-activerecord. RubyGem's ActiveRecord is vulnerable to a denial of service caused by a flaw in the PostgreSQL adapter. By sending a specially-crafted request, a remote attacker can cause a slow sequential scan, resulting in a denial of service.
Clone Of:
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2023:6818 0 None None None 2023-11-08 14:17:14 UTC

Description ybuenos 2023-01-26 14:06:24 UTC
In ActiveRecord <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.

Comment 1 ybuenos 2023-01-26 14:07:00 UTC
Created rubygem-activerecord tracking bugs for this issue:

Affects: fedora-all [bug 2164791]

Comment 7 errata-xmlrpc 2023-11-08 14:17:12 UTC
This issue has been addressed in the following products:

  Red Hat Satellite 6.14 for RHEL 8

Via RHSA-2023:6818 https://access.redhat.com/errata/RHSA-2023:6818


Note You need to log in before you can comment on or make changes to this bug.