Skip to content

do not set the inheritable capabilities

The below vulnerabilities are fixed by backporting upstream patches.

CVE-2022-27649: | A flaw was found in Podman, where containers were started incorrectly | 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.

The kernel never sets the inheritable capabilities for a process, they are only set by userspace. Emulate the same behavior.

Closes: CVE-2022-27649

(backported from upstream commit 7b368768)

Signed-off-by: Vignesh Raman vignesh.raman@collabora.com

Edited by Vignesh Raman

Merge request reports

Loading