Skip to content
Fencer Vulns
medium 5.9

CVE-2022-24769 json

Default inheritable capabilities for linux container should be empty

published 2022-03-24 4 y ago modified 2026-09-10 59 d ago also EUVD-2024-1065 , GHSA-2mm7-x5h6-5pvq , GO-2022-0390

cvss
5.9
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.5%
EPSS 0.5% chance of exploitation in 30 days, percentile 42%
public exploits
0
none known

Summary

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.

Patch / fix

  • go github.com/moby/moby 20.10.14, 20.10.14+incompatible
  • go github.com/docker/docker 20.10.14, 20.10.14+incompatible
  • mobyproject moby 20.10.14
  • linuxfoundation runc 1.1.2
  • containerd Debian 14, Debian 13, Debian 12 1.6.2~ds1-1

debian advisories DEBIAN-CVE-2022-24769

  • containerd Ubuntu 18.04 LTS 1.5.9-0ubuntu1~18.04.2
  • containerd Ubuntu 20.04 LTS 1.5.9-0ubuntu1~20.04.6
  • containerd Ubuntu 22.04 LTS 1.5.9-0ubuntu3.1

ubuntu advisories UBUNTU-CVE-2022-24769

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • docker-stable SLES for SAP 15 SP5, SLES for SAP 15 SP4, SLES for SAP 15 SP3 +12 more 24.0.9_ce-150000.1.25.1
  • docker SLES for SAP 15 SP2, SLES for SAP 15 SP1, SLES for SAP 15 +23 more 20.10.14_ce-150000.163.1
  • containerd SLES for SAP 15 SP2, SLES for SAP 15 SP1, SLES for SAP 15 +24 more 1.5.11-150000.68.1
  • docker-kubic openSUSE Leap 15.4, openSUSE Leap 15.3 20.10.14_ce-150000.163.1
  • docker SLE Module for Containers 12 20.10.14_ce-98.80.1
  • containerd SLE Module for Containers 12 1.5.11-16.57.1
  • docker-stable SLES LTSS Extended Security 12 SP5, SLES 12 SP5-LTSS 24.0.9_ce-1.20.1

suse advisories SUSE-SU-2025:03545-1SUSE-SU-2025:03540-1SUSE-SU-2022:1689-1SUSE-SU-2022:1507-1

  • docker-stable openSUSE Tumbleweed 24.0.9_ce-15.1
  • containerd openSUSE Tumbleweed 1.5.11-1.1
  • docker openSUSE Tumbleweed 20.10.14_ce-1.1
  • runc openSUSE Tumbleweed 1.1.2-1.1

opensuse advisories openSUSE-SU-2025:15589-1openSUSE-SU-2024:12001-1openSUSE-SU-2024:12002-1openSUSE-SU-2024:12074-1

  • docker Alpine 3.24, Alpine 3.23, Alpine 3.22 +7 more 20.10.14-r0
  • containerd Alpine 3.15 1.5.11-r0
  • containerd Alpine 3.24, Alpine 3.23, Alpine 3.22 +6 more 1.6.2-r0

alpine advisories ALPINE-CVE-2022-24769

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • moby-runc CBL-Mariner 2.0 1.1.2-2

azure linux advisories AZL-9698

Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2022-24769 updated cvss 4.8

moby: Default inheritable capabilities for linux container should be empty

  • Red Hat Migration Toolkit for Virtualization migration-toolkit-virtualization/mtv-controller-rhel9 Red Hat Advanced Cluster Security 3 advanced-cluster-security/rhacs-rhel8-operator Red Hat Enterprise Linux 7 docker Red Hat OpenShift Container Platform 4 openshift4/ose-console, openshift4/ose-ptp-operator, assisted-installer-container, openshift4/ovirt-csi-driver-rhel8, assisted-installer-agent-container, openshift4/compliance-rhel8-operator, +10 more Red Hat OpenShift Container Platform Assisted Installer 1 rhai-tech-preview/assisted-installer-rhel8, rhai-tech-preview/assisted-installer-agent-rhel8 Red Hat OpenShift Virtualization 2 vm-import-virtv2v-container, vm-import-operator-container, container-native-virtualization/vm-import-controller-rhel8
    +2 more products
    Red Hat OpenShift Virtualization 4 container-native-virtualization/vm-import-virtv2v-rhel8, container-native-virtualization/vm-import-operator-rhel8, container-native-virtualization/vm-import-controller-rhel8 Red Hat Quay 3 quay/quay-builder-rhel8
    affected: workaround, no fix available “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.”
  • Red Hat OpenShift Container Platform 4.6 openshift4/ose-local-storage-operator v4.6.0-202204261127.p0.g6cc1fff.assembly.stream, openshift4/ose-local-storage-diskmaker v4.6.0-202205020737.p0.g6cc1fff.assembly.stream
    fixed: vendor fix “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.” RHSA-2022:2265
  • Red Hat OpenShift Container Platform 4.7 openshift4/ose-local-storage-operator v4.7.0-202204252136.p0.gd6211c0.assembly.stream, openshift4/ose-local-storage-diskmaker v4.7.0-202204252136.p0.gd6211c0.assembly.stream
    fixed: vendor fix “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.” RHSA-2022:1699
  • Red Hat OpenShift Container Platform 4.8 openshift4/ose-local-storage-operator v4.8.0-202204130333.p0.g50982c6.assembly.stream, openshift4/ose-local-storage-diskmaker v4.8.0-202204111736.p0.g50982c6.assembly.stream
    fixed: vendor fix “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.” RHSA-2022:1370
  • Red Hat OpenShift Container Platform 4.9 openshift4/ose-local-storage-operator v4.9.0-202204092357.p0.g4ab612d.assembly.stream, openshift4/ose-local-storage-diskmaker v4.9.0-202204091605.p0.g4ab612d.assembly.stream
    fixed: vendor fix “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.” RHSA-2022:1363
  • Red Hat OpenShift Container Platform 4.10 openshift4/ose-local-storage-operator v4.10.0-202204090935.p0.g4b31438.assembly.stream, openshift4/ose-local-storage-diskmaker v4.10.0-202204090935.p0.g4b31438.assembly.stream
    fixed: vendor fix “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.” RHSA-2022:1357
  • Red Hat OpenShift Container Platform 4.6 openshift4/ose-ptp v4.6.0-202204261127.p0.g8f5a67a.assembly.stream, openshift4/ose-ptp v4.6.0-202205020737.p0.g8f5a67a.assembly.stream, openshift4/ose-sriov-cni v4.6.0-202204261127.p0.gd209fd9.assembly.stream, openshift4/ose-sriov-cni v4.6.0-202205020737.p0.gd209fd9.assembly.stream, openshift4/ose-ghostunnel v4.6.0-202204261127.p0.gf048851.assembly.stream, openshift4/ose-ghostunnel v4.6.0-202205020737.p0.gf048851.assembly.stream, +84 more Red Hat OpenShift Container Platform 4.7 openshift4/ose-ptp v4.7.0-202204252136.p0.g6602684.assembly.stream, openshift4/ose-sriov-cni v4.7.0-202204252136.p0.g2ad0912.assembly.stream, openshift4/ose-ghostunnel v4.7.0-202204252136.p0.g7907399.assembly.stream, openshift4/ose-descheduler v4.7.0-202204252136.p0.g7295089.assembly.stream, openshift4/ose-ptp-operator v4.7.0-202204252136.p0.g0853bcd.assembly.stream, openshift4/ose-egress-router v4.7.0-202204211824.p0.g0e45f63.assembly.stream, +36 more Red Hat OpenShift Container Platform 4.8 openshift4/ose-ptp v4.8.0-202204101845.p0.g2ae5850.assembly.stream, openshift4/ose-sriov-cni v4.8.0-202204101845.p0.ga866f8e.assembly.stream, openshift4/ose-ghostunnel v4.8.0-202204101845.p0.g3f61070.assembly.stream, openshift4/ose-descheduler v4.8.0-202204101845.p0.g37691a4.assembly.stream, openshift4/ose-ptp-operator v4.8.0-202204101845.p0.gd71faa4.assembly.stream, openshift4/ose-egress-router v4.8.0-202204101845.p0.gad38e11.assembly.stream, +34 more Red Hat OpenShift Container Platform 4.9 openshift4/ose-cli v4.9.0-202204091605.p0.g96abae4.assembly.stream, openshift4/ose-pod v4.9.0-202204091605.p0.ga36406b.assembly.stream, openshift4/ose-etcd v4.9.0-202204091605.p0.gf99cada.assembly.stream, openshift4/ose-tests v4.9.0-202204091605.p0.g050f98d.assembly.stream, openshift4/ose-console v4.9.0-202204112139.p0.g5f5a201.assembly.stream, openshift4/ose-coredns v4.9.0-202204091605.p0.g3cb11c0.assembly.stream, +149 more Red Hat OpenShift Container Platform 4.10 openshift4/ose-ptp v4.10.0-202204090935.p0.g54a4e07.assembly.stream, openshift4/frr-rhel8 v4.10.0-202204090935.p0.ge996d07.assembly.stream, openshift4/metallb-rhel8 v4.10.0-202204090935.p0.g3bfd45c.assembly.stream, openshift4/ose-sriov-cni v4.10.0-202204090935.p0.gca83acc.assembly.stream, openshift4/ose-descheduler v4.10.0-202204090935.p0.g5ad78fc.assembly.stream, openshift4/ose-ptp-operator v4.10.0-202204090935.p0.g225ec15.assembly.stream, +38 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

0.49% chance of exploitation in the next 30 days, higher than 42% of all scored CVEs (FIRST EPSS, 2026-11-08).

CVSS scores

assigned by version score vector
CNA 3.1 5.9 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
GitHub 3.1 5.9 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
NVD 3.1 5.9 CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
NVD 2.0 4.6 AV:L/AC:L/Au:N/C:P/I:P/A:P

Affected packages

ecosystem package affected fixed in
go github.com/moby/moby
<20.10.14
<20.10.14+incompatible
20.10.14
20.10.14+incompatible
go github.com/docker/docker
<20.10.14
<20.10.14+incompatible
20.10.14
20.10.14+incompatible

Affected products

  • moby moby

Classification

Weakness
  • CWE-732 Incorrect Permission Assignment for Critical Resource
Technology feeds

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

The maintainers of moby/moby published their own advisory on GitHub. Reviewed sources take precedence over it.