PT-2022-4807
CVE-2022-29162
·
Published
2022-05-05
·
Updated
2026-09-18
Description by
CVSS 3.1
7.8
HighMetricsAV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions
runc versions prior to 1.1.2
Description
A bug was found in runc 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.Recommendations
For versions prior to 1.1.2, update to version 1.1.2 to fix the bug, which changes
runc exec --cap behavior to not include inheritable capabilities and modifies runc spec to not set any inheritable capabilities in the created example OCI spec (config.json) file.Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾