CVE-2022-27651Buildah Project Buildah
Medium 6.8
Follow: this CVE · Buildah Project · Buildah Project Buildah We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Buildah.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| buildah_project | buildah | < 1.25.0 |
| fedoraproject | fedora | 34 |
| fedoraproject | fedora | 35 |
| fedoraproject | fedora | 36 |
| redhat | enterprise_linux | 7.0 |
| redhat | enterprise_linux | 8.0 |
Official sources
References
Links published by the sources. Open them with care.
- bugzilla.redhat.com Issue Tracking Third Party Advisory
- github.com Patch Third Party Advisory
- github.com Third Party Advisory
- lists.fedoraproject.org
- lists.fedoraproject.org
- lists.fedoraproject.org