CVE-2022-24769
Fixed in a distro release EPSS <1%CVSS 5.9
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.
Products: moby
Fixed upstream
| Ecosystem | Package | Fixed in |
|---|---|---|
| Go | github.com/docker/docker | 20.10.14 |
| Go | github.com/docker/docker | 20.10.14+incompatible |
| Go | github.com/moby/moby | 20.10.14 |
| Go | github.com/moby/moby | 20.10.14+incompatible |
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| Amazon Linux 2023 | containerd | 1.6.8-2.amzn2023.0.3 |
| Amazon Linux 2023 | containerd-stress | 1.6.8-2.amzn2023.0.3 |
| Chainguard | ctop | 0.7.7-r13 |
| Chainguard | docker | 0 |
| Chainguard | docker-config-mirror-gcr | 0 |
| Chainguard | docker-dind | 0 |
| Chainguard | docker-dind-compat | 0 |
| Chainguard | docker-init | 0 |
| Chainguard | docker-machine-driver-harvester | 1.0.4-r1 |
| Chainguard | docker-machine-driver-harvester | 1.0.5-r0 |
| Chainguard | docker-modprobe-compat | 0 |
| Chainguard | docker-oci-entrypoint | 0 |
| Chainguard | docker-rootless | 0 |
| Chainguard | dockerd | 0 |
| Chainguard | dockerd-oci-entrypoint | 0 |
| Chainguard | dockerd-service | 0 |
| Chainguard | rancher-machine | 0.15.0.137-r0 |
| Debian 11 | containerd | 1.4.13~ds1-1~deb11u2 |
| Debian 12 | containerd | 1.6.2~ds1-1 |
| Debian 13 | containerd | 1.6.2~ds1-1 |
| Debian 14 | containerd | 1.6.2~ds1-1 |
| SUSE Enterprise Storage 6 | containerd | 1.5.11-150000.68.1 |
| SUSE Enterprise Storage 6 | docker | 20.10.14_ce-150000.163.1 |
| SUSE Enterprise Storage 7 | containerd | 1.5.11-150000.68.1 |
| SUSE Enterprise Storage 7 | docker | 20.10.14_ce-150000.163.1 |
| SUSE Enterprise Storage 7.1 | docker-stable | 24.0.9_ce-150000.1.25.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS | containerd | 1.5.11-150000.68.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS | docker | 20.10.14_ce-150000.163.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS | containerd | 1.5.11-150000.68.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS | docker | 20.10.14_ce-150000.163.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS | containerd | 1.5.11-150000.68.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS | docker | 20.10.14_ce-150000.163.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS | containerd | 1.5.11-150000.68.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS | docker | 20.10.14_ce-150000.163.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS | docker-stable | 24.0.9_ce-150000.1.25.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS | docker-stable | 24.0.9_ce-150000.1.25.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS | docker-stable | 24.0.9_ce-150000.1.25.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS | docker-stable | 24.0.9_ce-150000.1.25.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS | docker-stable | 24.0.9_ce-150000.1.25.1 |
| SUSE Linux Enterprise High Performance Computing 15-ESPOS | containerd | 1.5.11-150000.68.1 |
| SUSE Linux Enterprise High Performance Computing 15-ESPOS | docker | 20.10.14_ce-150000.163.1 |
| SUSE Linux Enterprise High Performance Computing 15-LTSS | containerd | 1.5.11-150000.68.1 |
| SUSE Linux Enterprise High Performance Computing 15-LTSS | docker | 20.10.14_ce-150000.163.1 |
| SUSE Linux Enterprise Micro 5.0 | containerd | 1.5.11-150000.68.1 |
| SUSE Linux Enterprise Micro 5.0 | docker | 20.10.14_ce-150000.163.1 |
| SUSE Linux Enterprise Micro 5.1 | containerd | 1.5.11-150000.68.1 |
| SUSE Linux Enterprise Micro 5.1 | docker | 20.10.14_ce-150000.163.1 |
| SUSE Linux Enterprise Micro 5.2 | containerd | 1.5.11-150000.68.1 |
| SUSE Linux Enterprise Micro 5.2 | docker | 20.10.14_ce-150000.163.1 |
| SUSE Linux Enterprise Module for Containers 12 | containerd | 1.5.11-16.57.1 |
| SUSE Linux Enterprise Module for Containers 12 | docker | 20.10.14_ce-98.80.1 |
| SUSE Linux Enterprise Module for Containers 15 SP3 | containerd | 1.5.11-150000.68.1 |
| SUSE Linux Enterprise Module for Containers 15 SP3 | docker | 20.10.14_ce-150000.163.1 |
| SUSE Linux Enterprise Module for Containers 15 SP4 | containerd | 1.5.11-150000.68.1 |
| SUSE Linux Enterprise Module for Containers 15 SP4 | docker | 20.10.14_ce-150000.163.1 |
| SUSE Linux Enterprise Module for Containers 15 SP6 | docker-stable | 24.0.9_ce-150000.1.25.1 |
| SUSE Linux Enterprise Module for Containers 15 SP7 | docker-stable | 24.0.9_ce-150000.1.25.1 |
| SUSE Linux Enterprise Module for Package Hub 15 SP3 | containerd | 1.5.11-150000.68.1 |
| SUSE Linux Enterprise Server 12 SP5-LTSS | docker-stable | 24.0.9_ce-1.20.1 |
| SUSE Linux Enterprise Server 15 SP1-BCL | containerd | 1.5.11-150000.68.1 |
| SUSE Linux Enterprise Server 15 SP1-BCL | docker | 20.10.14_ce-150000.163.1 |
| SUSE Linux Enterprise Server 15 SP1-LTSS | containerd | 1.5.11-150000.68.1 |
| SUSE Linux Enterprise Server 15 SP1-LTSS | docker | 20.10.14_ce-150000.163.1 |
| SUSE Linux Enterprise Server 15 SP2-BCL | containerd | 1.5.11-150000.68.1 |
| SUSE Linux Enterprise Server 15 SP2-BCL | docker | 20.10.14_ce-150000.163.1 |
| SUSE Linux Enterprise Server 15 SP2-LTSS | containerd | 1.5.11-150000.68.1 |
| SUSE Linux Enterprise Server 15 SP2-LTSS | docker | 20.10.14_ce-150000.163.1 |
| SUSE Linux Enterprise Server 15 SP3-LTSS | docker-stable | 24.0.9_ce-150000.1.25.1 |
| SUSE Linux Enterprise Server 15 SP4-LTSS | docker-stable | 24.0.9_ce-150000.1.25.1 |
| SUSE Linux Enterprise Server 15 SP5-LTSS | docker-stable | 24.0.9_ce-150000.1.25.1 |
| SUSE Linux Enterprise Server 15-LTSS | containerd | 1.5.11-150000.68.1 |
| SUSE Linux Enterprise Server 15-LTSS | docker | 20.10.14_ce-150000.163.1 |
| SUSE Linux Enterprise Server LTSS Extended Security 12 SP5 | docker-stable | 24.0.9_ce-1.20.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 | containerd | 1.5.11-150000.68.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 | docker | 20.10.14_ce-150000.163.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP1 | containerd | 1.5.11-150000.68.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP1 | docker | 20.10.14_ce-150000.163.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP2 | containerd | 1.5.11-150000.68.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP2 | docker | 20.10.14_ce-150000.163.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP3 | docker-stable | 24.0.9_ce-150000.1.25.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP4 | docker-stable | 24.0.9_ce-150000.1.25.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP5 | docker-stable | 24.0.9_ce-150000.1.25.1 |
| SUSE Manager Proxy 4.1 | containerd | 1.5.11-150000.68.1 |
| SUSE Manager Proxy 4.1 | docker | 20.10.14_ce-150000.163.1 |
| SUSE Manager Retail Branch Server 4.1 | containerd | 1.5.11-150000.68.1 |
| SUSE Manager Retail Branch Server 4.1 | docker | 20.10.14_ce-150000.163.1 |
| SUSE Manager Server 4.1 | containerd | 1.5.11-150000.68.1 |
| SUSE Manager Server 4.1 | docker | 20.10.14_ce-150000.163.1 |
| Ubuntu 18.04 LTS | containerd | 1.5.9-0ubuntu1~18.04.2 |
| Ubuntu 20.04 LTS | containerd | 1.5.9-0ubuntu1~20.04.6 |
| Ubuntu 22.04 LTS | containerd | 1.5.9-0ubuntu3.1 |
| Ubuntu Pro 16.04 LTS | containerd | no fix |
| Wolfi | ctop | 0.7.7-r13 |
| Wolfi | docker | 0 |
| Wolfi | docker-config-mirror-gcr | 0 |
| Wolfi | docker-dind | 0 |
| Wolfi | docker-dind-compat | 0 |
| Wolfi | docker-init | 0 |
| Wolfi | docker-machine-driver-harvester | 1.0.5-r0 |
| Wolfi | docker-machine-driver-harvester | 1.0.4-r1 |
| Wolfi | docker-modprobe-compat | 0 |
| Wolfi | docker-oci-entrypoint | 0 |
| Wolfi | docker-rootless | 0 |
| Wolfi | dockerd | 0 |
| Wolfi | dockerd-oci-entrypoint | 0 |
| Wolfi | dockerd-service | 0 |
| Wolfi | rancher-machine | 0.15.0.137-r0 |
| openSUSE Leap 15.3 | containerd | 1.5.11-150000.68.1 |
| openSUSE Leap 15.3 | docker | 20.10.14_ce-150000.163.1 |
| openSUSE Leap 15.3 | docker-kubic | 20.10.14_ce-150000.163.1 |
| openSUSE Leap 15.4 | containerd | 1.5.11-150000.68.1 |
| openSUSE Leap 15.4 | docker | 20.10.14_ce-150000.163.1 |
| openSUSE Leap 15.4 | docker-kubic | 20.10.14_ce-150000.163.1 |
| openSUSE Leap 15.6 | docker-stable | 24.0.9_ce-150000.1.25.1 |
| openSUSE Tumbleweed | containerd | 1.5.11-1.1 |
| openSUSE Tumbleweed | docker | 20.10.14_ce-1.1 |
| openSUSE Tumbleweed | docker-stable | 24.0.9_ce-15.1 |
| openSUSE Tumbleweed | runc | 1.1.2-1.1 |