cve.bz

CVE-2022-29162 Incorrect Default Permissions

7.8 highEPSS 0.4%Fix available

High (7.8). EPSS 0.4% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/opencontainers/runc 1.1.2.

On this page
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.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.4% (unchanged from 0.4% a week ago; 0.4% 30 days ago) estimated probability of exploitation activity in the next 30 days; 34th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2025-04-23. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-276 Incorrect Default Permissions
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2022-29162 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-29162?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-29162?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-29162 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
linuxfoundation:runcbefore 1.1.2
fedoraproject:fedora34
fedoraproject:fedora35
fedoraproject:fedora36

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-f3fp-gc8g-vw66Gogithub.com/opencontainers/runc<1.1.21.1.2
GO-2022-0452Gogithub.com/opencontainers/runc<1.1.21.1.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian10runc1.0.0~rc6+dfsg1-3+deb10u2DLA-3369-1
Debian12, 13, 14runc1.1.3+ds1-1DEBIAN-CVE-2022-29162
UbuntuPro:16.04:LTSrunc1.0.0~rc7+git20190403.029124da-0ubuntu1~16.04.4+esm4UBUNTU-CVE-2022-29162 USN-6088-2
Red Hatenterprise_linux:8::appstreamaardvark-dns2:1.1.0-4.module+el8.7.0+16772+33343656RHSA-2022:7457
Red Hatenterprise_linux:8::appstreambuildah, buildah-tests, buildah-debuginfo and 2 more1:1.24.5-2.module+el8.7.0+16520+2db5507dRHSA-2022:7469
Red Hatenterprise_linux:8::appstreambuildah, buildah-tests, buildah-debuginfo and 2 more1:1.27.0-2.module+el8.7.0+16772+33343656RHSA-2022:7457
Red Hatenterprise_linux:8::appstreamcockpit-podman0:46-1.module+el8.7.0+16520+2db5507dRHSA-2022:7469
Red Hatenterprise_linux:8::appstreamcockpit-podman0:53-1.module+el8.7.0+16772+33343656RHSA-2022:7457
Red Hatenterprise_linux:8::appstreamconmon, conmon-debuginfo, conmon-debugsource2:2.1.4-1.module+el8.7.0+16520+2db5507dRHSA-2022:7469
Red Hatenterprise_linux:8::appstreamconmon, conmon-debuginfo, conmon-debugsource3:2.1.4-1.module+el8.7.0+16772+33343656RHSA-2022:7457
Red Hatenterprise_linux:8::appstreamcontainer-selinux2:2.189.0-1.module+el8.7.0+16520+2db5507dRHSA-2022:7469
Red Hatenterprise_linux:8::appstreamcontainer-selinux2:2.189.0-1.module+el8.7.0+16772+33343656RHSA-2022:7457
Red Hatenterprise_linux:8::appstreamcontainernetworking-plugins, containernetworking-plugins-debuginfo, containernetworking-plugins-debugsource1:1.1.1-2.module+el8.7.0+16520+2db5507dRHSA-2022:7469
Red Hatenterprise_linux:8::appstreamcontainernetworking-plugins, containernetworking-plugins-debuginfo, containernetworking-plugins-debugsource1:1.1.1-3.module+el8.7.0+16772+33343656RHSA-2022:7457
Red Hatenterprise_linux:8::appstreamcontainers-common2:1-35.module+el8.7.0+16520+2db5507dRHSA-2022:7469
180 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 6, Enterprise Storage 7, Enterprise Storage 7.1 and 21 morerunc1.1.3-150000.30.1SUSE-SU-2022:2341-1
SUSEEnterprise Storage 6, Enterprise Storage 7, Linux Enterprise High Performance Computing 15 SP1-ESPOS and 21 morecontainerd1.6.6-150000.73.2SUSE-SU-2022:2341-1
SUSEEnterprise Storage 6, Enterprise Storage 7, Linux Enterprise High Performance Computing 15 SP1-ESPOS and 20 moredocker20.10.17_ce-150000.166.1SUSE-SU-2022:2341-1
SUSELinux Enterprise Module for Containers 12containerd1.6.6-16.62.1SUSE-SU-2022:2165-1
SUSELinux Enterprise Module for Containers 12docker20.10.17_ce-98.83.1SUSE-SU-2022:2165-1
SUSELinux Enterprise Module for Containers 12runc1.1.3-16.21.1SUSE-SU-2022:2165-1
SUSELinux Enterprise Module for Containers 15 SP3kubevirt0.49.0-150300.8.13.1SUSE-SU-2022:3321-1
SUSELinux Enterprise Module for Containers 15 SP4kubevirt0.54.0-150400.3.3.2SUSE-SU-2022:3333-1
openSUSELeap 15.3kubevirt0.49.0-150300.8.13.1SUSE-SU-2022:3321-1
openSUSELeap 15.3, Leap 15.4containerd1.6.6-150000.73.2SUSE-SU-2022:2341-1
openSUSELeap 15.3, Leap 15.4docker, docker-kubic20.10.17_ce-150000.166.1SUSE-SU-2022:2341-1
openSUSELeap 15.3, Leap 15.4runc1.1.3-150000.30.1SUSE-SU-2022:2341-1
openSUSELeap 15.4kubevirt0.54.0-150400.3.3.2SUSE-SU-2022:3333-1
openSUSETumbleweedgovulncheck-vulndb0.0.20250807T150727-1.1openSUSE-SU-2025:15424-1
openSUSETumbleweedrunc1.1.2-1.1openSUSE-SU-2024:12074-1
AlmaLinux8buildah, buildah-tests1:1.24.5-2.module_el8.7.0+3344+5bcd850fALSA-2022:7469
AlmaLinux8cockpit-podman46-1.module_el8.7.0+3344+5bcd850fALSA-2022:7469
AlmaLinux8conmon2:2.1.4-1.module_el8.7.0+3344+5bcd850fALSA-2022:7469
AlmaLinux8container-selinux2:2.189.0-1.module_el8.7.0+3344+5bcd850fALSA-2022:7469
AlmaLinux8containernetworking-plugins1:1.1.1-2.module_el8.7.0+3344+5bcd850fALSA-2022:7469
AlmaLinux8containers-common2:1-35.module_el8.7.0+3344+5bcd850fALSA-2022:7469
AlmaLinux8crit, criu, criu-libs and 2 more3.15-3.module_el8.6.0+2877+8e437bf5ALSA-2022:7469
AlmaLinux8crit, criu, criu-libs and 2 more3.15-3.module_el8.6.0+3137+d33c3efbALSA-2022:7469
AlmaLinux8crun1.5-1.module_el8.7.0+3344+5bcd850fALSA-2022:7469
AlmaLinux8fuse-overlayfs1.9-1.module_el8.7.0+3344+5bcd850fALSA-2022:7469
AlmaLinux8libslirp, libslirp-devel4.4.0-1.module_el8.6.0+2877+8e437bf5ALSA-2022:7469
AlmaLinux8libslirp, libslirp-devel4.4.0-1.module_el8.6.0+3137+d33c3efbALSA-2022:7469
12 more for AlmaLinux in the JSON.
Rocky Linux8buildah1:1.24.5-2.module+el8.7.0+1077+0e4f03d4RLSA-2022:7469
Rocky Linux8cockpit-podman0:46-1.module+el8.7.0+1077+0e4f03d4RLSA-2022:7469
Rocky Linux8cockpit-podman0:53-1.module+el8.7.0+1078+e72fcd4fRLSA-2022:7457
Rocky Linux8conmon2:2.1.4-1.module+el8.7.0+1077+0e4f03d4RLSA-2022:7457 RLSA-2022:7469
Rocky Linux8container-selinux2:2.189.0-1.module+el8.6.0+1054+50b00ff4RLSA-2022:7457 RLSA-2022:7469
Rocky Linux8container-selinux2:2.189.0-1.module+el8.7.0+1076+9b1c11c1RLSA-2022:7457 RLSA-2022:7469
Rocky Linux8containernetworking-plugins1:1.1.1-2.module+el8.7.0+1077+0e4f03d4RLSA-2022:7469
Rocky Linux8containernetworking-plugins1:1.1.1-3.module+el8.6.0+1054+50b00ff4RLSA-2022:7457
Rocky Linux8containernetworking-plugins1:1.1.1-3.module+el8.7.0+1078+e72fcd4fRLSA-2022:7457
Rocky Linux8containers-common2:1-35.module+el8.6.0+997+05c9d812RLSA-2022:7469
Rocky Linux8containers-common2:1-35.module+el8.7.0+1077+0e4f03d4RLSA-2022:7469
Rocky Linux8criu0:3.15-3.module+el8.5.0+710+4c471e88RLSA-2022:7457 RLSA-2022:7469
27 more for Rocky Linux in the JSON.
Alpinev3.15, v3.16, v3.17 and 7 morerunc1.1.2-r0ALPINE-CVE-2022-29162
Azure Linux2moby-runc1.1.2-2AZL-9817

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Low.

Red Hat's statement

This issue is rated as low severity as the vulnerability can only result in atypical linux environment,and it's complex exploitation only results in minimal impact on system confidentiality, integrity, and availability in typical environments.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8container-tools:rhel8-8070020220929222448.39077419Fixed 2022-11-08RHSA-2022:7457
Red Hat Enterprise Linux 8container-tools:4.0-8070020220830101436.39077419Fixed 2022-11-08RHSA-2022:7469
Red Hat Enterprise Linux 9runc-4:1.1.4-1.el9Fixed 2022-11-15RHSA-2022:8090
Red Hat OpenShift Container Platform 4.11runc-3:1.1.2-1.rhaos4.11.el8Fixed 2022-08-10RHSA-2022:5068
Red Hat Enterprise Linux 7runcOut of support scope
Red Hat Enterprise Linux 8container-tools:2.0/runcFix deferred
Red Hat Enterprise Linux 8container-tools:3.0/runcFix deferred
Red Hat OpenShift Container Platform 3.11runcOut of support scope

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-29162.

ICS advisories (CISA)

AdvisoryTitlePublishedSectorsAffectedFixed
ICSA-24-046-11Siemens SCALANCE XCM-/XRM-3002024-02-13MultipleSCALANCE XCH328 (6GK5328-4TS01-2EC2), SCALANCE XCM324 (6GK5324-8TS01-2AC2), SCALANCE XCM328 (6GK5328-4TS01-2AC2) and 8 morenone listed

From CISA's ICS advisories (CSAF), provided under CISA's notification. Only the facts are shown; each advisory is on CISA's page. Credits.

Attack patterns (CAPEC)

  • CAPEC-1 Accessing Functionality Not Properly Constrained by ACLs Likelihood: High · Severity: High
  • CAPEC-81 Web Server Logs Tampering Likelihood: Medium · Severity: High
  • CAPEC-127 Directory Indexing Likelihood: High · Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON