CVE-2022-2989: Buildah's Incorrect Handling of Supplementary Groups
Summary
CVE-2022-2990: Buildah's incorrect handling of the supplementary groups may lead to data disclosure, modification. Affects github.com/containers/buildah versions < 1.27.1. Fixed in 1.27.1. How to fix ↓
Also tracked for
- golang-github-containers-buildah · Debian:11
The same CVE-2022-2990 is tracked separately for each ecosystem and vendor. Its fix information is the same; the package and affected versions differ.
Check if this vulnerability affects your application
Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.
No signup required · Results in about 60 seconds
Background
Buildah is a container engine that allows users to build and manage OCI (Open Container Initiative) compliant images. It is written in Go and is commonly used in containerized environments. The vulnerability in Buildah arises from its incorrect handling of supplementary groups, which are used to set access permissions within containers.
Vulnerability Detail
The vulnerability in Buildah allows an attacker with direct access to a container to potentially disclose sensitive information or modify data. This occurs due to the incorrect handling of supplementary groups, which can be exploited by executing binary code within the affected container. By leveraging this vulnerability, an attacker can gain unauthorized access to sensitive data or modify the container's contents.
How To Fix
Latest published version: v1.43.5 as of 22 Oct 2026
go get github.com/containers/buildah@v1.43.5
Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.
If you need the minimum change
1.27.1
This is the first release that contains the fix.
go get github.com/containers/buildah@v1.27.1
Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →
Workaround
There is no known workaround for this vulnerability. It is essential to update Buildah to the latest version to mitigate the risk of data disclosure or modification.
Conclusion
The vulnerability in Buildah's handling of supplementary groups can lead to data disclosure or modification within containers. It is crucial to update Buildah to version 1.27.1 or later to mitigate this risk. For further support on vulnerability remediation, you can reach out to DevNack.com.
See every vulnerability recorded for github.com/containers/buildah →
FAQ
Buildah is a container engine used to build and manage OCI compliant images.
The vulnerability in Buildah can lead to data disclosure or modification if an attacker has direct access to a container where supplementary groups are used.
To fix this vulnerability, update Buildah to version 1.27.1 or later.
No, there is no known workaround. Updating to the latest version is the recommended solution.
For more information, you can refer to the official advisory provided by the GitHub Advisory Database.
References
Related vulnerabilities
Recent vulnerabilities recorded for github.com/containers/buildah.