Severity |
|
Remote |
|
Type |
- |
Unknown |
+ |
Incorrect calculation |
|
Description |
+ |
A bug was found in containerd version prior to 1.5.4 where pulling and extracting a specially-crafted container image can result in Unix file permission changes for existing files in the host's filesystem. Changes to file permissions can deny access to the expected owner of the file, widen access to others, or set extended bits like setuid, setgid, and sticky. This bug does not directly allow files to be read, modified, or executed without an additional cooperating process. |
|
References |
+ |
https://github.com/containerd/containerd/security/advisories/GHSA-c72p-9xmj-rx3w |
+ |
https://github.com/containerd/containerd/commit/37a44de17d5d09e258e3c8c29d32ae99797e7c11 |
|
Notes |
+ |
Workaround |
+ |
========== |
+ |
|
+ |
As a workaround, ensure that users only pull images from trusted sources. Linux security modules (LSMs) like SELinux and AppArmor can limit the files potentially affected by this bug through policies and profiles that prevent containerd from interacting with specific files. |
|