CVE-2020-13401 — docker-ce
MEDIUMCVE-2020-13401 is a medium-severity (CVSS 6) Improper Input Validation vulnerability in github.com/docker/docker-ce. A fix is available for github.com/docker/docker-ce — see the affected versions and patch details below.
Improper Input Validation in Docker Engine
EPSS Exploitation Probability
Probability of exploitation in the next 30 days, from FIRST.org EPSS.
How urgent is this, really
Where this sits among everything scored
Real-World Exposure
github.com/docker/docker-ceReal-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.
Description
An issue was discovered in Docker Engine before 19.03.11. An attacker in a container, with the CAP_NET_RAW capability, can craft IPv6 router advertisements, and consequently spoof external IPv6 hosts, obtain sensitive information, or cause a denial of service.
Affected Packages
| Ecosystem | Package | Vulnerable range | Fix |
|---|---|---|---|
| 🐹Go | github.com/docker/docker-ce | all versions | 19.03.11go get github.com/docker/docker-ce@v19.03.11 |
Affected Products
sannavbroadcomdebian linuxdebianenginedockerfedorafedoraprojectDetection & mitigation playbook
Open-source dependencyDetect
Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for github.com/docker/docker-ce, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.
Fix
Update github.com/docker/docker-ce to 19.03.11 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2020-13401 is resolved across your whole dependency graph.
Workarounds
Cap what an attacker can consume: apply request size, rate and timeout limits in front of the affected component, and run it with memory and CPU limits so exhaustion degrades one worker rather than the whole service.
Fixing This On Your OS
If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.
Prevent untrusted, non-privileged containers from running with CAP_NET_RAW.Source: Red Hat security advisory for CVE-2020-13401 (CC BY 4.0)
Frequently Asked Questions
Is CVE-2020-13401 in your dependencies?
Find it across Go, including transitive dependencies.