{"answers":{"affected":"5 open source packages ship an affected version, including github.com/containerd/containerd. It affects 3 products.","exploited":"There is no known exploitation of CVE-2020-15257 in the wild and no public exploit code.","fix":"Upgrade github.com/containerd/containerd to a fixed version for your release line: 1.3.9 or 1.4.3.","what":"CVE-2020-15257 is a medium-severity vulnerability in Debian Debian Linux, published on 1 Dec 2020. It can only be exploited from the same machine or local network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2020-15257 and fix it if it is affected.\n\nWhat it is: CVE-2020-15257 is a medium-severity vulnerability in Debian Debian Linux, published on 1 Dec 2020. It can only be exploited from the same machine or local network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2020-15257 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.3.9, 1.4.3\n- github.com/containerd/containerd (Go): affected all versions; fixed in 1.3.9\n- github.com/containerd/containerd (Go): affected all versions; fixed in 1.3.9\n- github.com/containerd/containerd (Go): affected from 1.4.0; fixed in 1.4.3\n- github.com/containerd/containerd (Go): affected from 1.4.0; fixed in 1.4.3\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-2020-15257/ (Markdown: https://insights.sbomify.com/CVE-2020-15257/index.md)","id":"CVE-2020-15257","markdown":"https://insights.sbomify.com/CVE-2020-15257/index.md","name":"CVE-2020-15257","record":{"aliases":["CLEANSTART-2025-IA92737","CLEANSTART-2026-KK84910","DEBIAN-CVE-2020-15257","GHSA-36xw-fx78-c5r4","GO-2022-0784","SUSE-SU-2020:3938-1","UBUNTU-CVE-2020-15257","USN-4653-1","USN-4653-2"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"upgrade","impacts":["privilege_escalation","code_execution"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"container runtime","requires_auth":"low_privilege","summary":"Malicious containers sharing the host network namespace can escalate privileges to root via the exposed containerd-shim API socket.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"debian_linux","vendor":"debian"},{"product":"fedora","vendor":"fedoraproject"},{"product":"containerd","vendor":"linuxfoundation"}],"cvss":{"score":5.2,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-669","name":"Incorrect Resource Transfer Between Spheres"}],"description":"containerd is an industry-standard container runtime and is available as a daemon for Linux and Windows. In containerd before versions 1.3.9 and 1.4.3, the containerd-shim API is improperly exposed to host network containers. Access controls for the shim’s API socket verified that the connecting process had an effective UID of 0, but did not otherwise restrict access to the abstract Unix domain socket. This would allow malicious containers running in the same network namespace as the shim, with an effective UID of 0 but otherwise reduced privileges, to cause new processes to be run with elevated privileges. This vulnerability has been fixed in containerd 1.3.9 and 1.4.3. Users should update to these versions as soon as they are released. It should be noted that containers started with an old version of containerd-shim should be stopped and restarted, as running containers will continue to be vulnerable even after an upgrade. If you are not providing the ability for untrusted users to start containers in the same network namespace as the shim (typically the \"host\" network namespace, for example with docker run --net=host or hostNetwork: true in a Kubernetes pod) and run with an effective UID of 0, you are not vulnerable to this issue. If you are running containers with a vulnerable configuration, you can deny access to all abstract sockets with AppArmor by adding a line similar to deny unix addr=@**, to your policy. It is best practice to run containers with a reduced set of privileges, with a non-zero UID, and with isolated namespaces. The containerd maintainers strongly advise against sharing namespaces with the host. Reducing the set of isolation mechanisms used for a container necessarily increases that container's privilege, regardless of what container runtime is used for running that container.","ecosystems":["Go","SUSE:Linux Enterprise Module for Containers 12"],"exploits":{"exploitdb":0,"first_seen":"2020-12-07","github_poc":1,"max_poc_stars":18,"metasploit":0,"nuclei":0,"refs":[{"date":"2020-12-07T08:47:09Z","kind":"github_poc","ref":"https://github.com/nccgroup/abstractshimmer","stars":18,"title":"Proof of concept for CVE-2020-15257 in containerd."}],"tier":"poc_unverified"},"has_fix":true,"headline":"containerd-shim API Exposed to Host Network Containers","id":"CVE-2020-15257","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":"debian:debian_linux","products":["debian:debian_linux","fedoraproject:fedora"],"type":"privilege_escalation","year":"2020"},"n_packages":9,"n_references":6,"next":{"headline":"Insecure use of shell.openExternal in Wire","id":"CVE-2020-15258"},"packages":[{"ecosystem":"Go","fixed":["1.3.9","1.4.3"],"introduced":["0","1.4.0"],"last_affected":[],"package":"github.com/containerd/containerd","purl":"pkg:golang/github.com/containerd/containerd","source":"GO-2022-0784"},{"ecosystem":"Go","fixed":["1.3.9"],"introduced":["0"],"last_affected":[],"package":"github.com/containerd/containerd","purl":null,"source":"GHSA-36xw-fx78-c5r4"},{"ecosystem":"Go","fixed":["1.3.9"],"introduced":["0"],"last_affected":[],"package":"github.com/containerd/containerd","purl":"pkg:golang/github.com/containerd/containerd","source":"GHSA-36xw-fx78-c5r4"},{"ecosystem":"Go","fixed":["1.4.3"],"introduced":["1.4.0"],"last_affected":[],"package":"github.com/containerd/containerd","purl":null,"source":"GHSA-36xw-fx78-c5r4"},{"ecosystem":"Go","fixed":["1.4.3"],"introduced":["1.4.0"],"last_affected":[],"package":"github.com/containerd/containerd","purl":"pkg:golang/github.com/containerd/containerd","source":"GHSA-36xw-fx78-c5r4"},{"ecosystem":"SUSE:Linux Enterprise Module for Containers 12","fixed":["1.3.9-16.32.1"],"introduced":["0"],"last_affected":[],"package":"containerd","purl":"pkg:rpm/suse/containerd\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Containers%2012","source":"SUSE-SU-2020:3938-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Containers 12","fixed":["19.03.14_ce-98.57.1"],"introduced":["0"],"last_affected":[],"package":"docker","purl":"pkg:rpm/suse/docker\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Containers%2012","source":"SUSE-SU-2020:3938-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Containers 12","fixed":["1.0.0rc10+gitr3981_dc9208a3303f-1.49.1"],"introduced":["0"],"last_affected":[],"package":"docker-runc","purl":"pkg:rpm/suse/docker-runc\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Containers%2012","source":"SUSE-SU-2020:3938-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Containers 12","fixed":["0.7.0.1+gitr2908_55e924b8a842-34.1"],"introduced":["0"],"last_affected":[],"package":"golang-github-docker-libnetwork","purl":"pkg:rpm/suse/golang-github-docker-libnetwork\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Containers%2012","source":"SUSE-SU-2020:3938-1"}],"prev":{"headline":"Prototype pollution in object-path","id":"CVE-2020-15256"},"products":["containerd"],"published":"2020-12-01","related":[{"cvss_score":10,"headline":"ProFTPD Improper Access Control","id":"CVE-2015-3306","kev_date_added":"2026-10-08","published":"2015-05-18"},{"cvss_score":9.9,"headline":"RoundCube Webmail Deserialization of Untrusted Data","id":"CVE-2025-49113","kev_date_added":"2026-02-20","published":"2025-06-02"},{"cvss_score":9.8,"headline":"GNU InetUtils Argument Injection","id":"CVE-2026-24061","kev_date_added":"2026-01-26","published":"2026-01-21"},{"cvss_score":9.8,"headline":"Linux Kernel Improper Check for Unusual or Exceptional Conditions","id":"CVE-2025-39682","kev_date_added":"2026-09-18","published":"2025-09-05"},{"cvss_score":9.8,"headline":"Mozilla Firefox Use-After-Free","id":"CVE-2024-9680","kev_date_added":"2024-10-15","published":"2024-10-09"},{"cvss_score":9.8,"headline":"RARLAB UnRAR Directory Traversal","id":"CVE-2022-30333","kev_date_added":"2022-08-09","published":"2022-05-09"},{"cvss_score":9.8,"headline":"Roundcube Webmail SQL Injection","id":"CVE-2021-44026","kev_date_added":"2023-06-22","published":"2021-11-19"}],"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":"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)"},{"class":"open","licence":"CC0","name":"PoC-in-GitHub"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-04","vendors":["containerd"]},"summary":"Malicious containers sharing the host network namespace can escalate privileges to root via the exposed containerd-shim API socket.","url":"https://insights.sbomify.com/CVE-2020-15257/"}