{"cve":"CVE-2022-29162","nvd":{"published":"2022-05-17T21:15:08.320","modified":"2026-06-17T04:39:42.730","status":"Modified","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":7.8},"cwes":["CWE-276"],"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/"],"products":["fedoraproject:fedora","linuxfoundation:runc"],"source":"nvd","synced_at":"2026-10-19T21:31:59.322382750+00:00"},"epss":{"cve":"CVE-2022-29162","score":0.00393,"percentile":0.33537,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-f3fp-gc8g-vw66","url":"https://osv.dev/vulnerability/GHSA-f3fp-gc8g-vw66","summary":"Default inheritable capabilities for linux container should be empty","modified":"2026-09-10T03:49:33.065857528Z","packages":[{"ecosystem":"Go","name":"github.com/opencontainers/runc","purl":"pkg:golang/github.com/opencontainers/runc","ranges":["<1.1.2"],"fixed":["1.1.2"]}]},{"id":"GO-2022-0452","url":"https://osv.dev/vulnerability/GO-2022-0452","summary":"Default inheritable capabilities for linux container should be empty in github.com/opencontainers/runc","modified":"2026-02-04T03:17:02.340230Z","packages":[{"ecosystem":"Go","name":"github.com/opencontainers/runc","purl":"pkg:golang/github.com/opencontainers/runc","ranges":["<1.1.2"],"fixed":["1.1.2"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}