CVE-2021-21285: Docker daemon crash during image pull of malicious image

Published Feb 2, 2021
·
Updated

Impact

Pulling an intentionally malformed Docker image manifest crashes the dockerd daemon.

Patches

Versions 20.10.3 and 19.03.15 contain patches that prevent the daemon from crashing.

Credits

Maintainers would like to thank Josh Larsen, Ian Coldwater, Duffie Cooley, Rory McCune for working on the vulnerability and Brad Geesaman for responsibly disclosing it to security@docker.com.

Other sources

Docker is vulnerable to a denial of service, caused by improper input validation. By persuading a victim to pull a specially-crafted Docker image, a remote attacker could exploit this vulnerability to cause the dockerd daemon to crash, and results in a denial of service condition.

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 Software

13 affected componentsFixes available
debian/docker.io
18.09.1+dfsg1-7.1+deb10u320.10.5+dfsg1-1+deb11u220.10.24+dfsg1-120.10.25+dfsg1-2
go/github.com/moby/moby>=20.10.0-beta1<20.10.3
20.10.3
go/github.com/moby/moby<19.3.15
19.3.15
IBM Security Guardium<=10.5
IBM Security Guardium<=10.6
IBM Security Guardium<=11.0
IBM Security Guardium<=11.1
IBM Security Guardium<=11.2
IBM Security Guardium<=11.3
Docker Docker<19.03.15
Docker Docker>=20.0.0<20.10.3
Debian Debian Linux=10.0
NetApp E-Series SANtricity OS Controller>=11.0<=11.60.3

Event History

Feb 2, 2021
CVE Published
via MITRE·05:55 PM
Data Sourced
via MITRE·05:55 PM
DescriptionSeverityWeakness
Jan 31, 2024
Advisory Published
via GitHub·11:16 PM

Parent advisories

This vulnerability appears in the following advisories.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is CVE-2021-21285?

CVE-2021-21285 is a vulnerability in Docker that allows a remote attacker to cause a denial of service by crashing the dockerd daemon.

2

How does CVE-2021-21285 work?

CVE-2021-21285 is caused by improper input validation in Docker. By tricking a victim into pulling a specially-crafted Docker image, the attacker can crash the dockerd daemon and cause a denial of service.

3

Which versions of Docker are affected by CVE-2021-21285?

Docker versions up to and excluding 19.03.15 and versions between 20.0.0 and 20.10.3 are affected by CVE-2021-21285.

4

How severe is CVE-2021-21285?

CVE-2021-21285 has a severity rating of 6.5, which is considered medium.

5

How can I fix CVE-2021-21285?

To fix CVE-2021-21285, update Docker to version 19.03.15 or higher if using a version prior to 20. And update to version 20.10.3 or higher if using a version between 20.0.0 and 20.10.3.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203