CVE-2022-29162
MEDIUMDescription
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.
How to fix
Remediation is compiled from vendor and distribution security advisories. Always confirm against the linked source for your exact version and platform.
CVSS v3 Vector
Exploitability
Impact
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L
Exploit Intelligence
Low risk: more likely to be exploited than 31% of all known CVEs.
References
Related Vulnerabilities
Other CWE-276 vulnerabilities, ordered by exploit likelihood. View all
| CVE | Severity | CVSS | EPSS | Exploited | Fix |
|---|---|---|---|---|---|
| CVE-2013-0632 | Critical | 9.8 | 94% | KEV | - |
| CVE-2017-11610 | High | 8.8 | 88% | - | Fix |
| CVE-2023-29919 | Critical | 9.1 | 60% | - | - |
| CVE-2019-17124 | Critical | 9.8 | 23% | - | - |
| CVE-2020-12608 | High | 7.8 | 22% | - | Fix |
| CVE-2021-3437 | Critical | 9.8 | 16% | - | Fix |
Embed a live status badge for CVE-2022-29162
Markdown
[](https://tridentstack.com/cve/CVE-2022-29162)HTML
<a href="https://tridentstack.com/cve/CVE-2022-29162"><img src="https://tridentstack.com/cve/badge/CVE-2022-29162.svg" alt="CVE-2022-29162"></a>Find and fix vulnerabilities across your fleet
TridentStack Control continuously scans your Windows, macOS, and Linux fleet for known vulnerabilities, prioritizes them by severity and active exploitation, and patches them automatically.
Start freeThis product uses NVD data but is not endorsed or certified by the NVD. EPSS scores courtesy of FIRST.org (https://www.first.org/epss). Source: CISA KEV Catalog. Data as of 2024-11-21.