CVE-2019-14271: Moby Docker cp broken with debian containers
Summary
CVE-2019-14271: Moby Docker cp broken with debian containers. Affects github.com/docker/docker versions >= 19.03.0, < 19.03.1. Fixed in 19.03.1. How to fix ↓
Also tracked for
- docker.io · Debian:11
The same CVE-2019-14271 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
Moby is an open-source project that provides a platform for developers to build, package, and distribute containerized applications. It is written in Go and is widely used in the container ecosystem. Docker, a popular containerization platform, is built on top of Moby. The vulnerability discussed here affects Docker versions 19.03.x before 19.03.1 that are linked against the GNU C Library (glibc).
Vulnerability Detail
The vulnerability (CVE-2019-14271) arises due to code injection when the nsswitch facility dynamically loads a library inside a chroot that contains the contents of the container. This can lead to arbitrary code execution and potential compromise of the host system. The vulnerability has a CVSS score of 9.8, indicating its critical severity.
How To Fix
Latest published version: v28.5.2+incompatible as of 22 Oct 2026
go get github.com/docker/docker@v28.5.2+incompatible
Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.
If you need the minimum change
19.03.1
This is the first release that contains the fix.
go get github.com/docker/docker@v19.03.1
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
There is no specific workaround mentioned for this vulnerability. However, applying the recommended fix by upgrading to the latest Docker version is the best course of action.
Conclusion
The vulnerability (CVE-2019-14271) in Moby Docker cp with debian containers can lead to code injection and compromise of the host system. It is critical in severity, with a CVSS score of 9.8. Users are advised to upgrade to Docker version 20.10.0-beta1 or later to mitigate this vulnerability. For further support on vulnerability remediation, contact DevNack.com.
See every vulnerability recorded for github.com/docker/docker →
FAQ
Moby is an open-source project that provides a platform for developers to build, package, and distribute containerized applications. It is widely used in the container ecosystem.
Docker is a popular containerization platform built on top of the Moby project. It allows developers to package and distribute applications as lightweight, portable containers.
The vulnerability can lead to code injection and potential compromise of the host system. It is critical in severity, with a CVSS score of 9.8.
To fix this vulnerability, it is recommended to upgrade to Docker version 20.10.0-beta1 or later.
There is no specific workaround mentioned for this vulnerability. Upgrading to the latest Docker version is the best solution.
References
Related vulnerabilities
Recent vulnerabilities recorded for github.com/docker/docker.