CVE-2022-27651Incorrect Default Permissions in Containers Buildah

Severity
6.8MEDIUMNVD
EPSS
0.2%
top 60.04%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedApr 4
Latest updateJul 1

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 vector

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:NExploitability: 1.6 | Impact: 5.2

Affected Packages3 packages

CVEListV5buildah_project/buildahAffects buildah v1.24.0 and prior, Fixed in - v1.25.0

Also affects: Enterprise Linux 7.0, 8.0, Fedora 34, 35, 36

Patches

🔴Vulnerability Details

5
OSV
Incorrect default permissions in github.com/containers/buildah2022-07-01
CVEList
CVE-2022-27651: A flaw was found in buildah where containers were incorrectly started with non-empty default permissions2022-04-04
OSV
CVE-2022-27651: A flaw was found in buildah where containers were incorrectly started with non-empty default permissions2022-04-04
OSV
Non-empty default inheritable capabilities for linux container in Buildah2022-04-01
GHSA
Non-empty default inheritable capabilities for linux container in Buildah2022-04-01

📋Vendor Advisories

3
Microsoft
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-emp2022-04-12
Red Hat
buildah: Default inheritable capabilities for linux container should be empty2022-03-30
Debian
CVE-2022-27651: golang-github-containers-buildah - A flaw was found in buildah where containers were incorrectly started with non-e...2022
CVE-2022-27651 — Incorrect Default Permissions | cvebase