Skip to content

Default inheritable capabilities for linux container should be empty

Low
giuseppe published GHSA-c3g4-w6cv-6v7h Mar 30, 2022

Package

buildah (container runtime)

Affected versions

< 1.25.0

Patched versions

1.25.0

Description

A bug was found in Buildah where containers were created 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.

Severity

Low

CVE ID

CVE-2022-27651

Weaknesses

No CWEs

Credits