PortGate

Advisories · Docker & Containers

CVE-2019-14271 High CVSS 8.6

Docker cp loaded a library from the container

Disclosed 2019 · Last reviewed 2 Dec 2026

docker cp could load an NSS library from the container and run it as root on the host.

What happened

The cp helper used the container filesystem for name-service lookups.

Affected and patched versions

Affected
Docker before 19.03.1.
Patched
Docker 19.03.1 and later supported engines.

How to check your server

Check

docker version

How to fix and harden

  1. Upgrade Docker Engine. Every supported engine since 19.03.1 includes the fix.
  2. Avoid docker cp from images you do not trust on an engine that old.

Fix

docker version

Sources

Version ranges and fixes follow the vendor advisory. When a distribution backports a fix, trust its security tracker over the upstream version number. New advisories: RSS · JSON