Vulnerability
CVE-2022-29162
runc is a CLI tool for spawning and running containers on Linux according to the OCI specification. A bug was found in runc prior to version 1.1.2 where `runc exec --cap` created processes 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). 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 runc 1.1.2. This fix changes `runc exec --cap` behavior such that the additional capabilities granted to the process being executed (as specified via `--cap` arguments) do not include inheritable capabilities. In addition, `runc spec` is changed to not set any inheritable capabilities in the created example OCI spec (`config.json`) file.
41 advisories report this vulnerability, across 15 ecosystems.
Advisories
-
ALAS2023-2024-531
Amazon Linux 2023 - ALAS2023-2024-531: Low priority package update for runc
-
ALPINE-CVE-2022-29162
runc is a CLI tool for spawning and running containers on Linux according to the OCI specification. A bug was found in runc prior to version 1.1.2 where `runc exec --cap` created processes with non-empty inheritable…
- ALPINE-EDGE-CVE-2022-29162
-
ALSA-2022:7469
Moderate: container-tools:4.0 security and bug fix update
-
ALSA-2022:8090
Low: runc security update
-
AZL-9817
CVE-2022-29162 affecting package moby-runc for versions less than 1.1.2-2
- CGA-5gc9-4r23-v9qj
- CGA-f42j-gx9g-rf2f
- CGA-g754-6q8g-p8xm
- CGA-h83w-fqph-xp82
- CGA-h847-j2g8-3xmh
- CGA-j5hg-mw93-5h79
- CGA-r3cg-f6qv-6vf5
- CGA-rm22-hp4h-fwvv
- CGA-vf5g-8v8h-c4qj
- CGA-vxmr-4c89-8wpr
-
DEBIAN-CVE-2022-29162
runc is a CLI tool for spawning and running containers on Linux according to the OCI specification. A bug was found in runc prior to version 1.1.2 where `runc exec --cap` created processes with non-empty inheritable…
-
DLA-3369-1
runc - security update
-
ELSA-2022-7457
ELSA-2022-7457: container-tools:ol8 security, bug fix, and enhancement update (MODERATE)
-
ELSA-2022-7469
ELSA-2022-7469: container-tools:4.0 security and bug fix update (MODERATE)
-
ELSA-2022-8090
ELSA-2022-8090: runc security update (LOW)
-
GHSA-f3fp-gc8g-vw66
Default inheritable capabilities for linux container should be empty
-
GO-2022-0452
Default inheritable capabilities for linux container should be empty in github.com/opencontainers/runc
-
OESA-2022-1704
runc security update
-
RHSA-2022:5068
Red Hat Security Advisory: OpenShift Container Platform 4.11.0 packages and security update
-
RHSA-2022:7457
Red Hat Security Advisory: container-tools:rhel8 security, bug fix, and enhancement update
-
RHSA-2022:7469
Red Hat Security Advisory: container-tools:4.0 security and bug fix update
-
RHSA-2022:8090
Red Hat Security Advisory: runc security update
-
RHVEX-CVE-2022-29162
runc: incorrect handling of inheritable capabilities
-
RLSA-2022:7457
Moderate: container-tools:rhel8 security, bug fix, and enhancement update
-
RLSA-2022:7469
Moderate: container-tools:4.0 security and bug fix update
-
RLSA-2022:8090
Low: runc security update
-
SUSE-SU-2022:2165-1
Security update for containerd
-
SUSE-SU-2022:2341-1
Security update for containerd, docker and runc
-
SUSE-SU-2022:3321-1
Security update for kubevirt, virt-api-container, virt-controller-container, virt-handler-container, virt-launcher-container, virt-libguestfs-tools-container, virt-operator-container
-
SUSE-SU-2022:3333-1
Security update for kubevirt, virt-api-container, virt-controller-container, virt-handler-container, virt-launcher-container, virt-libguestfs-tools-container, virt-operator-container
-
SUSEVEX-CVE-2022-29162
runc is a CLI tool for spawning and running containers on Linux according to the OCI specification. A bug was found in runc prior to version 1.1.2 where `runc exec --cap` created processes with non-empty inheritable…
-
UBUNTU-CVE-2022-29162
runc is a CLI tool for spawning and running containers on Linux according to the OCI specification. A bug was found in runc prior to version 1.1.2 where `runc exec --cap` created processes with non-empty inheritable…
-
USN-6088-2
runc vulnerabilities
-
openSUSE-SU-2024:12074-1
runc-1.1.2-1.1 on GA media
-
openSUSE-SU-2025:15424-1
govulncheck-vulndb-0.0.20250807T150727-1.1 on GA media
References
- https://github.com/opencontainers/runc/commit/d04de3a9b72d7a2455c1885fc75eb36d02cd17b5
- https://github.com/opencontainers/runc/releases/tag/v1.1.2
- https://github.com/opencontainers/runc/security/advisories/GHSA-f3fp-gc8g-vw66
- https://lists.debian.org/debian-lts-announce/2023/03/msg00023.html
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/AVPZBV7ISA7QKRPTC7ZXWKMIQI2HZEBB/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/D77CKD3AXPMU4PMQIQI5Q74SI4JATNND/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/GPQU4YC4AAY54JDXGDQHJEYKSXXG5T2Y/