Back

MEDIUM

cri-o: Default inheritable capabilities for linux container should be empty

Published Apr 18, 2022

Description

A flaw was found in cri-o, where containers were incorrectly started with non-empty default permissions. A vulnerability was found in Moby (Docker Engine) where containers 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.

Affected products

Remediation

Red Hat statement

This issue is related to the general vulnerability found in Moby (Docker Engine), which has been assigned CVE-2022-24769. After further investigation we came to the conclusion that this CVE has a very minimal impact on Red Hat OpenShift Container Platform.

Red Hat 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.

References (7)

Change history (0)

No recorded changes yet.

Sources
CVE.org / MITRE
Status PUBLISHED
Assigner redhat
Published Apr 18, 2022
Updated Aug 3, 2024
Reserved Mar 22, 2022
NVD
Status Modified
Modified Jun 17, 2026
Red Hat
Severity Moderate
Public date Mar 30, 2022
ENISA EUVD
Assigner redhat
Published Apr 18, 2022
Updated Aug 3, 2024
Exploited since n/a
EUVD-2022-1621 GHSA-4HJ2-R2PM-3HC6