Skip to content
OpenAdvisories
Critical · 9.8 Public exploit CVE-2019-14271 EUVD-2022-5261GHSA-v2cv-wwxq-qq97GO-2024-2521

Moby Docker cp broken with debian containers

Published Jul 29, 2019 · Updated Aug 5, 2024 · Assigned by mitre

Description

In Docker 19.03.x before 19.03.1 linked against the GNU C Library (aka glibc), code injection can occur when the nsswitch facility dynamically loads a library inside a chroot that contains the contents of the container.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 docker.io 18.09.1+dfsg1-9 —
Debian 13 docker.io 18.09.1+dfsg1-9 —
Debian 12 docker.io 18.09.1+dfsg1-9 —
Debian 10 docker.io 18.09.1+dfsg1-7.1+deb10u1 DSA-4521-1
ReleasePackageFixed inAdvisory
SLES 15 SP7 docker-stable 24.0.9_ce-150000.1.25.1 SUSE-SU-2025:03545-1
SLES 15 SP6 docker-stable 24.0.9_ce-150000.1.25.1 SUSE-SU-2025:03545-1
SLES 15 SP5 docker-stable 24.0.9_ce-150000.1.25.1 SUSE-SU-2025:03545-1
SLES 15 SP4 docker-stable 24.0.9_ce-150000.1.25.1 SUSE-SU-2025:03545-1
SLES 15 SP3 docker-stable 24.0.9_ce-150000.1.25.1 SUSE-SU-2025:03545-1
Show 12 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
SLES 15 SP1 containerd 1.2.6-5.16.1 SUSE-SU-2019:2117-1
SLES 15 SP1 docker 19.03.1_ce-6.26.2 SUSE-SU-2019:2117-1
SLES 15 SP1 docker-runc 1.0.0rc8+gitr3826_425e105d5a03-6.21.2 SUSE-SU-2019:2117-1
SLES 15 SP1 golang-github-docker-libnetwork 0.7.0.1+gitr2800_fc5a7d91d54c-4.15.1 SUSE-SU-2019:2117-1
SLES 15 containerd 1.2.6-5.16.1 SUSE-SU-2019:2117-1
SLES 15 docker 19.03.1_ce-6.26.2 SUSE-SU-2019:2117-1
SLES 15 docker-runc 1.0.0rc8+gitr3826_425e105d5a03-6.21.2 SUSE-SU-2019:2117-1
SLES 15 golang-github-docker-libnetwork 0.7.0.1+gitr2800_fc5a7d91d54c-4.15.1 SUSE-SU-2019:2117-1
SLES 12 SP5 docker-stable 24.0.9_ce-1.20.1 SUSE-SU-2025:03540-1
SLES 12 containerd 1.2.6-16.23.1 SUSE-SU-2019:2119-1
SLES 12 docker 19.03.1_ce-98.46.1 SUSE-SU-2019:2119-1
SLES 12 docker-runc 1.0.0rc8+gitr3826_425e105d5a03-1.29.1 SUSE-SU-2019:2119-1
SLES 12 golang-github-docker-libnetwork 0.7.0.1+gitr2800_fc5a7d91d54c-25.1 SUSE-SU-2019:2119-1
SLES for SAP 15 SP5 docker-stable 24.0.9_ce-150000.1.25.1 SUSE-SU-2025:03545-1
SLES for SAP 15 SP4 docker-stable 24.0.9_ce-150000.1.25.1 SUSE-SU-2025:03545-1
SLES for SAP 15 SP3 docker-stable 24.0.9_ce-150000.1.25.1 SUSE-SU-2025:03545-1
SLE HPC 15 SP5 docker-stable 24.0.9_ce-150000.1.25.1 SUSE-SU-2025:03545-1
SLE HPC 15 SP4 docker-stable 24.0.9_ce-150000.1.25.1 SUSE-SU-2025:03545-1
SLE HPC 15 SP3 docker-stable 24.0.9_ce-150000.1.25.1 SUSE-SU-2025:03545-1
SUSE OpenStack Cloud 6 containerd 1.2.6-16.23.1 SUSE-SU-2019:2119-1
SUSE OpenStack Cloud 6 docker 19.03.1_ce-98.46.1 SUSE-SU-2019:2119-1
SUSE OpenStack Cloud 6 docker-runc 1.0.0rc8+gitr3826_425e105d5a03-1.29.1 SUSE-SU-2019:2119-1
SUSE OpenStack Cloud 6 golang-github-docker-libnetwork 0.7.0.1+gitr2800_fc5a7d91d54c-25.1 SUSE-SU-2019:2119-1
SUSE Enterprise Storage 7.1 docker-stable 24.0.9_ce-150000.1.25.1 SUSE-SU-2025:03545-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed docker 20.10.6_ce-2.1 openSUSE-SU-2024:10722-1
openSUSE Tumbleweed docker-stable 24.0.9_ce-15.1 openSUSE-SU-2025:15589-1
openSUSE Leap 15.6 docker-stable 24.0.9_ce-150000.1.25.1 SUSE-SU-2025:03545-1
openSUSE Leap 15.1 containerd 1.2.6-lp151.2.6.1 openSUSE-SU-2019:2021-1
openSUSE Leap 15.1 docker 19.03.1_ce-lp151.2.12.1 openSUSE-SU-2019:2021-1
openSUSE Leap 15.1 docker-runc 1.0.0rc8+gitr3826_425e105d5a03-lp151.3.6.1 openSUSE-SU-2019:2021-1
openSUSE Leap 15.1 golang-github-docker-libnetwork 0.7.0.1+gitr2800_fc5a7d91d54c-lp151.2.6.1 openSUSE-SU-2019:2021-1
openSUSE Leap 15.0 containerd 1.2.6-lp151.2.6.1 openSUSE-SU-2019:2021-1
openSUSE Leap 15.0 docker 19.03.1_ce-lp151.2.12.1 openSUSE-SU-2019:2021-1
openSUSE Leap 15.0 docker-runc 1.0.0rc8+gitr3826_425e105d5a03-lp151.3.6.1 openSUSE-SU-2019:2021-1
openSUSE Leap 15.0 golang-github-docker-libnetwork 0.7.0.1+gitr2800_fc5a7d91d54c-lp151.2.6.1 openSUSE-SU-2019:2021-1
ReleasePackageFixed inAdvisory
Alpine v3.24 docker 19.03.1-r0 —
Alpine v3.23 docker 19.03.1-r0 —
Alpine v3.22 docker 19.03.1-r0 —
Alpine v3.21 docker 19.03.1-r0 —
Alpine v3.20 docker 19.03.1-r0 —
Show 9 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Alpine v3.19 docker 19.03.1-r0 —
Alpine v3.18 docker 19.03.1-r0 —
Alpine v3.17 docker 19.03.1-r0 —
Alpine v3.16 docker 19.03.1-r0 —
Alpine v3.15 docker 19.03.1-r0 —
Alpine v3.14 docker 19.03.1-r0 —
Alpine v3.13 docker 19.03.1-r0 —
Alpine v3.12 docker 19.03.1-r0 —
Alpine v3.11 docker 19.03.1 —

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 7 docker-cli +1 19.03.1.ol-1.0.0.el7 ELSA-2019-4827

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/docker/docker >= 19.03.0, < 19.03.1 19.03.1 GHSA-v2cv-wwxq-qq97
Go github.com/docker/docker < 20.10.0-beta1+incompatible 20.10.0-beta1+incompatible GO-2024-2521
Go github.com/moby/moby < 20.10.0-beta1+incompatible 20.10.0-beta1+incompatible GO-2024-2521

Advisories 10

References