{"answers":{"affected":"5 open source packages ship an affected version, including github.com/containerd/containerd. It affects 2 products.","exploited":"There is no known exploitation of CVE-2021-32760 in the wild and no public exploit code.","fix":"Upgrade github.com/containerd/containerd to a fixed version for your release line: 1.4.8 or 1.5.4.","what":"CVE-2021-32760 is a medium-severity vulnerability in Fedoraproject Fedora, published on 19 Jul 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2021-32760 and fix it if it is affected.\n\nWhat it is: CVE-2021-32760 is a medium-severity vulnerability in Fedoraproject Fedora, published on 19 Jul 2021. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2021-32760 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/containerd/containerd (Go): affected all versions; fixed in 1.4.8, 1.5.4\n- github.com/containerd/containerd (Go): affected all versions; fixed in 1.4.8\n- github.com/containerd/containerd (Go): affected all versions; fixed in 1.4.8\n- github.com/containerd/containerd (Go): affected from 1.5.0; fixed in 1.5.4\n- github.com/containerd/containerd (Go): affected from 1.5.0; fixed in 1.5.4\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2021-32760/ (Markdown: https://insights.sbomify.com/CVE-2021-32760/index.md)","id":"CVE-2021-32760","markdown":"https://insights.sbomify.com/CVE-2021-32760/index.md","name":"CVE-2021-32760","record":{"aliases":["AZL-6680","CLEANSTART-2025-OM13781","DEBIAN-CVE-2021-32760","GHSA-c72p-9xmj-rx3w","GO-2022-0921","SUSE-SU-2021:2412-1","SUSE-SU-2021:2413-1","UBUNTU-CVE-2021-32760","USN-5012-1","openSUSE-SU-2021:1081-1","openSUSE-SU-2021:2412-1","openSUSE-SU-2024:11619-1"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"upgrade","impacts":["privilege_escalation","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"container runtime","requires_auth":"none","summary":"Attackers can modify host file permissions via crafted container images, potentially enabling privilege escalation or access control bypasses.","user_interaction":"required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"fedora","vendor":"fedoraproject"},{"product":"containerd","vendor":"linuxfoundation"}],"cvss":{"score":5,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L","version":"3.1"},"cwes":[{"id":"CWE-732","name":"Incorrect Permission Assignment for Critical Resource"},{"id":"CWE-668","name":"Exposure of Resource to Wrong Sphere"}],"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, 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.","ecosystems":["Go","SUSE:Linux Enterprise Micro 5.0","SUSE:Linux Enterprise Module for Containers 12","SUSE:Linux Enterprise Module for Containers 15 SP2","SUSE:Linux Enterprise Module for Containers 15 SP3","openSUSE:Leap 15.2","openSUSE:Leap 15.3","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Archive package allows chmod of file outside of unpack target directory","id":"CVE-2021-32760","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":"fedoraproject:fedora","products":["fedoraproject:fedora"],"type":"privilege_escalation","year":"2021"},"n_packages":12,"n_references":5,"next":{"headline":"Integer overflow issues with *BIT commands on 32-bit systems","id":"CVE-2021-32761"},"packages":[{"ecosystem":"Go","fixed":["1.4.8","1.5.4"],"introduced":["0","1.5.0"],"last_affected":[],"package":"github.com/containerd/containerd","purl":"pkg:golang/github.com/containerd/containerd","source":"GO-2022-0921"},{"ecosystem":"Go","fixed":["1.4.8"],"introduced":["0"],"last_affected":[],"package":"github.com/containerd/containerd","purl":null,"source":"GHSA-c72p-9xmj-rx3w"},{"ecosystem":"Go","fixed":["1.4.8"],"introduced":["0"],"last_affected":[],"package":"github.com/containerd/containerd","purl":"pkg:golang/github.com/containerd/containerd","source":"GHSA-c72p-9xmj-rx3w"},{"ecosystem":"Go","fixed":["1.5.4"],"introduced":["1.5.0"],"last_affected":[],"package":"github.com/containerd/containerd","purl":null,"source":"GHSA-c72p-9xmj-rx3w"},{"ecosystem":"Go","fixed":["1.5.4"],"introduced":["1.5.0"],"last_affected":[],"package":"github.com/containerd/containerd","purl":"pkg:golang/github.com/containerd/containerd","source":"GHSA-c72p-9xmj-rx3w"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.0","fixed":["1.4.4-5.36.1"],"introduced":["0"],"last_affected":[],"package":"containerd","purl":"pkg:rpm/suse/containerd\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.0","source":"SUSE-SU-2021:2412-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Containers 12","fixed":["1.4.4-16.42.1"],"introduced":["0"],"last_affected":[],"package":"containerd","purl":"pkg:rpm/suse/containerd\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Containers%2012","source":"SUSE-SU-2021:2413-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Containers 15 SP2","fixed":["1.4.4-5.36.1"],"introduced":["0"],"last_affected":[],"package":"containerd","purl":"pkg:rpm/suse/containerd\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Containers%2015%20SP2","source":"SUSE-SU-2021:2412-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Containers 15 SP3","fixed":["1.4.4-5.36.1"],"introduced":["0"],"last_affected":[],"package":"containerd","purl":"pkg:rpm/suse/containerd\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Containers%2015%20SP3","source":"SUSE-SU-2021:2412-1"},{"ecosystem":"openSUSE:Leap 15.2","fixed":["1.4.4-lp152.2.9.1"],"introduced":["0"],"last_affected":[],"package":"containerd","purl":"pkg:rpm/opensuse/containerd\u0026distro=openSUSE%20Leap%2015.2","source":"openSUSE-SU-2021:1081-1"},{"ecosystem":"openSUSE:Leap 15.3","fixed":["1.4.4-5.36.1"],"introduced":["0"],"last_affected":[],"package":"containerd","purl":"pkg:rpm/opensuse/containerd\u0026distro=openSUSE%20Leap%2015.3","source":"openSUSE-SU-2021:2412-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["0.20.2-1.1"],"introduced":["0"],"last_affected":[],"package":"trivy","purl":"pkg:rpm/opensuse/trivy\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:11619-1"}],"prev":{"headline":"Data Flow Sanitation Issue Fix","id":"CVE-2021-32759"},"products":["containerd"],"published":"2021-07-19","related":[{"cvss_score":9.8,"headline":"PHP-CGI OS Command Injection","id":"CVE-2024-4577","kev_date_added":"2024-06-12","published":"2024-06-09"},{"cvss_score":9.8,"headline":"Grafana Authentication Bypass","id":"CVE-2021-39226","kev_date_added":"2022-08-25","published":"2021-10-05"},{"cvss_score":9.8,"headline":"VMware ESXi and Horizon DaaS OpenSLP Heap-Based Buffer Overflow","id":"CVE-2019-5544","kev_date_added":"2021-11-03","published":"2019-12-06"},{"cvss_score":9.6,"headline":"Google Chromium V8 Type Confusion","id":"CVE-2024-4947","kev_date_added":"2024-05-20","published":"2024-05-15"},{"cvss_score":9.6,"headline":"Google Chromium Visuals Use-After-Free","id":"CVE-2024-4671","kev_date_added":"2024-05-13","published":"2024-05-09"},{"cvss_score":9.6,"headline":"Google Chromium Mojo Insufficient Data Validation","id":"CVE-2022-3075","kev_date_added":"2022-09-08","published":"2022-09-26"},{"cvss_score":9.6,"headline":"Google Chromium Indexed DB API Use-After-Free","id":"CVE-2021-30633","kev_date_added":"2021-11-03","published":"2021-10-08"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"Go Vulnerability Database","prefix":"GO"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2024-11-19","vendors":["containerd"]},"summary":"Attackers can modify host file permissions via crafted container images, potentially enabling privilege escalation or access control bypasses.","url":"https://insights.sbomify.com/CVE-2021-32760/"}