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

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

Name Vendor Start Version End Version
Activerecord Activerecord_project * 6.1.7.1 (excluding)
Activerecord Activerecord_project 7.0.0 (including) 7.0.4.1 (excluding)
Red Hat Satellite 6.14 for RHEL 8 RedHat rubygem-activerecord-0:6.1.7.3-1.el8sat *
Rails Ubuntu bionic *
Rails Ubuntu focal *
Rails Ubuntu kinetic *
Rails Ubuntu lunar *
Rails Ubuntu mantic *
Rails Ubuntu oracular *
Rails Ubuntu trusty *
Rails Ubuntu xenial *
Rails-4.0 Ubuntu trusty *
Ruby-actionpack-3.2 Ubuntu trusty *
Ruby-activemodel-3.2 Ubuntu trusty *
Ruby-activerecord-3.2 Ubuntu trusty *
Ruby-activesupport-3.2 Ubuntu trusty *
Ruby-rails-3.2 Ubuntu trusty *

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