Vulnerability · Published Feb 2, 2021 · Assigned by GitHub_M
CVE-2021-21285Docker daemon crash during image pull of malicious image
Medium 6.5
In plain English
A medium-severity uncontrolled resource consumption in moby from moby. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 3.3% (higher than 89% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS 3.1)6.5Medium
Exploit odds (30 days)3.3%top 11.3% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | docker | 20.10.3-r0 | ALPINE-CVE-2021-21285 |
| Alpine:v3.21 | docker | 20.10.3-r0 | ALPINE-CVE-2021-21285 |
| Alpine:v3.22 | docker | 20.10.3-r0 | ALPINE-CVE-2021-21285 |
| Alpine:v3.23 | docker | 20.10.3-r0 | ALPINE-CVE-2021-21285 |
| Alpine:v3.24 | docker | 20.10.3-r0 | ALPINE-CVE-2021-21285 |
| Debian:12 | docker.io | 20.10.3+dfsg1-1 | DEBIAN-CVE-2021-21285 |
| Debian:13 | docker.io | 20.10.3+dfsg1-1 | DEBIAN-CVE-2021-21285 |
| Debian:14 | docker.io | 20.10.3+dfsg1-1 | DEBIAN-CVE-2021-21285 |
| Go | github.com/moby/moby | 20.10.3 | GHSA-6fj5-m822-rqx8 |
| Go | github.com/moby/moby | 19.3.15 | GHSA-6fj5-m822-rqx8 |
Affected products (as reported)
Weakness: CWE-400 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
References
- https://github.com/moby/moby/security/advisories/GHSA-6fj5-m822-rqx8 x_refsource_CONFIRM
- https://docs.docker.com/engine/release-notes/#20103 x_refsource_MISC
- https://github.com/moby/moby/releases/tag/v20.10.3 x_refsource_MISC
- https://github.com/moby/moby/releases/tag/v19.03.15 x_refsource_MISC
- https://github.com/moby/moby/commit/8d3179546e79065adefa67cc697c09d0ab137d30 x_refsource_MISC
- https://security.netapp.com/advisory/ntap-20210226-0005/ x_refsource_CONFIRM
- DSA-4865 vendor-advisory, x_refsource_DEBIAN
- GLSA-202107-23 vendor-advisory, x_refsource_GENTOO