CVE-2022-2990 json
Buildah's incorrect handling of the supplementary groups may lead to data disclosure, modification
published 4y ago modified last mo. also GHSA-fjm8-m7m6-2fjp , GO-2022-1008 , EUVD-2022-6800
- cvss
- 7.1
- version 3.1, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 29%
- public exploits
- 0
- none known
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.
Patch / fix
- go github.com/containers/buildah 1.27.1
- buildah_project buildah 1.27.1
- golang-github-containers-buildah Debian 14, Debian 13, Debian 12 1.28.0+ds1-2
debian advisories DEBIAN-CVE-2022-2990
- crit RHEL 8 3.15-3.module+el8.7.0+16772+33343656
- criu RHEL 8 3.15-3.module+el8.7.0+16772+33343656
- crun RHEL 8 1.5-1.module+el8.7.0+16772+33343656
- runc RHEL 8 1:1.1.4-1.module+el8.7.0+16772+33343656
- udica RHEL 8 0.2.6-3.module+el8.7.0+16772+33343656
- conmon RHEL 8 3:2.1.4-1.module+el8.7.0+16772+33343656
- podman RHEL 8 3:4.2.0-1.module+el8.7.0+16772+33343656
- skopeo RHEL 8 2:1.9.2-1.module+el8.7.0+16772+33343656
red hat advisories RHSA-2022:7457RHSA-2023:1325RHSA-2022:8008RHSA-2022:8431RHSA-2022:7822
- buildah SLES for SAP 15 SP2, SLES for SAP 15 SP1, SLES 15 SP2-LTSS +4 more 1.25.1-150100.3.20.15
- buildah SLE Module for Containers 15 SP3, openSUSE Leap 15.3 1.28.2-150300.8.14.1
- buildah SLE Module for Containers 15 SP4, openSUSE Leap 15.4 1.28.2-150400.3.11.1
- buildah SLE Module for Containers 15 SP3, openSUSE Leap 15.3 1.27.1-150300.8.11.1
- libgpg-error SLE Module for Basesystem 15 SP3, SLE Micro 5.2, SLE Micro 5.1 +2 more 1.42-150300.9.3.1
- buildah SLE Module for Containers 15 SP4, openSUSE Leap 15.4 1.27.1-150400.3.8.1
suse advisories SUSE-SU-2023:4099-1SUSE-SU-2022:4350-1SUSE-SU-2022:4349-1SUSE-SU-2022:3766-1SUSE-SU-2022:3655-1
- buildah openSUSE Tumbleweed 1.27.0-3.1
opensuse advisories openSUSE-SU-2024:12289-1
- buildah AlmaLinux 9 1:1.27.0-2.el9
- buildah-tests AlmaLinux 9 1:1.27.0-2.el9
- podman AlmaLinux 9 2:4.2.0-7.el9_1
- podman-tests AlmaLinux 9 2:4.2.0-7.el9_1
- podman-docker AlmaLinux 9 2:4.2.0-7.el9_1
- podman-remote AlmaLinux 9 2:4.2.0-7.el9_1
- podman-gvproxy AlmaLinux 9 2:4.2.0-7.el9_1
- podman-plugins AlmaLinux 9 2:4.2.0-7.el9_1
almalinux advisories ALSA-2022:8008ALSA-2022:8431ALSA-2022:7822
- criu Rocky Linux 8 3.15-3.module+el8.7.0+1077+0e4f03d4
- criu Rocky Linux 8 3.15-3.module+el8.5.0+710+4c471e88
- criu Rocky Linux 8 3.15-3.module+el8.6.0+1054+50b00ff4
- crun Rocky Linux 8 1.5-1.module+el8.7.0+1077+0e4f03d4
- crun Rocky Linux 8 1.5-1.module+el8.6.0+1054+50b00ff4
- runc Rocky Linux 8 1:1.1.4-1.module+el8.7.0+1077+0e4f03d4
- udica Rocky Linux 8 0.2.6-3.module+el8.7.0+1077+0e4f03d4
- udica Rocky Linux 8 0.2.6-3.module+el8.6.0+971+69b94baf
rocky linux advisories RLSA-2022:7822RLSA-2022:7457
- buildah Alpine 3.24, Alpine 3.23, Alpine 3.22 +5 more 1.28.0-r0
alpine advisories ALPINE-CVE-2022-2990
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- buildah CBL-Mariner 2.0 1.18.0-17
- buildah Azure Linux 3.0 1.18.0-24
azure linux advisories AZL-10960AZL-36935
Azure Linux vulnerability data, Copyright (c) Microsoft Corporation, from https://github.com/microsoft/AzureLinuxVulnerabilityData via OSV, under the MIT licence; changed: normalised to fixed package versions per release. MIT
- github.com/containers/buildah@4a8bf74 commit
- github.com/containers/buildah#4200 pull request
- bugzilla.redhat.com/show_bug.cgi?id=2121453 advisory
Is CVE-2022-2990 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2022-2990 updated cvss 7.1
buildah: possible information disclosure and modification
-
Red Hat Enterprise Linux 7 buildah Red Hat Enterprise Linux 8 buildah, buildah-testsaffected: no fix available “Fix deferred”
-
Red Hat Enterprise Linux AppStream (v. 8) crun 1.5-1.module+el8.7.0+16772+33343656, crun 1.5-1.module+el8.7.0+17064+3b31f55c, crit 3.15-3.module+el8.7.0+16772+33343656, crit 3.15-3.module+el8.7.0+17064+3b31f55c, criu 3.15-3.module+el8.7.0+16772+33343656, criu 3.15-3.module+el8.7.0+17064+3b31f55c, +60 morefixed: vendor fix RHSA-2022:7457
-
Red Hat Enterprise Linux AppStream (v. 9) buildah 1.27.0-2.el9, podman 4.2.0-7.el9_1, buildah-tests 1.27.0-2.el9, podman-tests 4.2.0-7.el9_1, podman-docker 4.2.0-7.el9_1, podman-remote 4.2.0-7.el9_1, +3 morefixed: vendor fix RHSA-2022:8008
-
Red Hat OpenShift Container Platform 4.13 buildah 1.29.1-1.rhaos4.13.el9, buildah-tests 1.29.1-1.rhaos4.13.el9fixed: vendor fix RHSA-2023:1325
-
Red Hat Ironic content for Red Hat OpenShift Container Platform 4.13 tox 3.23.0-2.el9.1, crudini 0.9.3-4.el9, pysnmp 4.4.12-6.el9, future 0.18.2-9.el9.1, subunit 1.4.0-6.el9.1, pyflakes 2.2.0-3.el9.1, +465 more Red Hat OpenShift Container Platform 4.13 tini 0.16.1-1.el8ar, grpc 1.18.0-4.el8ost, python-rsa 4.7-1.el8, python3-rsa 4.7-1.el8, cri-tools 1.26.0-1.el9, grpc-cli 1.18.0-4.el8ost, +263 morenot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.35% chance of exploitation in the next 30 days, higher than 29% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2121453 referenced PoC, tagged "exploit" by a source, unverified
- benthamsgaze.org https://www.benthamsgaze.org/2022/08/22/vulnerability-in-linux-containers-investigation-and-mitigation/ referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.1 | 7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| GitHub | 3.1 | 7.1 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | github.com/containers/buildah | <1.27.1 |
1.27.1 |
Affected products
- n/a buildah
Classification
References
-
bugzilla.redhat.com
/show_bug.cgi?id=2121453
web, exploit, issue-tracking, patch, third-party-advisory
-
github.com
/containers/buildah/pull/4200
web
-
github.com
/containers/buildah/commit/4a8bf740e862f2438279c6feee2ea59ddf0cda0b
web, patch
-
benthamsgaze.org
/2022/08/22/vulnerability-in-linux-containers-investigation-and-mitigation/
exploit, third-party-advisory, article
-
nvd.nist.gov
/vuln/detail/CVE-2022-2990
advisory
-
access.redhat.com
/security/cve/CVE-2022-2990
web
-
github.com
/containers/buildah
package
-
pkg.go.dev
/vuln/GO-2022-1008
web
-
benthamsgaze.org
/2022/08/22/vulnerability-in-linux-containers-investigation-and-mitigation
web
Sources
- CVE List CVE-2022-2990
- GitHub Advisory GHSA-fjm8-m7m6-2fjp
- NVD CVE-2022-2990
- OSV GO-2022-1008
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.