CVE-2022-29162

Summary

CVECVE-2022-29162
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2022-05-17 21:15:00 UTC
Updated2023-11-07 03:45:00 UTC
Descriptionrunc 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.

Risk And Classification

Problem Types: CWE-276

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Fedoraproject Fedora 34 All All All
Operating System Fedoraproject Fedora 35 All All All
Operating System Fedoraproject Fedora 36 All All All
Application Linuxfoundation Runc All All All All

References

ReferenceSourceLinkTags
[SECURITY] Fedora 34 Update: golang-github-opencontainers-runc-1.1.2-1.fc34 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
[SECURITY] Fedora 34 Update: golang-github-opencontainers-runc-1.1.2-1.fc34 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
Default inheritable capabilities for linux container should be empty · Advisory · opencontainers/runc · GitHub CONFIRM github.com
[SECURITY] Fedora 35 Update: golang-github-opencontainers-runc-1.1.2-1.fc35 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
[SECURITY] Fedora 35 Update: golang-github-opencontainers-runc-1.1.2-1.fc35 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
[SECURITY] [DLA 3369-1] runc security update MLIST lists.debian.org
[SECURITY] Fedora 36 Update: golang-github-opencontainers-runc-1.1.2-1.fc36 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
[SECURITY] Fedora 36 Update: golang-github-opencontainers-runc-1.1.2-1.fc36 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
Merge pull request from GHSA-f3fp-gc8g-vw66 · opencontainers/runc@d04de3a · GitHub MISC github.com
Release v1.1.2 -- "I should think I’m going to be a perpetual student." · opencontainers/runc · GitHub MISC github.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 160213 Oracle Enterprise Linux Security Update for container-tools:4.0 (ELSA-2022-7469)
  • 160233 Oracle Enterprise Linux Security Update for container-tools:ol8 (ELSA-2022-7457)
  • 160310 Oracle Enterprise Linux Security Update for runc (ELSA-2022-8090)
  • 180866 Debian Security Update for runc (CVE-2022-29162)
  • 181640 Debian Security Update for runc (DLA 3369-1)
  • 199528 Ubuntu Security Notification for runC Vulnerabilities (USN-6088-2)
  • 240607 Red Hat OpenShift Container Platform 4.11 Security Update (RHSA-2022:5068)
  • 240829 Red Hat Update for container-tools:rhel8 security (RHSA-2022:7457)
  • 240847 Red Hat Update for container-tools:4.0 (RHSA-2022:7469)
  • 240868 Red Hat Update for runc (RHSA-2022:8090)
  • 282779 Fedora Security Update for golang (FEDORA-2022-e980dc71b1)
  • 282780 Fedora Security Update for golang (FEDORA-2022-91b747a0d7)
  • 282782 Fedora Security Update for golang (FEDORA-2022-d1f55f8fd0)
  • 355453 Amazon Linux Security Advisory for runc : ALAS2023-2023-231
  • 357241 Amazon Linux Security Advisory for runc : ALAS2023-2024-531
  • 502184 Alpine Linux Security Update for runc
  • 6140312 AWS Bottlerocket Security Update for runc (GHSA-v774-6wqv-56hv)
  • 672019 EulerOS Security Update for docker-engine (EulerOS-SA-2022-2253)
  • 672049 EulerOS Security Update for docker-engine (EulerOS-SA-2022-2240)
  • 672098 EulerOS Security Update for docker-runc (EulerOS-SA-2022-2283)
  • 672127 EulerOS Security Update for docker-runc (EulerOS-SA-2022-2312)
  • 672327 EulerOS Security Update for docker-engine (EulerOS-SA-2022-2707)
  • 752333 SUSE Enterprise Linux Security Update for containerd, docker and runc (SUSE-SU-2022:2341-1)
  • 753186 SUSE Enterprise Linux Security Update for kubevirt (SUSE-SU-2022:3333-1)
  • 753213 SUSE Enterprise Linux Security Update for kubevirt (SUSE-SU-2022:3321-1)
  • 770161 Red Hat OpenShift Container Platform 4.1 Security Update (RHSA-2022:5068)
  • 902047 Common Base Linux Mariner (CBL-Mariner) Security Update for moby-runc (9819)
  • 902050 Common Base Linux Mariner (CBL-Mariner) Security Update for moby-runc (9817)
  • 902288 Common Base Linux Mariner (CBL-Mariner) Security Update for moby-runc (9817-1)
  • 902485 Common Base Linux Mariner (CBL-Mariner) Security Update for moby-runc (9819-1)
  • 940774 AlmaLinux Security Update for container-tools:4.0 (ALSA-2022:7469)
  • 940818 AlmaLinux Security Update for runc (ALSA-2022:8090)
  • 960172 Rocky Linux Security Update for container-tools:rhel8 (RLSA-2022:7457)
  • 960188 Rocky Linux Security Update for container-tools:4.0 (RLSA-2022:7469)
  • 960642 Rocky Linux Security Update for runc (RLSA-2022:8090)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report