CVE-2022-27651

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: 2022-04-04 Last update: 2024-11-21 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2022-27651 is rated Moderate Risk (40.6/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.17%). Mandatory action: Review affected assets and schedule remediation.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2022-27651

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-01-03 0.12% 0.17% +0.05%
2 2025-11-21 0.33% 0.12% -0.21%
3 2025-11-18 0.33%

Full EPSS history (10 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2022-27651

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
6.8 3.1 MEDIUM
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:H)
Even with access, the exploit needs extra luck, timing, or a fussy environment to actually work.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:N)
Service keeps running; no real outage angle.
1.6 5.2 [email protected]
4.9 2.0 MEDIUM
AV:N/AC:M/Au:S/C:P/I:P/A:N Click to expand
Access vector (AV:N)
Can be exploited remotely over network reachability.
Access complexity (AC:M)
Exploitation needs some favorable conditions, but not exceptional ones.
Authentication (AU:S)
A single authentication is required.
Confidentiality impact (C:P)
Partial confidentiality impact.
Integrity impact (I:P)
Partial integrity impact.
Availability impact (A:N)
No availability impact.
6.8 4.9 [email protected]

Weakness enumeration for CVE-2022-27651

GitHub Security Advisory for CVE-2022-27651

GHSA-c3g4-w6cv-6v7h · Severity: medium · Ecosystem: go — Non-empty default inheritable capabilities for linux container in Buildah

OS Trackers for CVE-2022-27651

vendor priority summary link
alpine medium CVE-2022-27651: 1 source package rows (buildah); 6 state rows across 2 repos (3.22-community, edge-community); fixed 0, open 6. https://security.alpinelinux.org/vuln/CVE-2022-27651
debian not yet assigned CVE-2022-27651 not yet assigned priority: Debian including 1 source packages (golang-github-containers-buildah), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 4, open 1. https://security-tracker.debian.org/tracker/CVE-2022-27651
redhat medium https://access.redhat.com/security/cve/CVE-2022-27651
suse medium CVE-2022-27651 severity moderate: SUSE including 43 source package names (aardvark-dns-1.0.1-27.module+el8.6.0+14673+621cb8be, buildah-1.24.2-4.module+el8.6.0+14673+621cb8be, …), 61 product×package rows across 27 product lines (SUSE CaaS Platform 4.0, SUSE Enterprise Storage 6, … (27 product lines)): Fixed 61. https://www.suse.com/security/cve/CVE-2022-27651/
ubuntu medium CVE-2022-27651 medium priority: Ubuntu including 1 source packages (golang-github-containers-buildah), 12 status rows across 12 suites (impish, jammy, kinetic, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): ignored 8, needs-triage 4. https://ubuntu.com/security/CVE-2022-27651

Affected software / configurations for CVE-2022-27651

Vendor Product Version Raw CPE
buildah_project buildah < 1.25.0 cpe:2.3:a:buildah_project:buildah:*:*:*:*:*:*:*:*
fedoraproject fedora 34 cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
fedoraproject fedora 35 cpe:2.3:o:fedoraproject:fedora:35:*:*:*:*:*:*:*
fedoraproject fedora 36 cpe:2.3:o:fedoraproject:fedora:36:*:*:*:*:*:*:*
redhat enterprise_linux 7.0 cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:*
redhat enterprise_linux 8.0 cpe:2.3:o:redhat:enterprise_linux:8.0:*:*:*:*:*:*:*

References for CVE-2022-27651

cvelogic Threat Intelligence