Live threats

All CVEs / Buildah Project

CVE-2022-27651Buildah Project Buildah

Medium 6.8

Priority
41
CVSS 3.1
6.8
EPSS
1.1%
probability of exploitation in 30 days · percentile 65
Auth required
Yes
Published
Apr 4, 2022
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-276
Vector
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N

What happens

A flaw was found in buildah where containers were incorrectly started with non-empty default permissions. A bug was found in Moby (Docker Engine) where containers were incorrectly started with non-empty inheritable Linux process capabilities, enabling an attacker with access to programs with inheritable file capabilities to elevate those capabilities to the permitted set when execve(2) runs. This has the potential to impact confidentiality and integrity.

Original NVD text.

What to do

  1. Apply the vendor's security update for Buildah.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go github.com/containers/buildah < 1.25.0 1.25.0 go get github.com/containers/buildah@v1.25.0
Go github.com/containers/buildah < 1.25.0 1.25.0 go get github.com/containers/buildah@v1.25.0

Per OSV / GitHub Advisories (GHSA-c3g4-w6cv-6v7h, GO-2022-0417). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
buildah_projectbuildah< 1.25.0
fedoraprojectfedora34
fedoraprojectfedora35
fedoraprojectfedora36
redhatenterprise_linux7.0
redhatenterprise_linux8.0

Official sources

References

Links published by the sources. Open them with care.