CVE-2022-27651
Aliases:GHSA-c3g4-w6cv-6v7hGO-2022-0417
Advisory lineage Upstream: 0 Downstream: 13
Modified
Published: 04 Apr 2022, 19:45
Last modified:03 Aug 2024, 05:32
Vulnerability Summary
Overall Risk (default)
medium
27/100 CVSS Score
6.8 MEDIUM
v3.1 (nvd)
EPSS Score
0.18% LOW
0% probability +0.02%
KEV
Not listed
Ransomware
No reports
Public exploits
None found
Dark Web
Not detected
Timeline
04 Apr 2022, 19:45
Published
Vulnerability first disclosed
03 Aug 2024, 05:32
Last Modified
Vulnerability information updated
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 Metrics
- v3.1•MEDIUM•Score: 6.8CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
- v2.0•MEDIUM•Score: 4.9AV:N/AC:M/Au:S/C:P/I:P/A:N
EPSS Trends
Current EPSS score: 0.18%• Percentile: 40%
Techniques & Countermeasures
- CWE-276•Incorrect Default Permissions
During installation, installed file permissions are set to allow anyone to modify those files.
Affected Systems
- buildah_project•buildah
< 1.25.0
- fedoraproject•fedora
34 | 35 | 36
- github.com/containers•buildah
< 1.25.0
- redhat•enterprise_linux
7.0 | 8.0
References (14)
- https://bugzilla.redhat.com/show_bug.cgi?id=2066840
- https://github.com/containers/buildah/security/advisories/GHSA-c3g4-w6cv-6v7h
- https://github.com/containers/buildah/commit/e7e55c988c05dd74005184ceb64f097a0cfe645b
- 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://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/25YI27MENCEPZTTGRVU6BQD5V53FNI52/
- https://nvd.nist.gov/vuln/detail/CVE-2022-27651
- https://github.com/containers/buildah/pull/3855
- https://github.com/containers/buildah/commit/90b3254c7404039c1c786999ac189654228f6e0e
- https://github.com/containers/buildah
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/25YI27MENCEPZTTGRVU6BQD5V53FNI52
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2VWH6X6HOFPO6HTESF42HIJZEPXSWVIO
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7NETC7I6RTMMBRJJQVJOJUPDK4W4PQSJ
- https://pkg.go.dev/vuln/GO-2022-0417