CVE-2022-24769
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
github.com/moby/mobyGo | < 20.10.14 | 20.10.14 |
github.com/docker/dockerGo | < 20.10.14 | 20.10.14 |
Affected products
115- ghsa-coords108 versionspkg:golang/github.com/moby/mobypkg:golang/github.com/docker/dockerpkg:apk/wolfi/docker-modprobe-compatpkg:rpm/suse/containerd&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Containers%2012pkg:rpm/suse/docker&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Containers%2012pkg:apk/chainguard/docker-config-mirror-gcrpkg:rpm/suse/docker-stable&distro=SUSE%20Linux%20Enterprise%20Server%2012%20SP5-LTSSpkg:apk/wolfi/dockerpkg:apk/chainguard/docker-initpkg:rpm/suse/containerd&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Containers%2015%20SP3pkg:rpm/suse/containerd&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Containers%2015%20SP4pkg:rpm/suse/docker&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Containers%2015%20SP4pkg:rpm/suse/containerd&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Package%20Hub%2015%20SP3pkg:rpm/suse/docker&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-LTSSpkg:rpm/suse/containerd&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-ESPOSpkg:rpm/suse/docker&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-LTSSpkg:rpm/suse/containerd&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-BCLpkg:rpm/suse/containerd&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015pkg:rpm/suse/docker&distro=SUSE%20Manager%20Proxy%204.1pkg:rpm/suse/docker&distro=SUSE%20Manager%20Server%204.1pkg:rpm/suse/containerd&distro=SUSE%20Linux%20Enterprise%20Micro%205.2pkg:rpm/suse/docker&distro=SUSE%20Enterprise%20Storage%206pkg:apk/chainguard/dockerpkg:apk/chainguard/docker-dindpkg:apk/wolfi/docker-dindpkg:apk/chainguard/docker-oci-entrypointpkg:apk/wolfi/docker-oci-entrypointpkg:apk/chainguard/docker-rootlesspkg:apk/wolfi/docker-rootlesspkg:apk/chainguard/dockerdpkg:apk/wolfi/dockerdpkg:apk/chainguard/dockerd-oci-entrypointpkg:apk/wolfi/dockerd-oci-entrypointpkg:rpm/opensuse/docker-stable&distro=openSUSE%20Tumbleweedpkg:rpm/suse/docker-stable&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-LTSSpkg:rpm/suse/docker-stable&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-ESPOSpkg:rpm/suse/docker-stable&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP4-LTSSpkg:rpm/suse/docker-stable&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP5-ESPOSpkg:rpm/opensuse/docker-stable&distro=openSUSE%20Leap%2015.6pkg:apk/chainguard/docker-dind-compatpkg:apk/chainguard/docker-machine-driver-harvesterpkg:apk/chainguard/docker-modprobe-compatpkg:apk/chainguard/dockerd-servicepkg:apk/chainguard/rancher-machinepkg:apk/wolfi/docker-config-mirror-gcrpkg:apk/wolfi/docker-dind-compatpkg:apk/wolfi/docker-initpkg:apk/wolfi/docker-machine-driver-harvesterpkg:apk/wolfi/dockerd-servicepkg:apk/wolfi/rancher-machinepkg:rpm/suse/docker-stable&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP5-LTSSpkg:rpm/suse/docker-stable&distro=SUSE%20Linux%20Enterprise%20Server%20LTSS%20Extended%20Security%2012%20SP5pkg:rpm/opensuse/docker&distro=openSUSE%20Tumbleweedpkg:apk/chainguard/ctoppkg:apk/wolfi/ctoppkg:rpm/suse/docker&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Containers%2015%20SP3pkg:rpm/suse/containerd&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-ESPOSpkg:rpm/suse/docker&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-ESPOSpkg:rpm/suse/containerd&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015-LTSSpkg:rpm/suse/docker&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-ESPOSpkg:rpm/suse/containerd&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-LTSSpkg:rpm/suse/docker&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-LTSSpkg:rpm/suse/containerd&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-ESPOSpkg:rpm/suse/docker&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-ESPOSpkg:rpm/suse/containerd&distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP2-LTSSpkg:rpm/suse/containerd&distro=SUSE%20Linux%20Enterprise%20Server%2015-LTSSpkg:rpm/suse/docker&distro=SUSE%20Linux%20Enterprise%20Server%2015-LTSSpkg:rpm/suse/docker&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-LTSSpkg:rpm/suse/containerd&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP2-BCLpkg:rpm/suse/containerd&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP2-LTSSpkg:rpm/suse/docker&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015pkg:rpm/suse/containerd&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP2pkg:rpm/suse/containerd&distro=SUSE%20Manager%20Proxy%204.1pkg:rpm/suse/docker&distro=SUSE%20Manager%20Retail%20Branch%20Server%204.1pkg:rpm/suse/containerd&distro=SUSE%20Manager%20Server%204.1pkg:rpm/suse/docker&distro=SUSE%20Linux%20Enterprise%20Micro%205.0pkg:rpm/suse/docker&distro=SUSE%20Linux%20Enterprise%20Micro%205.1pkg:rpm/suse/docker&distro=SUSE%20Linux%20Enterprise%20Micro%205.2pkg:rpm/suse/containerd&distro=SUSE%20Enterprise%20Storage%206pkg:rpm/opensuse/docker-kubic&distro=openSUSE%20Leap%2015.3pkg:rpm/opensuse/docker&distro=openSUSE%20Leap%2015.4pkg:rpm/opensuse/docker-kubic&distro=openSUSE%20Leap%2015.4pkg:rpm/opensuse/containerd&distro=openSUSE%20Tumbleweedpkg:rpm/suse/docker-stable&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Containers%2015%20SP6pkg:rpm/suse/docker-stable&distro=SUSE%20Linux%20Enterprise%20Module%20for%20Containers%2015%20SP7pkg:rpm/suse/docker-stable&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP4-LTSSpkg:rpm/suse/docker-stable&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP3pkg:rpm/suse/docker-stable&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP5pkg:rpm/suse/docker&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-BCLpkg:rpm/suse/containerd&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-LTSSpkg:rpm/suse/docker&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP2-BCLpkg:rpm/suse/docker&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP2-LTSSpkg:rpm/suse/containerd&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP1pkg:rpm/suse/docker&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP1pkg:rpm/suse/docker&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP2pkg:rpm/suse/containerd&distro=SUSE%20Manager%20Retail%20Branch%20Server%204.1pkg:rpm/suse/containerd&distro=SUSE%20Linux%20Enterprise%20Micro%205.0pkg:rpm/suse/containerd&distro=SUSE%20Linux%20Enterprise%20Micro%205.1pkg:rpm/suse/docker&distro=SUSE%20Enterprise%20Storage%207pkg:rpm/opensuse/containerd&distro=openSUSE%20Leap%2015.3pkg:rpm/opensuse/docker&distro=openSUSE%20Leap%2015.3pkg:rpm/opensuse/containerd&distro=openSUSE%20Leap%2015.4pkg:rpm/suse/docker-stable&distro=SUSE%20Enterprise%20Storage%207.1pkg:rpm/suse/docker-stable&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP3-LTSSpkg:rpm/suse/docker-stable&distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP5-LTSSpkg:rpm/suse/docker-stable&distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP4pkg:rpm/suse/containerd&distro=SUSE%20Enterprise%20Storage%207pkg:rpm/opensuse/runc&distro=openSUSE%20Tumbleweed
< 20.10.14+ 107 more
- (no CPE)range: < 20.10.14
- (no CPE)range: < 20.10.14
- (no CPE)range: < 0
- (no CPE)range: < 1.5.11-16.57.1
- (no CPE)range: < 20.10.14_ce-98.80.1
- (no CPE)range: < 0
- (no CPE)range: < 24.0.9_ce-1.20.1
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 1.5.11-150000.68.1
- (no CPE)range: < 1.5.11-150000.68.1
- (no CPE)range: < 20.10.14_ce-150000.163.1
- (no CPE)range: < 1.5.11-150000.68.1
- (no CPE)range: < 20.10.14_ce-150000.163.1
- (no CPE)range: < 1.5.11-150000.68.1
- (no CPE)range: < 20.10.14_ce-150000.163.1
- (no CPE)range: < 1.5.11-150000.68.1
- (no CPE)range: < 1.5.11-150000.68.1
- (no CPE)range: < 20.10.14_ce-150000.163.1
- (no CPE)range: < 20.10.14_ce-150000.163.1
- (no CPE)range: < 1.5.11-150000.68.1
- (no CPE)range: < 20.10.14_ce-150000.163.1
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 24.0.9_ce-15.1
- (no CPE)range: < 24.0.9_ce-150000.1.25.1
- (no CPE)range: < 24.0.9_ce-150000.1.25.1
- (no CPE)range: < 24.0.9_ce-150000.1.25.1
- (no CPE)range: < 24.0.9_ce-150000.1.25.1
- (no CPE)range: < 24.0.9_ce-150000.1.25.1
- (no CPE)range: < 0
- (no CPE)range: < 1.0.5-r0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0.15.0.137-r0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 0
- (no CPE)range: < 1.0.5-r0
- (no CPE)range: < 0
- (no CPE)range: < 0.15.0.137-r0
- (no CPE)range: < 24.0.9_ce-150000.1.25.1
- (no CPE)range: < 24.0.9_ce-1.20.1
- (no CPE)range: < 20.10.14_ce-1.1
- (no CPE)range: < 0.7.7-r13
- (no CPE)range: < 0.7.7-r13
- (no CPE)range: < 20.10.14_ce-150000.163.1
- (no CPE)range: < 1.5.11-150000.68.1
- (no CPE)range: < 20.10.14_ce-150000.163.1
- (no CPE)range: < 1.5.11-150000.68.1
- (no CPE)range: < 20.10.14_ce-150000.163.1
- (no CPE)range: < 1.5.11-150000.68.1
- (no CPE)range: < 20.10.14_ce-150000.163.1
- (no CPE)range: < 1.5.11-150000.68.1
- (no CPE)range: < 20.10.14_ce-150000.163.1
- (no CPE)range: < 1.5.11-150000.68.1
- (no CPE)range: < 1.5.11-150000.68.1
- (no CPE)range: < 20.10.14_ce-150000.163.1
- (no CPE)range: < 20.10.14_ce-150000.163.1
- (no CPE)range: < 1.5.11-150000.68.1
- (no CPE)range: < 1.5.11-150000.68.1
- (no CPE)range: < 20.10.14_ce-150000.163.1
- (no CPE)range: < 1.5.11-150000.68.1
- (no CPE)range: < 1.5.11-150000.68.1
- (no CPE)range: < 20.10.14_ce-150000.163.1
- (no CPE)range: < 1.5.11-150000.68.1
- (no CPE)range: < 20.10.14_ce-150000.163.1
- (no CPE)range: < 20.10.14_ce-150000.163.1
- (no CPE)range: < 20.10.14_ce-150000.163.1
- (no CPE)range: < 1.5.11-150000.68.1
- (no CPE)range: < 20.10.14_ce-150000.163.1
- (no CPE)range: < 20.10.14_ce-150000.163.1
- (no CPE)range: < 20.10.14_ce-150000.163.1
- (no CPE)range: < 1.5.11-1.1
- (no CPE)range: < 24.0.9_ce-150000.1.25.1
- (no CPE)range: < 24.0.9_ce-150000.1.25.1
- (no CPE)range: < 24.0.9_ce-150000.1.25.1
- (no CPE)range: < 24.0.9_ce-150000.1.25.1
- (no CPE)range: < 24.0.9_ce-150000.1.25.1
- (no CPE)range: < 20.10.14_ce-150000.163.1
- (no CPE)range: < 1.5.11-150000.68.1
- (no CPE)range: < 20.10.14_ce-150000.163.1
- (no CPE)range: < 20.10.14_ce-150000.163.1
- (no CPE)range: < 1.5.11-150000.68.1
- (no CPE)range: < 20.10.14_ce-150000.163.1
- (no CPE)range: < 20.10.14_ce-150000.163.1
- (no CPE)range: < 1.5.11-150000.68.1
- (no CPE)range: < 1.5.11-150000.68.1
- (no CPE)range: < 1.5.11-150000.68.1
- (no CPE)range: < 20.10.14_ce-150000.163.1
- (no CPE)range: < 1.5.11-150000.68.1
- (no CPE)range: < 20.10.14_ce-150000.163.1
- (no CPE)range: < 1.5.11-150000.68.1
- (no CPE)range: < 24.0.9_ce-150000.1.25.1
- (no CPE)range: < 24.0.9_ce-150000.1.25.1
- (no CPE)range: < 24.0.9_ce-150000.1.25.1
- (no CPE)range: < 24.0.9_ce-150000.1.25.1
- (no CPE)range: < 1.5.11-150000.68.1
- (no CPE)range: < 1.1.2-1.1
< 20.10.14+ 1 more
- (no CPE)range: < 20.10.14
- cpe:2.3:a:mobyproject:moby:*:*:*:*:*:*:*:*range: <20.10.14
cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*+ 2 more
- cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
- cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
- cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
Patches
Vulnerability mechanics
References
27- github.com/moby/moby/commit/2bbc786e4c59761d722d2d1518cd0a32829bc07fnvdPatchThird Party AdvisoryWEB
- www.openwall.com/lists/oss-security/2022/05/12/1nvdMailing ListThird Party AdvisoryWEB
- github.com/advisories/GHSA-2mm7-x5h6-5pvqghsaADVISORY
- github.com/moby/moby/releases/tag/v20.10.14nvdRelease NotesThird Party AdvisoryWEB
- github.com/moby/moby/security/advisories/GHSA-2mm7-x5h6-5pvqnvdMitigationThird Party AdvisoryWEB
- nvd.nist.gov/vuln/detail/CVE-2022-24769ghsaADVISORY
- www.debian.org/security/2022/dsa-5162nvdThird Party AdvisoryWEB
- github.com/moby/moby/commit/7f375bcff41ce672cd61e9a31f3eeb2966e3dbe1ghsaWEB
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6PMQKCAPK2AR3DCYITJYMMNBEGQBGLCCghsaWEB
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/A5AFKOQ5CE3CEIULWW4FLQKHFFU6FSYGghsaWEB
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/A5FQJ3MLFSEKQYCFPFZIKYGBXPZUJFVYghsaWEB
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FPOJUJZXGMIVKRS4QR75F6OIXNQ6LDBLghsaWEB
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HIMAHZ6AUIKN7AX26KHZYBXVECIOVWBHghsaWEB
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HQCVS7WBFSTKJFNX5PGDRARMTOFWV2O7ghsaWEB
- lists.fedoraproject.org/archives/list/[email protected]/message/6PMQKCAPK2AR3DCYITJYMMNBEGQBGLCCghsaWEB
- lists.fedoraproject.org/archives/list/[email protected]/message/A5AFKOQ5CE3CEIULWW4FLQKHFFU6FSYGghsaWEB
- lists.fedoraproject.org/archives/list/[email protected]/message/A5FQJ3MLFSEKQYCFPFZIKYGBXPZUJFVYghsaWEB
- lists.fedoraproject.org/archives/list/[email protected]/message/FPOJUJZXGMIVKRS4QR75F6OIXNQ6LDBLghsaWEB
- lists.fedoraproject.org/archives/list/[email protected]/message/HIMAHZ6AUIKN7AX26KHZYBXVECIOVWBHghsaWEB
- lists.fedoraproject.org/archives/list/[email protected]/message/HQCVS7WBFSTKJFNX5PGDRARMTOFWV2O7ghsaWEB
- security.gentoo.org/glsa/202401-31nvdWEB
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6PMQKCAPK2AR3DCYITJYMMNBEGQBGLCC/nvd
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/A5AFKOQ5CE3CEIULWW4FLQKHFFU6FSYG/nvd
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/A5FQJ3MLFSEKQYCFPFZIKYGBXPZUJFVY/nvd
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FPOJUJZXGMIVKRS4QR75F6OIXNQ6LDBL/nvd
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HIMAHZ6AUIKN7AX26KHZYBXVECIOVWBH/nvd
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HQCVS7WBFSTKJFNX5PGDRARMTOFWV2O7/nvd
News mentions
0No linked articles in our index yet.