GitHub Advisoryadvisory · Go

GHSA-c3g4-w6cv-6v7h Non-empty default inheritable capabilities for linux container in Buildah

MEDIUM Published 2022-04-01 Modified 2022-04-19 Official page ↗
Aliases
CVE-2022-27651
Ecosystem
Go
Packages
github.com/containers/buildah
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
Weaknesses
CWE-276
Reviewed
2022-04-01

Affected packages

• Go github.com/containers/buildah: < 1.25.0 → fixed in 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.

Related

Alias · CVE (1)

  • CVE-2022-27651 A flaw was found in buildah where containers were incorrectly started with non-empty default permissions. vulnerability

Weakness · CWE (1)

  • CWE-276 Incorrect Default Permissions weakness

References