CVSS 3.1
6.8 mediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:NMedium (6.8). EPSS 1.3% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/containers/buildah 1.25.0.
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:Ngithub.com/containers/buildah (Go): fixed in 1.25.0Explain CVE-2022-27651 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2022-27651?via=ask-ai-copy and https://cve.bz/cve/CVE-2022-27651?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2022-27651 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| buildah_project:buildah | before 1.25.0 |
| fedoraproject:fedora | 34 |
| fedoraproject:fedora | 35 |
| fedoraproject:fedora | 36 |
| redhat:enterprise_linux | 7.0 |
| redhat:enterprise_linux | 8.0 |
| Advisory | Ecosystem | Package | Affected | Fixed in |
|---|---|---|---|---|
| GHSA-c3g4-w6cv-6v7h | Go | github.com/containers/buildah | <1.25.0 | 1.25.0 |
| GO-2022-0417 | Go | github.com/containers/buildah | <1.25.0 | 1.25.0 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 12, 13, 14 | golang-github-containers-buildah | 1.28.0+ds1-2 | DEBIAN-CVE-2022-27651 |
| Ubuntu | 22.04:LTS, 25.10, 26.10 and 2 more | golang-github-containers-buildah | no fix listed | UBUNTU-CVE-2022-27651 |
| Red Hat | enterprise_linux:8::appstream | buildah, buildah-tests, buildah-debuginfo and 2 more | 0:1.11.6-10.module+el8.5.0+14796+e4386a39 | RHSA-2022:1566 |
| Red Hat | enterprise_linux:8::appstream | buildah, buildah-tests, buildah-debuginfo and 2 more | 0:1.19.9-2.module+el8.5.0+14784+8c48f0fc | RHSA-2022:1565 |
| Red Hat | enterprise_linux:8::appstream | buildah, buildah-tests, buildah-debuginfo and 2 more | 1:1.24.2-4.module+el8.6.0+14673+621cb8be | RHSA-2022:1762 |
| Red Hat | enterprise_linux:8::appstream | cockpit-podman | 0:11-1.module+el8.5.0+14796+e4386a39 | RHSA-2022:1566 |
| Red Hat | enterprise_linux:8::appstream | cockpit-podman | 0:29-2.module+el8.5.0+14784+8c48f0fc | RHSA-2022:1565 |
| Red Hat | enterprise_linux:8::appstream | cockpit-podman | 0:43-1.module+el8.6.0+14673+621cb8be | RHSA-2022:1762 |
| Red Hat | enterprise_linux:8::appstream | conmon | 2:2.0.15-1.module+el8.5.0+14796+e4386a39 | RHSA-2022:1566 |
| Red Hat | enterprise_linux:8::appstream | conmon, conmon-debuginfo, conmon-debugsource | 2:2.0.26-1.module+el8.5.0+14784+8c48f0fc | RHSA-2022:1565 |
| Red Hat | enterprise_linux:8::appstream | conmon, conmon-debuginfo, conmon-debugsource | 2:2.1.0-1.module+el8.6.0+14673+621cb8be | RHSA-2022:1762 |
| Red Hat | enterprise_linux:8::appstream | container-selinux | 2:2.130.0-1.module+el8.5.0+14796+e4386a39 | RHSA-2022:1566 |
| Red Hat | enterprise_linux:8::appstream | container-selinux | 2:2.167.0-1.module+el8.5.0+14784+8c48f0fc | RHSA-2022:1565 |
| Red Hat | enterprise_linux:8::appstream | container-selinux | 2:2.179.1-1.module+el8.6.0+14673+621cb8be | RHSA-2022:1762 |
| 81 more for Red Hat in the JSON and on Red Hat's page. | ||||
| SUSE | Enterprise Storage 6, Enterprise Storage 7, Linux Enterprise High Performance Computing 15 SP1-ESPOS and 12 more | buildah | 1.25.1-150100.3.13.12 | SUSE-SU-2022:3480-1 |
| SUSE | Linux Enterprise Module for Containers 15 SP3 | buildah | 1.25.1-150300.8.6.1 | SUSE-SU-2022:1437-1 |
| SUSE | Linux Enterprise Module for Containers 15 SP4 | buildah | 1.25.1-150400.3.3.28 | SUSE-SU-2022:2680-1 |
| openSUSE | Leap 15.3 | buildah | 1.25.1-150300.8.6.1 | SUSE-SU-2022:1437-1 |
| openSUSE | Leap 15.4 | buildah | 1.25.1-150400.3.3.28 | SUSE-SU-2022:2680-1 |
| openSUSE | Tumbleweed | buildah | 1.25.1-1.1 | openSUSE-SU-2024:11964-1 |
| AlmaLinux | 8 | buildah, buildah-tests | 1.11.6-10.module_el8.5.0+2635+e4386a39 | ALSA-2022:1566 |
| AlmaLinux | 8 | buildah, buildah-tests | 1.11.6-10.module_el8.5.0+2842+7d0cf290 | ALSA-2022:1566 |
| AlmaLinux | 8 | buildah, buildah-tests | 1.19.9-2.module_el8.5.0+2636+8c48f0fc | ALSA-2022:1565 |
| AlmaLinux | 8 | buildah, buildah-tests | 1:1.24.2-4.module_el8.6.0+2878+e681bc44 | ALSA-2022:1762 |
| AlmaLinux | 8 | cockpit-podman | 11-1.module_el8.5.0+108+00865455 | ALSA-2022:1566 |
| AlmaLinux | 8 | cockpit-podman | 11-1.module_el8.5.0+2635+e4386a39 | ALSA-2022:1566 |
| AlmaLinux | 8 | cockpit-podman | 29-2.module_el8.5.0+2636+8c48f0fc | ALSA-2022:1565 |
| AlmaLinux | 8 | cockpit-podman | 29-2.module_el8.6.0+2876+9ed4eae2 | ALSA-2022:1565 |
| AlmaLinux | 8 | cockpit-podman | 43-1.module_el8.6.0+2877+8e437bf5 | ALSA-2022:1762 |
| AlmaLinux | 8 | conmon | 2:2.0.15-1.module_el8.5.0+108+00865455 | ALSA-2022:1566 |
| AlmaLinux | 8 | conmon | 2:2.0.15-1.module_el8.5.0+2635+e4386a39 | ALSA-2022:1566 |
| AlmaLinux | 8 | conmon | 2:2.0.26-1.module_el8.5.0+2636+8c48f0fc | ALSA-2022:1565 |
| 66 more for AlmaLinux in the JSON. | ||||
| Rocky Linux | 8 | buildah | 0:1.11.6-10.module+el8.5.0+770+e2f49861 | RLSA-2022:1566 |
| Rocky Linux | 8 | buildah | 0:1.19.9-2.module+el8.5.0+769+55ca48e8 | RLSA-2022:1565 |
| Rocky Linux | 8 | buildah | 1:1.24.2-4.module+el8.6.0+785+d1251653 | RLSA-2022:1762 |
| Rocky Linux | 8 | cockpit-podman | 0:11-1.module+el8.4.0+559+c02fa3b2 | RLSA-2022:1566 |
| Rocky Linux | 8 | cockpit-podman | 0:11-1.module+el8.5.0+708+6758137d | RLSA-2022:1566 |
| Rocky Linux | 8 | cockpit-podman | 0:11-1.module+el8.5.0+770+e2f49861 | RLSA-2022:1566 |
| Rocky Linux | 8 | cockpit-podman | 0:29-2.module+el8.4.0+556+40122d08 | RLSA-2022:1565 |
| Rocky Linux | 8 | cockpit-podman | 0:29-2.module+el8.5.0+709+440d5e7e | RLSA-2022:1565 |
| Rocky Linux | 8 | cockpit-podman | 0:29-2.module+el8.6.0+783+10209741 | RLSA-2022:1565 |
| Rocky Linux | 8 | cockpit-podman | 0:29-2.module+el8.7.0+1076+9b1c11c1 | RLSA-2022:1565 |
| Rocky Linux | 8 | cockpit-podman | 0:43-1.module+el8.6.0+784+32aef5de | RLSA-2022:1762 |
| Rocky Linux | 8 | conmon | 2:2.0.15-1.module+el8.4.0+559+c02fa3b2 | RLSA-2022:1566 |
| 99 more for Rocky Linux in the JSON. | ||||
| Alpine | v3.15 | buildah | 1.23.4-r0 | ALPINE-CVE-2022-27651 |
| Azure Linux | 2 | buildah | no fix listed | AZL-9318 |
| Azure Linux | 2 | buildah | 1.18.0-8 | AZL-11513 |
| Azure Linux | 2 | cri-o | 1.21.7-2 | AZL-39870 |
| Azure Linux | 3 | buildah | 1.41.4-2 | AZL-36934 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.
Red Hat rates this Moderate.
This issue is related to the general vulnerability found in Moby (Docker Engine), which has been assigned CVE-2022-24769.
The impact for OpenShift Container Platform is set to LOW as Buildah was shipped but is not being used. No update is planned at this time.
The entry point of a container can be modified to use a utility like capsh(1) to drop inheritable capabilities prior to the primary process starting.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | container-tools:3.0-8050020220411083214.e34216c9 | Fixed 2022-04-26 | RHSA-2022:1565 |
| Red Hat Enterprise Linux 8 | container-tools:2.0-8050020220411114323.e34216c9 | Fixed 2022-04-26 | RHSA-2022:1566 |
| Red Hat Enterprise Linux 8 | container-tools:rhel8-8060020220401155929.2e213529 | Fixed 2022-05-10 | RHSA-2022:1762 |
| Red Hat Enterprise Linux 8.2 Extended Update Support | container-tools:2.0-8020020220420173758.28c38760 | Fixed 2022-05-18 | RHSA-2022:4651 |
| Red Hat Enterprise Linux 8.4 Extended Update Support | container-tools:2.0-8040020220411112506.c0c392d5 | Fixed 2022-04-19 | RHSA-2022:1407 |
| Red Hat Enterprise Linux 8.4 Extended Update Support | container-tools:3.0-8040020220419093313.c0c392d5 | Fixed 2022-05-31 | RHSA-2022:4816 |
| Red Hat Enterprise Linux 7 | buildah | Affected | |
| Red Hat Enterprise Linux 8 | container-tools:4.0/buildah | Not affected | |
| Red Hat Enterprise Linux 9 | buildah | Not affected | |
| Red Hat OpenShift Container Platform 4 | buildah | Will not fix |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2022-27651.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.