CVE-2022-27651: buildah_project buildah Incorrect Default Permissions
Vulnerability summary
CVE-2022-27651 is a medium (CVSS 6.8) Incorrect Default Permissions vulnerability in buildah_project buildah. EPSS estimates a 1.26% chance of exploitation in the next 30 days, higher than 69.5% of scored vulnerabilities.
Not severe (CVSS 6.8, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 8 · Related 3Timeline
- 04-04-2022PublishedVulnerability first disclosed.
- 03-08-2024Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
8 scores · 7 sources · 2 versions- OSV · UbuntuEcosystem advisory · calculated6.8MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
- OSV · DebianEcosystem advisory · calculated6.8MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
- OSV · WolfiEcosystem advisory · calculated6.8MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
- OSV · GoEcosystem advisory · calculated6.8MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
- OSV · ChainguardEcosystem advisory · calculated6.8MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
- OSV · AlpineEcosystem advisory · calculated6.8MediumCVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
EPSS trend
Probability
1.26%
Chance of exploitation in the next 30 days
Percentile
70%
Versus all other CVEs
30-day change
No change 0.00 pp
From 1.26% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
0 foundNo public exploits indexed.
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, low-privilege account, no user interaction (CVSS vector). Other conditions: not stated in public data.
Opensuse3 products
- buildah&distro=openSUSE Leap 15.3< 1.25.1-150300.8.6.1
- buildah&distro=openSUSE Leap 15.4< 1.25.1-150400.3.3.28
- buildah&distro=openSUSE Tumbleweed< 1.25.1-1.1
Suse2 products
- buildah&distro=SUSE Linux Enterprise Module for Containers 15 SP3< 1.25.1-150300.8.6.1
- buildah&distro=SUSE Linux Enterprise Module for Containers 15 SP4< 1.25.1-150400.3.3.28
Alpine1 product
- buildah< 1.23.4-r0
Buildah_project1 product
- buildah< 1.25.0
Chainguard1 product
- buildahAll versions (No fix recorded)
Debian1 product
- golang-github-containers-buildah< 1.28.0+ds1-2
Fedoraproject1 product
- fedoraEOL34 | 35 | 36
Github.com/containers1 product
- buildah< 1.25.0
Redhat1 product
- enterprise_linuxEOL7.0 | 8.0
Ubuntu1 product
- golang-github-containers-buildahAll versions (No fix recorded)
Wolfi1 product
- buildahAll versions (No fix recorded)
11 vendors · 14 products
References
22 links- bugzilla.redhat.com/show_bug.cgi?id=2066840X Refsource MISCREPORTWEBIssue TrackingThird Party Advisory
- github.com/containers/buildah/security/advisories/GHSA-c3g4-w6cv-6v7hX Refsource MISCREPORTWEBThird Party Advisory
- github.com/containers/buildah/commit/e7e55c988c05dd74005184ceb64f097a0cfe645bX Refsource MISCREPORTWEBFIXPatchThird Party Advisory