{"answers":{"affected":"3 open source packages ship an affected version, including github.com/opencontainers/umoci. It affects 2 products.","exploited":"There is no known exploitation of CVE-2021-29136 in the wild and no public exploit code.","fix":"Upgrade github.com/opencontainers/umoci to 0.4.7 or later.","what":"CVE-2021-29136 is a medium-severity path traversal vulnerability in n/a, published on 6 Apr 2021. 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-2021-29136 and fix it if it is affected.\n\nWhat it is: CVE-2021-29136 is a medium-severity path traversal vulnerability in n/a, published on 6 Apr 2021. 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-2021-29136 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/opencontainers/umoci (Go): affected all versions; fixed in 0.4.7\n- github.com/opencontainers/umoci (Go): affected all versions; fixed in 0.4.7\n- github.com/opencontainers/umoci (Go): affected all versions; fixed in 0.4.7\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-29136/ (Markdown: https://insights.sbomify.com/CVE-2021-29136/index.md)","id":"CVE-2021-29136","markdown":"https://insights.sbomify.com/CVE-2021-29136/index.md","name":"CVE-2021-29136","record":{"aliases":["DEBIAN-CVE-2021-29136","GHSA-9m95-8hx6-7p9v","GO-2022-0815","OESA-2021-1151","SUSE-SU-2021:1116-1","SUSE-SU-2021:1863-1","SUSE-SU-2021:1863-2","UBUNTU-CVE-2021-29136","openSUSE-SU-2021:0548-1","openSUSE-SU-2021:0810-1","openSUSE-SU-2021:0846-1","openSUSE-SU-2021:1863-1","openSUSE-SU-2024:11482-1"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"upgrade","impacts":["data_modify","code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"OCI image tool","requires_auth":"low_privilege","summary":"Attackers can overwrite arbitrary host files via symlink traversal in umoci when unpacking crafted images, potentially leading to code execution.","user_interaction":"not_required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"umoci","vendor":"linuxfoundation"},{"product":"singularity","vendor":"sylabs"}],"cvss":{"score":5.5,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-20","name":"Improper Input Validation"}],"description":"Open Container Initiative umoci before 0.4.7 allows attackers to overwrite arbitrary host paths via a crafted image that causes symlink traversal when \"umoci unpack\" or \"umoci raw unpack\" is used.","ecosystems":["Go","SUSE:Enterprise Storage 6","SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","SUSE:Linux Enterprise Module for Basesystem 15 SP3","SUSE:Linux Enterprise Module for Containers 15 SP2","SUSE:Linux Enterprise Module for Containers 15 SP3","SUSE:Linux Enterprise Server 15 SP1-BCL","SUSE:Linux Enterprise Server 15 SP1-LTSS","SUSE:Linux Enterprise Server for SAP Applications 15 SP1","SUSE:Manager Proxy 4.0","SUSE:Manager Retail Branch Server 4.0","SUSE:Manager Server 4.0","SUSE:Package Hub 15 SP2","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":"Improper input validation in umoci","id":"CVE-2021-29136","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"path_traversal","year":"2021"},"n_packages":30,"n_references":3,"next":{"headline":"Open redirect in Aruba AirWave Management Platform","id":"CVE-2021-29137"},"packages":[{"ecosystem":"Go","fixed":["0.4.7"],"introduced":["0"],"last_affected":[],"package":"github.com/opencontainers/umoci","purl":null,"source":"GHSA-9m95-8hx6-7p9v"},{"ecosystem":"Go","fixed":["0.4.7"],"introduced":["0"],"last_affected":[],"package":"github.com/opencontainers/umoci","purl":"pkg:golang/github.com/opencontainers/umoci","source":"GHSA-9m95-8hx6-7p9v"},{"ecosystem":"Go","fixed":["0.4.7"],"introduced":["0"],"last_affected":[],"package":"github.com/opencontainers/umoci","purl":"pkg:golang/github.com/opencontainers/umoci","source":"GO-2022-0815"},{"ecosystem":"SUSE:Enterprise Storage 6","fixed":["0.4.6-3.9.1"],"introduced":["0"],"last_affected":[],"package":"umoci","purl":"pkg:rpm/suse/umoci\u0026distro=SUSE%20Enterprise%20Storage%206","source":"SUSE-SU-2021:1116-1"},{"ecosystem":"SUSE:Enterprise Storage 6","fixed":["0.4.7-3.12.1"],"introduced":["0"],"last_affected":[],"package":"umoci","purl":"pkg:rpm/suse/umoci\u0026distro=SUSE%20Enterprise%20Storage%206","source":"SUSE-SU-2021:1863-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS","fixed":["0.4.6-3.9.1"],"introduced":["0"],"last_affected":[],"package":"umoci","purl":"pkg:rpm/suse/umoci\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-ESPOS","source":"SUSE-SU-2021:1116-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS","fixed":["0.4.7-3.12.1"],"introduced":["0"],"last_affected":[],"package":"umoci","purl":"pkg:rpm/suse/umoci\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-ESPOS","source":"SUSE-SU-2021:1863-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","fixed":["0.4.6-3.9.1"],"introduced":["0"],"last_affected":[],"package":"umoci","purl":"pkg:rpm/suse/umoci\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-LTSS","source":"SUSE-SU-2021:1116-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP1-LTSS","fixed":["0.4.7-3.12.1"],"introduced":["0"],"last_affected":[],"package":"umoci","purl":"pkg:rpm/suse/umoci\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP1-LTSS","source":"SUSE-SU-2021:1863-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP3","fixed":["0.4.7-3.12.1"],"introduced":["0"],"last_affected":[],"package":"umoci","purl":"pkg:rpm/suse/umoci\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP3","source":"SUSE-SU-2021:1863-2"},{"ecosystem":"SUSE:Linux Enterprise Module for Containers 15 SP2","fixed":["0.4.6-3.9.1"],"introduced":["0"],"last_affected":[],"package":"umoci","purl":"pkg:rpm/suse/umoci\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Containers%2015%20SP2","source":"SUSE-SU-2021:1116-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Containers 15 SP2","fixed":["0.4.7-3.12.1"],"introduced":["0"],"last_affected":[],"package":"umoci","purl":"pkg:rpm/suse/umoci\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Containers%2015%20SP2","source":"SUSE-SU-2021:1863-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Containers 15 SP3","fixed":["0.4.7-3.12.1"],"introduced":["0"],"last_affected":[],"package":"umoci","purl":"pkg:rpm/suse/umoci\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Containers%2015%20SP3","source":"SUSE-SU-2021:1863-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP1-BCL","fixed":["0.4.6-3.9.1"],"introduced":["0"],"last_affected":[],"package":"umoci","purl":"pkg:rpm/suse/umoci\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-BCL","source":"SUSE-SU-2021:1116-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP1-BCL","fixed":["0.4.7-3.12.1"],"introduced":["0"],"last_affected":[],"package":"umoci","purl":"pkg:rpm/suse/umoci\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-BCL","source":"SUSE-SU-2021:1863-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP1-LTSS","fixed":["0.4.6-3.9.1"],"introduced":["0"],"last_affected":[],"package":"umoci","purl":"pkg:rpm/suse/umoci\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-LTSS","source":"SUSE-SU-2021:1116-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP1-LTSS","fixed":["0.4.7-3.12.1"],"introduced":["0"],"last_affected":[],"package":"umoci","purl":"pkg:rpm/suse/umoci\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP1-LTSS","source":"SUSE-SU-2021:1863-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP1","fixed":["0.4.6-3.9.1"],"introduced":["0"],"last_affected":[],"package":"umoci","purl":"pkg:rpm/suse/umoci\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP1","source":"SUSE-SU-2021:1116-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP1","fixed":["0.4.7-3.12.1"],"introduced":["0"],"last_affected":[],"package":"umoci","purl":"pkg:rpm/suse/umoci\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP1","source":"SUSE-SU-2021:1863-1"},{"ecosystem":"SUSE:Manager Proxy 4.0","fixed":["0.4.6-3.9.1"],"introduced":["0"],"last_affected":[],"package":"umoci","purl":"pkg:rpm/suse/umoci\u0026distro=SUSE%20Manager%20Proxy%204.0","source":"SUSE-SU-2021:1116-1"},{"ecosystem":"SUSE:Manager Proxy 4.0","fixed":["0.4.7-3.12.1"],"introduced":["0"],"last_affected":[],"package":"umoci","purl":"pkg:rpm/suse/umoci\u0026distro=SUSE%20Manager%20Proxy%204.0","source":"SUSE-SU-2021:1863-1"},{"ecosystem":"SUSE:Manager Retail Branch Server 4.0","fixed":["0.4.6-3.9.1"],"introduced":["0"],"last_affected":[],"package":"umoci","purl":"pkg:rpm/suse/umoci\u0026distro=SUSE%20Manager%20Retail%20Branch%20Server%204.0","source":"SUSE-SU-2021:1116-1"},{"ecosystem":"SUSE:Manager Retail Branch Server 4.0","fixed":["0.4.7-3.12.1"],"introduced":["0"],"last_affected":[],"package":"umoci","purl":"pkg:rpm/suse/umoci\u0026distro=SUSE%20Manager%20Retail%20Branch%20Server%204.0","source":"SUSE-SU-2021:1863-1"},{"ecosystem":"SUSE:Manager Server 4.0","fixed":["0.4.6-3.9.1"],"introduced":["0"],"last_affected":[],"package":"umoci","purl":"pkg:rpm/suse/umoci\u0026distro=SUSE%20Manager%20Server%204.0","source":"SUSE-SU-2021:1116-1"},{"ecosystem":"SUSE:Manager Server 4.0","fixed":["0.4.7-3.12.1"],"introduced":["0"],"last_affected":[],"package":"umoci","purl":"pkg:rpm/suse/umoci\u0026distro=SUSE%20Manager%20Server%204.0","source":"SUSE-SU-2021:1863-1"},{"ecosystem":"SUSE:Package Hub 15 SP2","fixed":["3.7.3-bp152.2.19.3"],"introduced":["0"],"last_affected":[],"package":"singularity","purl":"pkg:rpm/suse/singularity\u0026distro=SUSE%20Package%20Hub%2015%20SP2","source":"openSUSE-SU-2021:0810-1"},{"ecosystem":"openSUSE:Leap 15.2","fixed":["0.4.6-lp152.2.3.1"],"introduced":["0"],"last_affected":[],"package":"umoci","purl":"pkg:rpm/opensuse/umoci\u0026distro=openSUSE%20Leap%2015.2","source":"openSUSE-SU-2021:0548-1"},{"ecosystem":"openSUSE:Leap 15.2","fixed":["0.4.7-lp152.2.6.1"],"introduced":["0"],"last_affected":[],"package":"umoci","purl":"pkg:rpm/opensuse/umoci\u0026distro=openSUSE%20Leap%2015.2","source":"openSUSE-SU-2021:0846-1"},{"ecosystem":"openSUSE:Leap 15.3","fixed":["0.4.7-3.12.1"],"introduced":["0"],"last_affected":[],"package":"umoci","purl":"pkg:rpm/opensuse/umoci\u0026distro=openSUSE%20Leap%2015.3","source":"openSUSE-SU-2021:1863-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["0.4.7-2.3"],"introduced":["0"],"last_affected":[],"package":"umoci","purl":"pkg:rpm/opensuse/umoci\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:11482-1"}],"prev":{"headline":"Path Traversal in Gitea","id":"CVE-2021-29134"},"products":["n/a"],"published":"2021-04-06","related":[],"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":null,"exploitation":null,"technical_impact":null},"state":"PUBLISHED","updated":"2024-08-03","vendors":["n/a"]},"summary":"Attackers can overwrite arbitrary host files via symlink traversal in umoci when unpacking crafted images, potentially leading to code execution.","url":"https://insights.sbomify.com/CVE-2021-29136/"}