CVE-2021-32760

Description

containerd is a container runtime. A bug was found in containerd versions prior to 1.4.8 and 1.5.4 where pulling and extracting a specially-crafted container image can result in Unix file permission changes for existing files in the hosts 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. This bug has been fixed in containerd 1.5.4 and 1.4.8. 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.

Risk Information

Base Score
6.3
MODERATE
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L
EPSS Score
Exploitation Probability
0.071

Associated Vulnerability

VulnerabilityOS Platform
daemon to control runC (USN-5012-1) containerd_1.5.2-0ubuntu1~18.04.2_i386.debLinux
daemon to control runC (USN-5012-1) containerd_1.5.2-0ubuntu1~18.04.2_amd64.debLinux
daemon to control runC (USN-5012-1) containerd_1.5.2-0ubuntu1~20.04.2_amd64.debLinux
daemon to control runC (USN-5012-1) containerd_1.5.2-0ubuntu1~20.10.2_amd64.debLinux
daemon to control runC (USN-5012-1) containerd_1.5.2-0ubuntu1~21.04.2_amd64.debLinux
Containerd update (ELSA-2021-9373) containerd-1.4.8-1.el7.x86_64.rpmLinux
Docker-cli update (ELSA-2021-9373) docker-cli-19.03.11.ol-13.el7.x86_64.rpmLinux
Docker-engine update (ELSA-2021-9373) docker-engine-19.03.11.ol-13.el7.x86_64.rpmLinux
Containerd update (ELSA-2021-15790) containerd-1.4.8-1.el7.x86_64.rpmLinux
Docker-cli update (ELSA-2021-15790) docker-cli-19.03.11.ol-13.el7.x86_64.rpmLinux
Docker-engine update (ELSA-2021-15790) docker-engine-19.03.11.ol-13.el7.x86_64.rpmLinux

Patch Details

No records found

References

https://nvd.nist.gov/vuln/detail/CVE-2023-1234
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1234