p PatchFirst

CVE-2021-32760

CVE-2021-32760 · Archive package allows chmod of file outside of unpack target directory

This page contains facts from public vulnerability sources. Check the original advisory before updating.

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

CVSS 5.0 · Medium · EPSS 1.6% · Fix available

Published
Updated

Stack: system · containers

Affected products and versions

  • containerd

    Versions
    • <= 1.4.7: Affected
    • >= 1.5.0, <= 1.5.3: Affected

    No fix published

  • containerd Debian:12

    Affected ranges
    • ECOSYSTEM: < 1.4.5~ds1-2

    Update to 1.4.5~ds1-2

  • containerd Debian:13

    Affected ranges
    • ECOSYSTEM: < 1.4.5~ds1-2

    Update to 1.4.5~ds1-2

  • containerd Debian:14

    Affected ranges
    • ECOSYSTEM: < 1.4.5~ds1-2

    Update to 1.4.5~ds1-2

  • containerd Ubuntu:Pro:16.04:LTS

    Versions
    • 0.2.1-0ubuntu4~16.04
    • 0.2.3-0ubuntu1~16.04
    • 0.2.5-0ubuntu1~16.04.1
    • 1.2.6-0ubuntu1~16.04.2
    • 1.2.6-0ubuntu1~16.04.3
    • 1.2.6-0ubuntu1~16.04.4
    • 1.2.6-0ubuntu1~16.04.5
    • 1.2.6-0ubuntu1~16.04.6
    • 1.2.6-0ubuntu1~16.04.6+esm1
    Affected ranges
    • ECOSYSTEM: < 1.2.6-0ubuntu1~16.04.6+esm2

    Update to 1.2.6-0ubuntu1~16.04.6+esm2

  • containerd Ubuntu:18.04:LTS

    Versions
    • 0.2.5-0ubuntu2
    • 1.2.6-0ubuntu1~18.04.1
    • 1.2.6-0ubuntu1~18.04.2
    • 1.3.3-0ubuntu1~18.04.1
    • 1.3.3-0ubuntu1~18.04.2
    • 1.3.3-0ubuntu1~18.04.3
    • 1.3.3-0ubuntu1~18.04.4
    • 1.4.4-0ubuntu1~18.04.2
    • 1.5.2-0ubuntu1~18.04.1
    Affected ranges
    • ECOSYSTEM: < 1.5.2-0ubuntu1~18.04.2

    Update to 1.5.2-0ubuntu1~18.04.2

  • containerd Ubuntu:20.04:LTS

    Versions
    • 1.2.10-0ubuntu1
    • 1.3.2-0ubuntu1
    • 1.3.3-0ubuntu1
    • 1.3.3-0ubuntu2
    • 1.3.3-0ubuntu2.1
    • 1.3.3-0ubuntu2.2
    • 1.3.3-0ubuntu2.3
    • 1.4.4-0ubuntu1~20.04.2
    • 1.5.2-0ubuntu1~20.04.1
    Affected ranges
    • ECOSYSTEM: < 1.5.2-0ubuntu1~20.04.2

    Update to 1.5.2-0ubuntu1~20.04.2

Original sources

Check your server →