CVE-2022-27650
crun: Default inheritable capabilities for linux container should be empty
Severity
ModerateRed Hat Product Security
CVSS 3.1
Review impact separately from score.
Published · March 30, 2022
Updated · November 22, 2025
Description
A flaw was found in crun where containers were incorrectly started with non-empty default permissions. A vulnerability was found in Moby (Docker Engine) where containers were started incorrectly with non-empty inheritable Linux process capabilities. This flaw allows an attacker with access to programs with inheritable file capabilities to elevate those capabilities to the permitted set when execve(2) runs.
Statement
This issue is related to the general vulnerability found in Moby (Docker Engine), which has been assigned CVE-2022-24769.
Among the supported OpenShift Container Platform releases, only v4.10 is affected by this flaw.
CVSS score applicability
The CVSS score(s) listed for this vulnerability do not reflect the associated product's status, and are included for informational purposes to better understand the severity of this vulnerability.
Mitigation
The entry point of a container can be modified to use a utility like capsh(1) to drop inheritable capabilities prior to the primary process starting.
CVSS / CWE
CVSS 3.1 · 5.6CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L
CWE-276 · Incorrect Default Permissions