Vulnerability
CVE-2022-27651
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.
31 advisories report this vulnerability, across 13 ecosystems.
Advisories in Red Hat
-
RHSA-2022:1407
Red Hat Security Advisory: container-tools:2.0 security and bug fix update
-
RHSA-2022:1565
Red Hat Security Advisory: container-tools:3.0 security and bug fix update
-
RHSA-2022:1566
Red Hat Security Advisory: container-tools:2.0 security update
-
RHSA-2022:1762
Red Hat Security Advisory: container-tools:rhel8 security, bug fix, and enhancement update
-
RHSA-2022:4651
Red Hat Security Advisory: container-tools:2.0 security update
-
RHSA-2022:4816
Red Hat Security Advisory: container-tools:3.0 security update
-
RHVEX-CVE-2022-27651
buildah: Default inheritable capabilities for linux container should be empty
References
- https://bugzilla.redhat.com/show_bug.cgi?id=2066840
- https://github.com/containers/buildah/commit/e7e55c988c05dd74005184ceb64f097a0cfe645b
- https://github.com/containers/buildah/security/advisories/GHSA-c3g4-w6cv-6v7h
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/25YI27MENCEPZTTGRVU6BQD5V53FNI52/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2VWH6X6HOFPO6HTESF42HIJZEPXSWVIO/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7NETC7I6RTMMBRJJQVJOJUPDK4W4PQSJ/