CVE Vulnerabilities

CVE-2022-44566

Uncontrolled Resource Consumption

Published: Feb 09, 2023 | Modified: Mar 25, 2025
CVSS 3.x
7.5
HIGH
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
CVSS 2.x
RedHat/V2
RedHat/V3
7.5 MODERATE
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

A denial of service vulnerability present in ActiveRecords 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.

Weakness

The product does not properly control the allocation and maintenance of a limited resource.

Affected Software

NameVendorStart VersionEnd Version
ActiverecordActiverecord_project*6.1.7.1 (excluding)
ActiverecordActiverecord_project7.0.0 (including)7.0.4.1 (excluding)
Red Hat Satellite 6.14 for RHEL 8RedHatrubygem-activerecord-0:6.1.7.3-1.el8sat*
RailsUbuntubionic*
RailsUbuntufocal*
RailsUbuntukinetic*
RailsUbuntulunar*
RailsUbuntumantic*
RailsUbuntuoracular*
RailsUbuntuplucky*
RailsUbuntutrusty*
RailsUbuntuxenial*
Rails-4.0Ubuntutrusty*
Ruby-actionpack-3.2Ubuntutrusty*
Ruby-activemodel-3.2Ubuntutrusty*
Ruby-activerecord-3.2Ubuntutrusty*
Ruby-activesupport-3.2Ubuntutrusty*
Ruby-rails-3.2Ubuntutrusty*

Potential Mitigations

  • Mitigation of resource exhaustion attacks requires that the target system either:

  • The first of these solutions is an issue in itself though, since it may allow attackers to prevent the use of the system by a particular valid user. If the attacker impersonates the valid user, they may be able to prevent the user from accessing the server in question.

  • The second solution is simply difficult to effectively institute – and even when properly done, it does not provide a full solution. It simply makes the attack require more resources on the part of the attacker.

References