Read the docs
TI-2022-10632 Aliases CVE-2022-27651GHSA-c3g4-w6cv-6v7h

Incorrect default permissions in buildah

Priority LOW 33CWE-276Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
High
Impact type
—
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.

Summary

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.

Why it matters now

EPSS 0.01255 69th percentileScored 2026-11-07
Fix Partial github.com/containers/buildah (Go): 1.25.0Red Hat: 6 advisoriesRed Hat: 3 fixed, 2 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—buildahAffects buildah v1.24.0 and prior, Fixed in - v1.25.0—No fix listedCNA
—github.com/containers/buildah (Go)before 1.25.01.25.0Patch availableGHSA-c3g4-w6cv-6v7h
  • buildah Vendor— Affected Affects buildah v1.24.0 and prior, Fixed in - v1.25.0 Fixed in — No fix listed CNA
  • github.com/containers/buildah (Go) Vendor— Affected before 1.25.0 Fixed in 1.25.0 Patch available GHSA-c3g4-w6cv-6v7h

CPE configurations NVD · 6

CPEVersionsRoleVendor
cpe:2.3:a:buildah_project:buildah:*:*:*:*:*:*:*:*before 1.25.0VulnerableBuildah Project
cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*34VulnerableFedoraproject
cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*35VulnerableFedoraproject
cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*36VulnerableFedoraproject
cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*7.0VulnerableRed Hat
cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*8.0VulnerableRed Hat
  • cpe:2.3:a:buildah_project:buildah:*:*:*:*:*:*:*:* Versions before 1.25.0 Vulnerable ·Buildah Project
  • cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* Versions 34 Vulnerable ·Fedoraproject
  • cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* Versions 35 Vulnerable ·Fedoraproject
  • cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:* Versions 36 Vulnerable ·Fedoraproject
  • 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

Remediation

  • Fix · GHSA-c3g4-w6cv-6v7h github.com/containers/buildah (Go) Fixed in 1.25.0 Advisory →

Red Hat 6 advisories

  • RHSA-2022:4816 Released 2022-05-31 · Red Hat rating Important
    container-tools:3.0 security update
    • Red Hat Enterprise Linux AppStream EUS (v.8.4) buildah-1.19.9-1.module+el8.4.0+14872+9efa52a3.aarch64::container-tools:3.0, buildah-1.19.9-1.module+el8.4.0+14872+9efa52a3.ppc64le::container-tools:3.0, buildah-1.19.9-1.module+el8.4.0+14872+9efa52a3.s390x::container-tools:3.0 +47
  • RHSA-2022:4651 Released 2022-05-18 · Red Hat rating Important
    container-tools:2.0 security update
    • Red Hat Enterprise Linux AppStream EUS (v. 8.2) buildah-1.11.6-8.module+el8.2.0+14896+bf621b2a.aarch64::container-tools:2.0, buildah-1.11.6-8.module+el8.2.0+14896+bf621b2a.ppc64le::container-tools:2.0, buildah-1.11.6-8.module+el8.2.0+14896+bf621b2a.s390x::container-tools:2.0 +47
  • RHSA-2022:1762 Released 2022-05-10 · Red Hat rating Important
    container-tools:rhel8 security, bug fix, and enhancement update
    • Red Hat Enterprise Linux AppStream (v. 8) aardvark-dns-2:1.0.1-27.module+el8.6.0+14673+621cb8be.aarch64::container-tools:rhel8, aardvark-dns-2:1.0.1-27.module+el8.6.0+14673+621cb8be.ppc64le::container-tools:rhel8, aardvark-dns-2:1.0.1-27.module+el8.6.0+14673+621cb8be.s390x::container-tools:rhel8 +47
Show 3 more Red Hat advisories
  • RHSA-2022:1566 Released 2022-04-26 · Red Hat rating Moderate
    container-tools:2.0 security update
    • Red Hat Enterprise Linux AppStream (v. 8) buildah-1.11.6-10.module+el8.5.0+14796+e4386a39.aarch64::container-tools:2.0, buildah-1.11.6-10.module+el8.5.0+14796+e4386a39.ppc64le::container-tools:2.0, buildah-1.11.6-10.module+el8.5.0+14796+e4386a39.s390x::container-tools:2.0 +47
  • RHSA-2022:1565 Released 2022-04-26 · Red Hat rating Moderate
    container-tools:3.0 security and bug fix update
    • Red Hat Enterprise Linux AppStream (v. 8) buildah-1.19.9-2.module+el8.5.0+14784+8c48f0fc.aarch64::container-tools:3.0, buildah-1.19.9-2.module+el8.5.0+14784+8c48f0fc.ppc64le::container-tools:3.0, buildah-1.19.9-2.module+el8.5.0+14784+8c48f0fc.s390x::container-tools:3.0 +47
  • RHSA-2022:1407 Released 2022-04-19 · Red Hat rating Moderate
    container-tools:2.0 security and bug fix update
    • Red Hat Enterprise Linux AppStream EUS (v.8.4) buildah-1.11.6-9.module+el8.4.0+14792+f44be4c2.aarch64::container-tools:2.0, buildah-1.11.6-9.module+el8.4.0+14792+f44be4c2.ppc64le::container-tools:2.0, buildah-1.11.6-9.module+el8.4.0+14792+f44be4c2.s390x::container-tools:2.0 +47

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 7AffectedNo fix yet
Red Hat OpenShift Container Platform 4AffectedNo fix planned: Will not fix
Red Hat Enterprise Linux AppStream (v. 8)Fixed RHSA-2022:1565, RHSA-2022:1566, RHSA-2022:1762
Red Hat Enterprise Linux AppStream EUS (v. 8.2)Fixed RHSA-2022:4651
Red Hat Enterprise Linux AppStream EUS (v.8.4)Fixed RHSA-2022:1407, RHSA-2022:4816
Not affected: 2 products
  • Red Hat Enterprise Linux 8
  • Red Hat Enterprise Linux 9

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-27651
  2. 2026-10-03 Alias added: GHSA-c3g4-w6cv-6v7h

References

Sources