CVE-2022-27651
MEDIUM6.8EPSS 0.18%Incorrect default permissions in github.com/containers/buildah
Published: 4/1/2022Modified: 4/28/2026
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.
Affected packages (3)
- Debian/golang-github-containers-buildahfrom 0
- Go/github.com/containers/buildahfrom 0, < 1.25.0
- Go/github.com/containers/buildahfrom 0, < 1.25.0
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.8 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N |
References (12)
- ADVISORYhttps://nvd.nist.gov/vuln/detail/CVE-2022-27651
- ADVISORYhttps://security-tracker.debian.org/tracker/CVE-2022-27651
- PATCHhttps://github.com/containers/buildah
- WEBhttps://bugzilla.redhat.com/show_bug.cgi?id=2066840
- WEBhttps://github.com/containers/buildah/commit/90b3254c7404039c1c786999ac189654228f6e0e
- WEBhttps://github.com/containers/buildah/commit/e7e55c988c05dd74005184ceb64f097a0cfe645b
- WEBhttps://github.com/containers/buildah/pull/3855
- WEBhttps://github.com/containers/buildah/security/advisories/GHSA-c3g4-w6cv-6v7h
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/25YI27MENCEPZTTGRVU6BQD5V53FNI52
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/2VWH6X6HOFPO6HTESF42HIJZEPXSWVIO
- WEBhttps://lists.fedoraproject.org/archives/list/[email protected]/message/7NETC7I6RTMMBRJJQVJOJUPDK4W4PQSJ
- WEBhttps://pkg.go.dev/vuln/GO-2022-0417