Description
Moby is an open-source project created by Docker to enable and accelerate software containerization. A bug was found in Moby (Docker Engine) prior to version 20.10.14 where containers were incorrectly started with non-empty inheritable Linux process capabilities, creating an atypical Linux environment and enabling programs with inheritable file capabilities to elevate those capabilities to the permitted set during `execve(2)`. Normally, when executable programs have specified permitted file capabilities, otherwise unprivileged users and processes can execute those programs and gain the specified file capabilities up to the bounding set. Due to this bug, containers which included executable programs with inheritable file capabilities allowed otherwise unprivileged users and processes to additionally gain these inheritable file capabilities up to the container's bounding set. Containers which use Linux users and groups to perform privilege separation inside the container are most directly impacted. This bug did not affect the container security sandbox as the inheritable set never contained more capabilities than were included in the container's bounding set. This bug has been fixed in Moby (Docker Engine) 20.10.14. Running containers should be stopped, deleted, and recreated for the inheritable capabilities to be reset. This fix changes Moby (Docker Engine) behavior such that containers are started with a more typical Linux environment. As a workaround, the entry point of a container can be modified to use a utility like `capsh(1)` to drop inheritable capabilities prior to the primary process starting.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| moby | moby | < 20.10.14 | — |
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.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | containerd | 1.6.2~ds1-1 | — |
| Debian 13 | containerd | 1.6.2~ds1-1 | — |
| Debian 12 | containerd | 1.6.2~ds1-1 | — |
| Debian 11 | containerd | 1.4.13~ds1-1~deb11u2 | DSA-5162-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | containerd | 1.5.9-0ubuntu3.1 | USN-5776-1 |
| Ubuntu 20.04 LTS | containerd | 1.5.9-0ubuntu1~20.04.6 | USN-5776-1 |
| Ubuntu 18.04 LTS | containerd | 1.5.9-0ubuntu1~18.04.2 | USN-5776-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 16.04 LTS | containerd | No fix yet | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 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 | containerd | 1.5.11-150000.68.1 | SUSE-SU-2022:1689-1 |
| SLES 15 SP4 | docker | 20.10.14_ce-150000.163.1 | SUSE-SU-2022:1689-1 |
| SLES 15 SP4 | docker-stable | 24.0.9_ce-150000.1.25.1 | SUSE-SU-2025:03545-1 |
| SLES 15 SP3 | containerd | 1.5.11-150000.68.1 | SUSE-SU-2022:1689-1 |
| SLES 15 SP3 | docker | 20.10.14_ce-150000.163.1 | SUSE-SU-2022:1689-1 |
| SLES 15 SP3 | docker-stable | 24.0.9_ce-150000.1.25.1 | SUSE-SU-2025:03545-1 |
Show 26 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SLES 15 SP2 | containerd | 1.5.11-150000.68.1 | SUSE-SU-2022:1689-1 |
| SLES 15 SP2 | docker | 20.10.14_ce-150000.163.1 | SUSE-SU-2022:1689-1 |
| SLES 15 SP1 | containerd | 1.5.11-150000.68.1 | SUSE-SU-2022:1689-1 |
| SLES 15 SP1 | docker | 20.10.14_ce-150000.163.1 | SUSE-SU-2022:1689-1 |
| SLES 15 | containerd | 1.5.11-150000.68.1 | SUSE-SU-2022:1689-1 |
| SLES 15 | docker | 20.10.14_ce-150000.163.1 | SUSE-SU-2022:1689-1 |
| SLES 12 SP5 | docker-stable | 24.0.9_ce-1.20.1 | SUSE-SU-2025:03540-1 |
| SLES 12 | containerd | 1.5.11-16.57.1 | SUSE-SU-2022:1507-1 |
| SLES 12 | docker | 20.10.14_ce-98.80.1 | SUSE-SU-2022:1507-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 |
| SLES for SAP 15 SP2 | containerd | 1.5.11-150000.68.1 | SUSE-SU-2022:1689-1 |
| SLES for SAP 15 SP2 | docker | 20.10.14_ce-150000.163.1 | SUSE-SU-2022:1689-1 |
| SLES for SAP 15 SP1 | containerd | 1.5.11-150000.68.1 | SUSE-SU-2022:1689-1 |
| SLES for SAP 15 SP1 | docker | 20.10.14_ce-150000.163.1 | SUSE-SU-2022:1689-1 |
| SLES for SAP 15 | containerd | 1.5.11-150000.68.1 | SUSE-SU-2022:1689-1 |
| SLES for SAP 15 | docker | 20.10.14_ce-150000.163.1 | SUSE-SU-2022:1689-1 |
| SLE Micro 5.2 | containerd | 1.5.11-150000.68.1 | SUSE-SU-2022:1689-1 |
| SLE Micro 5.2 | docker | 20.10.14_ce-150000.163.1 | SUSE-SU-2022:1689-1 |
| SLE Micro 5.1 | containerd | 1.5.11-150000.68.1 | SUSE-SU-2022:1689-1 |
| SLE Micro 5.1 | docker | 20.10.14_ce-150000.163.1 | SUSE-SU-2022:1689-1 |
| SLE Micro 5.0 | containerd | 1.5.11-150000.68.1 | SUSE-SU-2022:1689-1 |
| SLE Micro 5.0 | docker | 20.10.14_ce-150000.163.1 | SUSE-SU-2022:1689-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 |
| SLE HPC 15 SP2 | containerd | 1.5.11-150000.68.1 | SUSE-SU-2022:1689-1 |
| SLE HPC 15 SP2 | docker | 20.10.14_ce-150000.163.1 | SUSE-SU-2022:1689-1 |
| SLE HPC 15 SP1 | containerd | 1.5.11-150000.68.1 | SUSE-SU-2022:1689-1 |
| SLE HPC 15 SP1 | docker | 20.10.14_ce-150000.163.1 | SUSE-SU-2022:1689-1 |
| SLE HPC 15 | containerd | 1.5.11-150000.68.1 | SUSE-SU-2022:1689-1 |
| SLE HPC 15 | docker | 20.10.14_ce-150000.163.1 | SUSE-SU-2022:1689-1 |
| SUSE Manager Server 4.1 | containerd | 1.5.11-150000.68.1 | SUSE-SU-2022:1689-1 |
| SUSE Manager Server 4.1 | docker | 20.10.14_ce-150000.163.1 | SUSE-SU-2022:1689-1 |
| SUSE Manager Retail Branch Server 4.1 | containerd | 1.5.11-150000.68.1 | SUSE-SU-2022:1689-1 |
| SUSE Manager Retail Branch Server 4.1 | docker | 20.10.14_ce-150000.163.1 | SUSE-SU-2022:1689-1 |
| SUSE Manager Proxy 4.1 | containerd | 1.5.11-150000.68.1 | SUSE-SU-2022:1689-1 |
| SUSE Manager Proxy 4.1 | docker | 20.10.14_ce-150000.163.1 | SUSE-SU-2022:1689-1 |
| SUSE Enterprise Storage 7.1 | docker-stable | 24.0.9_ce-150000.1.25.1 | SUSE-SU-2025:03545-1 |
| SUSE Enterprise Storage 7 | containerd | 1.5.11-150000.68.1 | SUSE-SU-2022:1689-1 |
| SUSE Enterprise Storage 7 | docker | 20.10.14_ce-150000.163.1 | SUSE-SU-2022:1689-1 |
| SUSE Enterprise Storage 6 | containerd | 1.5.11-150000.68.1 | SUSE-SU-2022:1689-1 |
| SUSE Enterprise Storage 6 | docker | 20.10.14_ce-150000.163.1 | SUSE-SU-2022:1689-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | containerd | 1.5.11-1.1 | openSUSE-SU-2024:12001-1 |
| openSUSE Tumbleweed | docker | 20.10.14_ce-1.1 | openSUSE-SU-2024:12002-1 |
| openSUSE Tumbleweed | docker-stable | 24.0.9_ce-15.1 | openSUSE-SU-2025:15589-1 |
| openSUSE Tumbleweed | runc | 1.1.2-1.1 | openSUSE-SU-2024:12074-1 |
| openSUSE Leap 15.6 | docker-stable | 24.0.9_ce-150000.1.25.1 | SUSE-SU-2025:03545-1 |
| openSUSE Leap 15.4 | containerd | 1.5.11-150000.68.1 | SUSE-SU-2022:1689-1 |
| openSUSE Leap 15.4 | docker +1 | 20.10.14_ce-150000.163.1 | SUSE-SU-2022:1689-1 |
| openSUSE Leap 15.3 | containerd | 1.5.11-150000.68.1 | SUSE-SU-2022:1689-1 |
| openSUSE Leap 15.3 | docker +1 | 20.10.14_ce-150000.163.1 | SUSE-SU-2022:1689-1 |
Alpine
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.24 | containerd | 1.6.2-r0 | — |
| Alpine v3.24 | docker | 20.10.14-r0 | — |
| Alpine v3.23 | containerd | 1.6.2-r0 | — |
| Alpine v3.23 | docker | 20.10.14-r0 | — |
| Alpine v3.22 | containerd | 1.6.2-r0 | — |
| Alpine v3.22 | docker | 20.10.14-r0 | — |
| Alpine v3.21 | containerd | 1.6.2-r0 | — |
| Alpine v3.21 | docker | 20.10.14-r0 | — |
| Alpine v3.20 | containerd | 1.6.2-r0 | — |
| Alpine v3.20 | docker | 20.10.14-r0 | — |
Show 5 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine v3.19 | containerd | 1.6.2-r0 | — |
| Alpine v3.19 | docker | 20.10.14-r0 | — |
| Alpine v3.18 | containerd | 1.6.2-r0 | — |
| Alpine v3.18 | docker | 20.10.14-r0 | — |
| Alpine v3.17 | containerd | 1.6.2-r0 | — |
| Alpine v3.17 | docker | 20.10.14-r0 | — |
| Alpine v3.16 | containerd | 1.6.2-r0 | — |
| Alpine v3.16 | docker | 20.10.14-r0 | — |
| Alpine v3.15 | containerd | 1.5.11-r0 | — |
| Alpine v3.15 | docker | 20.10.14-r0 | — |
Amazon Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Amazon Linux 2023 | containerd +1 | 1.6.8-2.amzn2023.0.3 | ALAS2023-2023-079 |
Azure Linux
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Azure Linux 2 (CBL-Mariner) | moby-runc | 1.1.2-2 | — |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | ctop | 0.7.7-r13 | — |
| Wolfi rolling | docker-machine-driver-harvester | 1.0.4-r1 | — |
| Wolfi rolling | rancher-machine | 0.15.0.137-r0 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/docker/docker | < 20.10.14 | 20.10.14 | GHSA-2mm7-x5h6-5pvq |
| Go | github.com/docker/docker | < 20.10.14+incompatible | 20.10.14+incompatible | GO-2022-0390 |
| Go | github.com/moby/moby | < 20.10.14 | 20.10.14 | GHSA-2mm7-x5h6-5pvq |
| Go | github.com/moby/moby | < 20.10.14+incompatible | 20.10.14+incompatible | GO-2022-0390 |
Advisories 13
- USN-5776-1 containerd vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- openSUSE-SU-2025:15589-1 docker-stable-24.0.9_ce-15.1 on GA media SUSE / openSUSE Security Updates · Mar 23, 2026
- SUSE-SU-2025:03545-1 Security update for docker-stable SUSE / openSUSE Security Updates · Mar 23, 2026
- DSA-5162-1 containerd - security update Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2024:12074-1 runc-1.1.2-1.1 on GA media SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2025:03540-1 Security update for docker-stable SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:1689-1 Security update for containerd, docker SUSE / openSUSE Security Updates · Feb 4, 2026
- SUSE-SU-2022:1507-1 Security update for containerd, docker SUSE / openSUSE Security Updates · Feb 4, 2026
- WID-SEC-2022-1738 IBM InfoSphere Information Server: Mehrere Schwachstellen BSI CERT-Bund (WID) · Nov 3, 2025
- WID-SEC-2022-1375 JFrog Artifactory: Mehrere Schwachstellen BSI CERT-Bund (WID) · Oct 12, 2025
- openSUSE-SU-2024:12001-1 containerd-1.5.11-1.1 on GA media SUSE / openSUSE Security Updates · May 7, 2025
- openSUSE-SU-2024:12002-1 docker-20.10.14_ce-1.1 on GA media SUSE / openSUSE Security Updates · May 7, 2025
- ALAS2023-2023-079 Moderate: containerd security update (Amazon Linux 2023) Amazon Linux Security Center (ALAS) · Feb 22, 2023
References
- https://github.com/moby/moby/security/advisories/GHSA-2mm7-x5h6-5pvq
- https://github.com/moby/moby/commit/2bbc786e4c59761d722d2d1518cd0a32829bc07f
- https://github.com/moby/moby/releases/tag/v20.10.14
- FEDORA-2022-e9a09c1a7d vendor-advisory
- FEDORA-2022-ed53f2439a vendor-advisory
- FEDORA-2022-c07546070d vendor-advisory
- FEDORA-2022-cac2323802 vendor-advisory
- FEDORA-2022-eda0049dd7 vendor-advisory
- FEDORA-2022-3826c8f549 vendor-advisory
- [oss-security] 20220512 CVE-2022-29162: runc < 1.1.2 incorrect handling of inheritable capabilities in default configuration mailing-list
- DSA-5162 vendor-advisory
- GLSA-202401-31 vendor-advisory