CVE Vulnerabilities

CVE-2021-21285

Uncontrolled Resource Consumption

Published: Feb 02, 2021 | Modified: Nov 21, 2024
CVSS 3.x
6.5
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
CVSS 2.x
4.3 MEDIUM
AV:N/AC:M/Au:N/C:N/I:N/A:P
RedHat/V2
RedHat/V3
6.5 MODERATE
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Ubuntu
MEDIUM

In Docker before versions 9.03.15, 20.10.3 there is a vulnerability in which pulling an intentionally malformed Docker image manifest crashes the dockerd daemon. Versions 20.10.3 and 19.03.15 contain patches that prevent the daemon from crashing.

Weakness

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

Affected Software

Name Vendor Start Version End Version
Docker Docker * 19.03.15 (excluding)
Docker Docker 20.0.0 (including) 20.10.3 (excluding)
Docker.io Ubuntu bionic *
Docker.io Ubuntu esm-apps/bionic *
Docker.io Ubuntu esm-apps/focal *
Docker.io Ubuntu esm-infra/xenial *
Docker.io Ubuntu focal *
Docker.io Ubuntu groovy *
Docker.io Ubuntu hirsute *
Docker.io Ubuntu trusty *
Docker.io Ubuntu xenial *

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