CVEvulnerability
CVE-2022-27651
6.8 MEDIUM
Official page ↗
- Status
- Modified
- Published
- 2022-04-04
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 ([email protected])
- 6.8 MEDIUM — CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
- CVSS 2.0 ([email protected])
- 4.9 MEDIUM — AV:N/AC:M/Au:S/C:P/I:P/A:N
- Weaknesses
- CWE-276
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 configurations
• buildah project buildah (< 1.25.0)
• fedoraproject fedora 34
• fedoraproject fedora 35
• fedoraproject fedora 36
• redhat enterprise linux 7.0
• redhat enterprise linux 8.0
Related
Weakness · CWE (1)
- CWE-276 Incorrect Default Permissions weakness
References
- https://bugzilla.redhat.com/show_bug.cgi?id=2066840 Issue Tracking, Third Party Advisory
- https://github.com/containers/buildah/commit/e7e55c988c05dd74005184ceb64f097a0cfe645b Patch, Third Party Advisory
- https://github.com/containers/buildah/security/advisories/GHSA-c3g4-w6cv-6v7h Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/25YI27MENCEPZTTGRVU6BQD5V53FNI52/ lists.fedoraproject.org
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2VWH6X6HOFPO6HTESF42HIJZEPXSWVIO/ lists.fedoraproject.org
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7NETC7I6RTMMBRJJQVJOJUPDK4W4PQSJ/ lists.fedoraproject.org
- https://bugzilla.redhat.com/show_bug.cgi?id=2066840 Issue Tracking, Third Party Advisory
- https://github.com/containers/buildah/commit/e7e55c988c05dd74005184ceb64f097a0cfe645b Patch, Third Party Advisory
- https://github.com/containers/buildah/security/advisories/GHSA-c3g4-w6cv-6v7h Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/25YI27MENCEPZTTGRVU6BQD5V53FNI52/ lists.fedoraproject.org
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/2VWH6X6HOFPO6HTESF42HIJZEPXSWVIO/ lists.fedoraproject.org
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7NETC7I6RTMMBRJJQVJOJUPDK4W4PQSJ/ lists.fedoraproject.org