GHSA-c3g4-w6cv-6v7h
Non-empty default inheritable capabilities for linux container in Buildah
At a glance
- Published
- Updated
- CVE
- CVE-2022-27651
- Aliases
- GO-2022-0417
- CVSS_V3
- CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
Description
A bug was found in Buildah where containers were created with non-empty inheritable Linux process capabilities, creating an atypical Linux environment and enabling programs with inheritable file capabilities to elevate those capabilities to the permitted set during execve(2). This bug did not affect the container security sandbox as the inheritable set never contained more capabilities than were included in the container's bounding set.
Affected packages
| Package | Versions |
|---|---|
| Go · github.com/containers/buildah | introduced 0, fixed 1.25.0 |
References
- https://github.com/containers/buildah/security/advisories/GHSA-c3g4-w6cv-6v7h WEB
- https://nvd.nist.gov/vuln/detail/CVE-2022-27651 ADVISORY
- https://github.com/containers/buildah/pull/3855 WEB
- https://github.com/containers/buildah/commit/90b3254c7404039c1c786999ac189654228f6e0e WEB
- https://github.com/containers/buildah/commit/e7e55c988c05dd74005184ceb64f097a0cfe645b WEB
- https://bugzilla.redhat.com/show_bug.cgi?id=2066840 WEB
- https://github.com/containers/buildah PACKAGE
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/25YI27MENCEPZTTGRVU6BQD5V53FNI52 WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2VWH6X6HOFPO6HTESF42HIJZEPXSWVIO WEB
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7NETC7I6RTMMBRJJQVJOJUPDK4W4PQSJ WEB
- https://pkg.go.dev/vuln/GO-2022-0417 WEB
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — GitHub Advisory Database |