CVE-2022-27651

medium

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.

References

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/[email protected]/message/2VWH6X6HOFPO6HTESF42HIJZEPXSWVIO/

https://lists.fedoraproject.org/archives/list/[email protected]/message/7NETC7I6RTMMBRJJQVJOJUPDK4W4PQSJ/

https://lists.fedoraproject.org/archives/list/[email protected]/message/25YI27MENCEPZTTGRVU6BQD5V53FNI52/

Details

Source: MITRE

Published: 2022-04-04

Updated: 2022-09-03

Type: CWE-276

Risk Information

CVSS v2

Base Score: 4.9

Vector: AV:N/AC:M/Au:S/C:P/I:P/A:N

Impact Score: 4.9

Exploitability Score: 6.8

Severity: MEDIUM

CVSS v3

Base Score: 6.8

Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N

Impact Score: 5.2

Exploitability Score: 1.6

Severity: MEDIUM