CVE Vulnerabilities

CVE-2021-3737

Uncontrolled Resource Consumption

Published: Mar 04, 2022 | Modified: Nov 07, 2023
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
7.1 HIGH
AV:N/AC:M/Au:N/C:N/I:N/A:C
RedHat/V2
RedHat/V3
6.5 LOW
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Ubuntu
MEDIUM

A flaw was found in python. An improperly handled HTTP response in the HTTP client code of python may allow a remote attacker, who controls the HTTP server, to make the client script enter an infinite loop, consuming CPU time. The highest threat from this vulnerability is to system availability.

Weakness

The product does not properly control the allocation and maintenance of a limited resource, thereby enabling an actor to influence the amount of resources consumed, eventually leading to the exhaustion of available resources.

Affected Software

Name Vendor Start Version End Version
Python Python 3.6.0 (including) 3.6.14 (excluding)
Python Python 3.7.0 (including) 3.7.11 (excluding)
Python Python 3.8.0 (including) 3.8.11 (excluding)
Python Python 3.9.0 (including) 3.9.6 (excluding)
Red Hat Enterprise Linux 8 RedHat python39:3.9-8050020210811100211.d428a79b *
Red Hat Enterprise Linux 8 RedHat python39-devel:3.9-8050020210811100211.d428a79b *
Red Hat Enterprise Linux 8 RedHat python38:3.8-8060020220120164031.5294be16 *
Red Hat Enterprise Linux 8 RedHat python38-devel:3.8-8060020220120164031.5294be16 *
Red Hat Enterprise Linux 8 RedHat python27:2.7-8060020220210185952.8cdc2268 *
Red Hat Enterprise Linux 8 RedHat python3-0:3.6.8-45.el8 *
Red Hat Enterprise Linux 8 RedHat python3-0:3.6.8-45.el8 *
Red Hat Software Collections for Red Hat Enterprise Linux 7 RedHat python27-python-0:2.7.18-4.el7 *
Python3.10 Ubuntu hirsute *
Python3.10 Ubuntu trusty *
Python3.10 Ubuntu xenial *
Python3.4 Ubuntu trusty *
Python3.4 Ubuntu trusty/esm *
Python3.4 Ubuntu xenial *
Python3.5 Ubuntu esm-infra-legacy/trusty *
Python3.5 Ubuntu esm-infra/xenial *
Python3.5 Ubuntu trusty *
Python3.5 Ubuntu trusty/esm *
Python3.5 Ubuntu xenial *
Python3.6 Ubuntu bionic *
Python3.6 Ubuntu trusty *
Python3.6 Ubuntu xenial *
Python3.7 Ubuntu bionic *
Python3.7 Ubuntu trusty *
Python3.7 Ubuntu xenial *
Python3.8 Ubuntu bionic *
Python3.8 Ubuntu focal *
Python3.8 Ubuntu trusty *
Python3.8 Ubuntu xenial *
Python3.9 Ubuntu focal *
Python3.9 Ubuntu hirsute *
Python3.9 Ubuntu trusty *
Python3.9 Ubuntu xenial *

Extended Description

Limited resources include memory, file system storage, database connection pool entries, and CPU. If an attacker can trigger the allocation of these limited resources, but the number or size of the resources is not controlled, then the attacker could cause a denial of service that consumes all available resources. This would prevent valid users from accessing the product, and it could potentially have an impact on the surrounding environment. For example, a memory exhaustion attack against an application could slow down the application as well as its host operating system. There are at least three distinct scenarios which can commonly lead to resource exhaustion:

Resource exhaustion problems are often result due to an incorrect implementation of the following situations:

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