Incorrect Default Permissions Affecting buildah package, versions <1.25.1-150400.3.3.28
Snyk CVSS
Threat Intelligence
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-SLES154-BUILDAH-2976169
- published 6 Aug 2022
- disclosed 5 Aug 2022
Introduced: 5 Aug 2022
CVE-2022-27651 Open this link in a new tabHow to fix?
Upgrade SLES:15.4
buildah
to version 1.25.1-150400.3.3.28 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream buildah
package and not the buildah
package as distributed by SLES
.
See How to fix?
for SLES:15.4
relevant fixed versions and status.
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.
References
- https://www.suse.com/security/cve/CVE-2022-27651.html
- https://lists.suse.com/pipermail/sle-security-updates/2022-August/011808.html
- https://www.suse.com/support/update/announcement/2022/suse-su-20222680-1/
- https://bugzilla.suse.com/1197870
- https://www.suse.com/security/cve/CVE-2022-27651/
- https://www.suse.com/support/security/rating/
- https://github.com/containers/buildah/commit/e7e55c988c05dd74005184ceb64f097a0cfe645b
- https://bugzilla.redhat.com/show_bug.cgi?id=2066840
- https://github.com/containers/buildah/security/advisories/GHSA-c3g4-w6cv-6v7h
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2VWH6X6HOFPO6HTESF42HIJZEPXSWVIO/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7NETC7I6RTMMBRJJQVJOJUPDK4W4PQSJ/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/25YI27MENCEPZTTGRVU6BQD5V53FNI52/
- 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/