Incorrect authorization in buildah
Key facts
- Attack vector
- Local
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- High · High · None
- Fix status
- Partial Red Hat: 3 fixed, 2 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-863.
Summary
An incorrect handling of the supplementary groups in the Buildah container engine might lead to the sensitive information disclosure or possible data modification if an attacker has direct access to the affected container where supplementary groups are used to set access permissions and is able to execute a binary code in that container.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | buildah | no fixed version known | — | No fix listed | CNA |
| — | github.com/containers/buildah (Go) | before 1.27.1 | 1.27.1 | Patch available | GHSA-fjm8-m7m6-2fjp |
- buildah Vendor— Affected no fixed version known Fixed in — No fix listed CNA
- github.com/containers/buildah (Go) Vendor— Affected before 1.27.1 Fixed in 1.27.1 Patch available GHSA-fjm8-m7m6-2fjp
CPE configurations NVD · 5
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:buildah_project:buildah:*:*:*:*:*:*:*:* | before 1.27.1 | Vulnerable | Buildah Project |
| cpe:2.3:a:redhat:openshift_container_platform:4.0:*:*:*:*:*:*:* | 4.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* | 8.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:* | 9.0 | Vulnerable | Red Hat |
- cpe:2.3:a:buildah_project:buildah:*:*:*:*:*:*:*:* Versions before 1.27.1 Vulnerable ·Buildah Project
- cpe:2.3:a:redhat:openshift_container_platform:4.0:*:*:*:*:*:*:* Versions 4.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux:9.0:*:*:*:*:*:*:* Versions 9.0 Vulnerable ·Red Hat
Remediation
- Fix · GHSA-fjm8-m7m6-2fjp github.com/containers/buildah (Go) Fixed in 1.27.1 Advisory →
Red Hat 5 advisories
- RHSA-2023:1325 Released 2023-05-18 · Red Hat rating ImportantOpenShift Container Platform 4.13.0 security update
- Ironic content for Red Hat OpenShift Container Platform 4.13 python-werkzeug-2.0.3-4.el9, python3-werkzeug-2.0.3-4.el9
- Red Hat OpenShift Container Platform 4.13 buildah-1:1.29.1-1.rhaos4.13.el9, buildah-tests-1:1.29.1-1.rhaos4.13.el9, cri-o-1.26.3-3.rhaos4.13.git641290e.el9 +27
- RHSA-2022:8431 Released 2022-11-15 · Red Hat rating Lowpodman security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream (v. 9) podman-2:4.2.0-7.el9_1, podman-catatonit-2:4.2.0-7.el9_1, podman-docker-2:4.2.0-7.el9_1 +4
- RHSA-2022:8008 Released 2022-11-15 · Red Hat rating Moderatebuildah security and bug fix update
- Red Hat Enterprise Linux AppStream (v. 9) buildah-1:1.27.0-2.el9, buildah-tests-1:1.27.0-2.el9
Show 2 more Red Hat advisories
- RHSA-2022:7822 Released 2022-11-08 · Red Hat rating Lowcontainer-tools:rhel8 security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream (v. 8) aardvark-dns-2:1.1.0-5.module+el8.7.0+17064+3b31f55c.aarch64::container-tools:rhel8, aardvark-dns-2:1.1.0-5.module+el8.7.0+17064+3b31f55c.ppc64le::container-tools:rhel8, aardvark-dns-2:1.1.0-5.module+el8.7.0+17064+3b31f55c.s390x::container-tools:rhel8 +47
- RHSA-2022:7457 Released 2022-11-08 · Red Hat rating Moderatecontainer-tools:rhel8 security, bug fix, and enhancement update
- Red Hat Enterprise Linux AppStream (v. 8) aardvark-dns-2:1.1.0-4.module+el8.7.0+16772+33343656.aarch64::container-tools:rhel8, aardvark-dns-2:1.1.0-4.module+el8.7.0+16772+33343656.ppc64le::container-tools:rhel8, aardvark-dns-2:1.1.0-4.module+el8.7.0+16772+33343656.s390x::container-tools:rhel8 +47
Vendor assessments
Red Hat
Red Hat rating: Low. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Enterprise Linux 7 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux 8 | Affected | No fix yet: Fix deferred |
| Red Hat Enterprise Linux AppStream (v. 8) | Fixed | RHSA-2022:7457, RHSA-2022:7822 |
| Red Hat Enterprise Linux AppStream (v. 9) | Fixed | RHSA-2022:8008, RHSA-2022:8431 |
| Red Hat OpenShift Container Platform 4.13 | Fixed | RHSA-2023:1325 |
Not affected: 2 products
- Ironic content for Red Hat OpenShift Container Platform 4.13
- Red Hat OpenShift Container Platform 4.13
Timeline
- 2026-10-02 Threatist record created from CVE-2022-2990
- 2026-10-03 Alias added: GHSA-fjm8-m7m6-2fjp
References
Exploit 2
Other 6
- https://github.com/containers/buildah/pull/4200
- https://github.com/containers/buildah/commit/4a8bf740e862f2438279c6feee2ea59ddf0cda0b
- https://access.redhat.com/security/cve/CVE-2022-2990
- https://github.com/containers/buildah
- https://pkg.go.dev/vuln/GO-2022-1008
- https://www.benthamsgaze.org/2022/08/22/vulnerability-in-linux-containers-investigation-and-mitigation
Sources
- CVE-2022-2990 · CVE Program
- CVE-2022-2990 · NVD
- FIRST EPSS
- GHSA-fjm8-m7m6-2fjp · GitHub Advisory Database · CC BY 4.0
- CVE-2022-2990 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences