CVE-2022-27651
MEDIUM 6.8CVSS 3.1Non-empty default inheritable capabilities for linux container in Buildah
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.
- Published
- 4 Apr 2022
- Last modified
- 10 Sep 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-276
- Also known as
- GHSA-c3g4-w6cv-6v7hGO-2022-0417
- Sources
- NVDJSONOSV GHSA-c3g4-w6cv-6v7hJSONOSV GO-2022-0417JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | MEDIUM 6.8 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | MEDIUM 6.8 | CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 4.9 | AV:N/AC:M/Au:S/C:P/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | buildah_project | buildahcpe:2.3:a:buildah_project:buildah:*:*:*:*:*:*:*:* |
< 1.25.0 | 1.25.0 |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:* |
= 34 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:* |
= 35 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:* |
= 36 | |
| NVD | redhat | enterprise_linuxcpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* |
= 7.0 | |
| NVD | redhat | enterprise_linuxcpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:* |
= 8.0 | |
| OSV | Go | github.com/containers/buildah | < 1.25.0 | 1.25.0 |
References
- https://bugzilla.redhat.com/show_bug.cgi?id=2066840 · Issue Tracking, Third Party Advisory, WEB
- https://github.com/containers/buildah/commit/e7e55c988c05dd74005184ceb64f097a0cfe645b · Patch, Third Party Advisory, WEB, FIX
- https://github.com/containers/buildah/security/advisories/GHSA-c3g4-w6cv-6v7h · Third Party Advisory, WEB
- 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/
- 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 · 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
History
- 25 Nov 2026 20:34 UTC · NVD: first stored (published 4 Apr 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 1 Jul 2022)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 1 Apr 2022)