Vulnerability
CVE-2022-24769
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.
42 advisories report this vulnerability, across 12 ecosystems.
Advisories
-
ALAS2023-2023-079
Amazon Linux 2023 - ALAS2023-2023-079: Medium priority package update for containerd
-
ALPINE-CVE-2022-24769
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…
- ALPINE-EDGE-CVE-2022-24769
-
AZL-9698
CVE-2022-24769 affecting package moby-runc for versions less than 1.1.2-2
- CGA-2qq6-968x-592j
- CGA-2w77-qqwq-g88x
- CGA-2x2h-8vqq-pwqf
- CGA-334c-prp9-c8v6
- CGA-4rmr-2pqf-hm54
- CGA-529w-29qf-rw9h
- CGA-633g-p8wv-gmvx
- CGA-6v3p-976j-j6vm
- CGA-8p3g-jg45-hmv9
- CGA-8rxc-4jpp-99rx
- CGA-cq4g-mh5c-hjxm
- CGA-fgvg-9c2r-cvj2
- CGA-g8f3-wgww-p2f9
- CGA-j89g-v3wh-x2p8
- CGA-m3xg-v9jm-qcx9
- CGA-mv75-4h23-x49j
- CGA-q22q-85q6-wjjm
- CGA-q2q9-2jg7-q4rr
- CGA-v3m9-wrmv-2jv9
- CGA-v6fw-rgf2-vr25
- CGA-wchw-595r-vg8m
- CGA-xr5v-h27m-mqp6
-
DEBIAN-CVE-2022-24769
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…
-
DSA-5162-1
containerd - security update
-
GHSA-2mm7-x5h6-5pvq
Moby (Docker Engine) started with non-empty inheritable Linux process capabilities
-
GO-2022-0390
Moby (Docker Engine) started with non-empty inheritable Linux process capabilities in github.com/docker/docker
-
OESA-2022-1726
docker security update
-
RHVEX-CVE-2022-24769
moby: Default inheritable capabilities for linux container should be empty
-
SUSE-SU-2022:1507-1
Security update for containerd, docker
-
SUSE-SU-2022:1689-1
Security update for containerd, docker
-
SUSE-SU-2025:03540-1
Security update for docker-stable
-
SUSE-SU-2025:03545-1
Security update for docker-stable
-
UBUNTU-CVE-2022-24769
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…
-
USN-5776-1
containerd vulnerabilities
-
openSUSE-SU-2024:12001-1
containerd-1.5.11-1.1 on GA media
-
openSUSE-SU-2024:12002-1
docker-20.10.14_ce-1.1 on GA media
-
openSUSE-SU-2024:12074-1
runc-1.1.2-1.1 on GA media
-
openSUSE-SU-2025:15589-1
docker-stable-24.0.9_ce-15.1 on GA media
References
- http://www.openwall.com/lists/oss-security/2022/05/12/1
- https://github.com/moby/moby/commit/2bbc786e4c59761d722d2d1518cd0a32829bc07f
- https://github.com/moby/moby/releases/tag/v20.10.14
- https://github.com/moby/moby/security/advisories/GHSA-2mm7-x5h6-5pvq
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6PMQKCAPK2AR3DCYITJYMMNBEGQBGLCC/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/A5AFKOQ5CE3CEIULWW4FLQKHFFU6FSYG/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/A5FQJ3MLFSEKQYCFPFZIKYGBXPZUJFVY/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FPOJUJZXGMIVKRS4QR75F6OIXNQ6LDBL/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HIMAHZ6AUIKN7AX26KHZYBXVECIOVWBH/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HQCVS7WBFSTKJFNX5PGDRARMTOFWV2O7/
- https://security.gentoo.org/glsa/202401-31
- https://www.debian.org/security/2022/dsa-5162