All vulnerabilities

Servers and applications

CVE-2021-32760

Archive package allows chmod of file outside of unpack target directory

Severity
Medium 6.3
Published
19 Jul 2021
Last changed
17 Jun 2026
Added to UpHeron
1 Nov 2026
Fixed in
1.4.8, 1.5.4
Also known as
GHSA-c72p-9xmj-rx3w
Sources
NVD, Project advisories (GitHub)

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 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,…

Affected software

SoftwareAffected versions
containerdServers and applications · cpe:a:linuxfoundation:containerd
  • Every version before 1.4.8
  • From 1.5.0 before 1.5.4
containerdServers and applications · github:containerd/containerd
  • Version 1.5.0
  • Version 1.5.1
  • Version 1.5.2
  • Version 1.5.3

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2021-32760
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2021-32760
  • GitHub Advisory Database https://github.com/advisories/GHSA-c72p-9xmj-rx3w
  • github.com https://github.com/containerd/containerd/security/advisories/GHSA-c72p-9xmj-rx3w