CVE Vulnerabilities

CVE-2021-32823

Uncontrolled Resource Consumption

Published: Jun 24, 2021 | Modified: Nov 21, 2024
CVSS 3.x
3.7
LOW
Source:
NVD
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L
CVSS 2.x
4.3 MEDIUM
AV:N/AC:M/Au:N/C:N/I:N/A:P
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

In the bindata RubyGem before version 2.4.10 there is a potential denial-of-service vulnerability. In affected versions it is very slow for certain classes in BinData to be created. For example BinData::Bit100000, BinData::Bit100001, BinData::Bit100002, BinData::Bit. In combination with <user_input>.constantize there is a potential for a CPU-based DoS. In version 2.4.10 bindata improved the creation time of Bits and Integers.

Weakness

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

Affected Software

NameVendorStart VersionEnd Version
BindataBindata_project*2.4.10 (excluding)
Ruby-bindataUbuntubionic*
Ruby-bindataUbuntufocal*
Ruby-bindataUbuntugroovy*
Ruby-bindataUbuntuhirsute*
Ruby-bindataUbuntuimpish*
Ruby-bindataUbuntukinetic*
Ruby-bindataUbuntulunar*
Ruby-bindataUbuntumantic*
Ruby-bindataUbuntuoracular*
Ruby-bindataUbuntuplucky*
Ruby-bindataUbuntutrusty*
Ruby-bindataUbuntuxenial*

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