CVE-2022-27651

MEDIUM
Published Apr 4, 20224y ago · Modified Jun 17, 20262w ago
6.8 CVSS 3.1
Medium
Find Similar
Published Apr 4, 2022 4y ago
Last Modified Jun 17, 2026 2w ago

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.

CVSS Details

Base Score
6.8
Exploitability
1.6
Impact
5.2
Vector string
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
Attack Vector Network
Attack Complexity High
Privileges Required Low
User Interaction None
Scope Unchanged
Confidentiality High
Integrity High
Availability None

Threat Intelligence

No active exploitation signals — not in CISA KEV and no EPSS score yet.

Exploit & Patch Status
No Known Exploit
Patch Available

Weaknesses 1

CWE-276

Affected Products 6

VendorProductVersionRange
buildah_projectbuildah* <1.25.0
fedoraprojectfedora34any
fedoraprojectfedora35any
fedoraprojectfedora36any
redhatenterprise_linux7.0any
redhatenterprise_linux8.0any

References 6

  • bugzilla.redhat.com https://bugzilla.redhat.com/show_bug.cgi?id=2066840
    Issue TrackingThird Party Advisory
  • github.com https://github.com/containers/buildah/commit/e7e55c988c05dd74005184ceb64f097a0cfe645b
    PatchThird Party Advisory
  • github.com https://github.com/containers/buildah/security/advisories/GHSA-c3g4-w6cv-6v7h
    Third Party Advisory
  • lists.fedoraproject.org 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/

Remediation

  • github.com https://github.com/containers/buildah/commit/e7e55c988c05dd74005184ceb64f097a0cfe645b
    PatchThird Party Advisory