{"answers":{"affected":"3 open source packages ship an affected version, including github.com/containers/buildah. It affects 3 products.","exploited":"There is no known exploitation of CVE-2020-10696 in the wild and no public exploit code.","fix":"Upgrade github.com/containers/buildah to 1.14.4 or later.","what":"CVE-2020-10696 is a high-severity path traversal vulnerability in Redhat Enterprise Linux, published on 31 Mar 2020. 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-2020-10696 and fix it if it is affected.\n\nWhat it is: CVE-2020-10696 is a high-severity path traversal vulnerability in Redhat Enterprise Linux, published on 31 Mar 2020. 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-2020-10696 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/containers/buildah (Go): affected all versions; fixed in 1.14.4\n- github.com/containers/buildah (Go): affected all versions; fixed in 1.14.4\n- github.com/containers/buildah (Go): affected all versions; fixed in 1.14.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-2020-10696/ (Markdown: https://insights.sbomify.com/CVE-2020-10696/index.md)","id":"CVE-2020-10696","markdown":"https://insights.sbomify.com/CVE-2020-10696/index.md","name":"CVE-2020-10696","record":{"aliases":["ALSA-2020:1926","ALSA-2020:1931","ALSA-2020:1932","CLEANSTART-2024-DG53593","DEBIAN-CVE-2020-10696","GHSA-fx8w-mjvm-hvpc","GO-2022-0828","RHBA-2020:0582","RHSA-2020:1401","RHSA-2020:1449","RHSA-2020:1926","RHSA-2020:1931","RHSA-2020:1932","RLSA-2020:1926","RLSA-2020:1931","RLSA-2020:1932"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"upgrade","impacts":["data_modify"],"network_reachable":"yes","non_default_config":false,"product_category":"Buildah container tool","requires_auth":"none","summary":"Attackers can write arbitrary files to a user's system by tricking them into building a malicious container image with Buildah.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"buildah","vendor":"buildah_project"},{"product":"enterprise_linux","vendor":"redhat"},{"product":"openshift_container_platform","vendor":"redhat"}],"cvss":{"score":8.8,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"A path traversal flaw was found in Buildah in versions before 1.14.5. This flaw allows an attacker to trick a user into building a malicious container image hosted on an HTTP(s) server and then write files to the user's system anywhere that the user has permissions.","ecosystems":["AlmaLinux:8","Go","Red Hat:enterprise_linux:8::appstream","Red Hat:openshift:4.1::el8","Red Hat:openshift:4.2::el8","Red Hat:openshift:4.4::el7","Red Hat:openshift:4.4::el8","Rocky Linux:8"],"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":"Path Traversal in Buildah","id":"CVE-2020-10696","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":"redhat:enterprise_linux","products":["redhat:enterprise_linux","redhat:openshift_container_platform"],"type":"path_traversal","year":"2020"},"n_packages":552,"n_references":3,"next":{"headline":"Missing authorization in Tower","id":"CVE-2020-10697"},"packages":[{"ecosystem":"Go","fixed":["1.14.4"],"introduced":["0"],"last_affected":[],"package":"github.com/containers/buildah","purl":null,"source":"GHSA-fx8w-mjvm-hvpc"},{"ecosystem":"Go","fixed":["1.14.4"],"introduced":["0"],"last_affected":[],"package":"github.com/containers/buildah","purl":"pkg:golang/github.com/containers/buildah","source":"GHSA-fx8w-mjvm-hvpc"},{"ecosystem":"Go","fixed":["1.14.4"],"introduced":["0"],"last_affected":[],"package":"github.com/containers/buildah","purl":"pkg:golang/github.com/containers/buildah","source":"GO-2022-0828"},{"ecosystem":"AlmaLinux:8","fixed":["11-1.module_el8.5.0+108+00865455"],"introduced":["0"],"last_affected":[],"package":"cockpit-podman","purl":"pkg:rpm/almalinux/cockpit-podman","source":"ALSA-2020:1931"},{"ecosystem":"AlmaLinux:8","fixed":["11-1.module_el8.5.0+2635+e4386a39"],"introduced":["0"],"last_affected":[],"package":"cockpit-podman","purl":"pkg:rpm/almalinux/cockpit-podman","source":"ALSA-2020:1931"},{"ecosystem":"AlmaLinux:8","fixed":["2:2.124.0-1.gitf958d0c.module_el8.3.0+2044+12421f43"],"introduced":["0"],"last_affected":[],"package":"container-selinux","purl":"pkg:rpm/almalinux/container-selinux","source":"ALSA-2020:1926"},{"ecosystem":"AlmaLinux:8","fixed":["0.8.3-4.module_el8.5.0+108+00865455"],"introduced":["0"],"last_affected":[],"package":"containernetworking-plugins","purl":"pkg:rpm/almalinux/containernetworking-plugins","source":"ALSA-2020:1931"},{"ecosystem":"AlmaLinux:8","fixed":["0.8.3-4.module_el8.5.0+2635+e4386a39"],"introduced":["0"],"last_affected":[],"package":"containernetworking-plugins","purl":"pkg:rpm/almalinux/containernetworking-plugins","source":"ALSA-2020:1931"},{"ecosystem":"AlmaLinux:8","fixed":["3.12-9.module_el8.3.0+2044+12421f43"],"introduced":["0"],"last_affected":[],"package":"crit","purl":"pkg:rpm/almalinux/crit","source":"ALSA-2020:1926"},{"ecosystem":"AlmaLinux:8","fixed":["3.12-9.module_el8.3.0+2044+12421f43"],"introduced":["0"],"last_affected":[],"package":"crit","purl":"pkg:rpm/almalinux/crit","source":"ALSA-2020:1931"},{"ecosystem":"AlmaLinux:8","fixed":["3.12-9.module_el8.3.0+2044+12421f43"],"introduced":["0"],"last_affected":[],"package":"crit","purl":"pkg:rpm/almalinux/crit","source":"ALSA-2020:1932"},{"ecosystem":"AlmaLinux:8","fixed":["3.12-9.module_el8.4.0+2496+12421f43"],"introduced":["0"],"last_affected":[],"package":"crit","purl":"pkg:rpm/almalinux/crit","source":"ALSA-2020:1926"},{"ecosystem":"AlmaLinux:8","fixed":["3.12-9.module_el8.4.0+2496+12421f43"],"introduced":["0"],"last_affected":[],"package":"crit","purl":"pkg:rpm/almalinux/crit","source":"ALSA-2020:1931"},{"ecosystem":"AlmaLinux:8","fixed":["3.12-9.module_el8.4.0+2496+12421f43"],"introduced":["0"],"last_affected":[],"package":"crit","purl":"pkg:rpm/almalinux/crit","source":"ALSA-2020:1932"},{"ecosystem":"AlmaLinux:8","fixed":["3.12-9.module_el8.5.0+119+9a9ec082"],"introduced":["0"],"last_affected":[],"package":"crit","purl":"pkg:rpm/almalinux/crit","source":"ALSA-2020:1926"},{"ecosystem":"AlmaLinux:8","fixed":["3.12-9.module_el8.5.0+119+9a9ec082"],"introduced":["0"],"last_affected":[],"package":"crit","purl":"pkg:rpm/almalinux/crit","source":"ALSA-2020:1931"},{"ecosystem":"AlmaLinux:8","fixed":["3.12-9.module_el8.5.0+119+9a9ec082"],"introduced":["0"],"last_affected":[],"package":"crit","purl":"pkg:rpm/almalinux/crit","source":"ALSA-2020:1932"},{"ecosystem":"AlmaLinux:8","fixed":["3.12-9.module_el8.3.0+2044+12421f43"],"introduced":["0"],"last_affected":[],"package":"criu","purl":"pkg:rpm/almalinux/criu","source":"ALSA-2020:1926"},{"ecosystem":"AlmaLinux:8","fixed":["3.12-9.module_el8.3.0+2044+12421f43"],"introduced":["0"],"last_affected":[],"package":"criu","purl":"pkg:rpm/almalinux/criu","source":"ALSA-2020:1931"},{"ecosystem":"AlmaLinux:8","fixed":["3.12-9.module_el8.3.0+2044+12421f43"],"introduced":["0"],"last_affected":[],"package":"criu","purl":"pkg:rpm/almalinux/criu","source":"ALSA-2020:1932"},{"ecosystem":"AlmaLinux:8","fixed":["3.12-9.module_el8.4.0+2496+12421f43"],"introduced":["0"],"last_affected":[],"package":"criu","purl":"pkg:rpm/almalinux/criu","source":"ALSA-2020:1926"},{"ecosystem":"AlmaLinux:8","fixed":["3.12-9.module_el8.4.0+2496+12421f43"],"introduced":["0"],"last_affected":[],"package":"criu","purl":"pkg:rpm/almalinux/criu","source":"ALSA-2020:1931"},{"ecosystem":"AlmaLinux:8","fixed":["3.12-9.module_el8.4.0+2496+12421f43"],"introduced":["0"],"last_affected":[],"package":"criu","purl":"pkg:rpm/almalinux/criu","source":"ALSA-2020:1932"},{"ecosystem":"AlmaLinux:8","fixed":["3.12-9.module_el8.5.0+119+9a9ec082"],"introduced":["0"],"last_affected":[],"package":"criu","purl":"pkg:rpm/almalinux/criu","source":"ALSA-2020:1926"},{"ecosystem":"AlmaLinux:8","fixed":["3.12-9.module_el8.5.0+119+9a9ec082"],"introduced":["0"],"last_affected":[],"package":"criu","purl":"pkg:rpm/almalinux/criu","source":"ALSA-2020:1931"},{"ecosystem":"AlmaLinux:8","fixed":["3.12-9.module_el8.5.0+119+9a9ec082"],"introduced":["0"],"last_affected":[],"package":"criu","purl":"pkg:rpm/almalinux/criu","source":"ALSA-2020:1932"},{"ecosystem":"AlmaLinux:8","fixed":["0.3-5.module_el8.3.0+2044+12421f43"],"introduced":["0"],"last_affected":[],"package":"fuse-overlayfs","purl":"pkg:rpm/almalinux/fuse-overlayfs","source":"ALSA-2020:1926"},{"ecosystem":"AlmaLinux:8","fixed":["0.3-5.module_el8.4.0+2496+12421f43"],"introduced":["0"],"last_affected":[],"package":"fuse-overlayfs","purl":"pkg:rpm/almalinux/fuse-overlayfs","source":"ALSA-2020:1926"},{"ecosystem":"AlmaLinux:8","fixed":["0.3-5.module_el8.5.0+119+9a9ec082"],"introduced":["0"],"last_affected":[],"package":"fuse-overlayfs","purl":"pkg:rpm/almalinux/fuse-overlayfs","source":"ALSA-2020:1926"},{"ecosystem":"AlmaLinux:8","fixed":["1:0.1.15-2.git2d0b8a3.module_el8.3.0+2044+12421f43"],"introduced":["0"],"last_affected":[],"package":"oci-systemd-hook","purl":"pkg:rpm/almalinux/oci-systemd-hook","source":"ALSA-2020:1926"},{"ecosystem":"AlmaLinux:8","fixed":["1:0.1.15-2.git2d0b8a3.module_el8.4.0+2496+12421f43"],"introduced":["0"],"last_affected":[],"package":"oci-systemd-hook","purl":"pkg:rpm/almalinux/oci-systemd-hook","source":"ALSA-2020:1926"},{"ecosystem":"AlmaLinux:8","fixed":["1:0.1.15-2.git2d0b8a3.module_el8.5.0+119+9a9ec082"],"introduced":["0"],"last_affected":[],"package":"oci-systemd-hook","purl":"pkg:rpm/almalinux/oci-systemd-hook","source":"ALSA-2020:1926"},{"ecosystem":"AlmaLinux:8","fixed":["2:2.3.4-2.git87f9237.module_el8.3.0+2044+12421f43"],"introduced":["0"],"last_affected":[],"package":"oci-umount","purl":"pkg:rpm/almalinux/oci-umount","source":"ALSA-2020:1926"},{"ecosystem":"AlmaLinux:8","fixed":["2:2.3.4-2.git87f9237.module_el8.4.0+2496+12421f43"],"introduced":["0"],"last_affected":[],"package":"oci-umount","purl":"pkg:rpm/almalinux/oci-umount","source":"ALSA-2020:1926"},{"ecosystem":"AlmaLinux:8","fixed":["2:2.3.4-2.git87f9237.module_el8.5.0+119+9a9ec082"],"introduced":["0"],"last_affected":[],"package":"oci-umount","purl":"pkg:rpm/almalinux/oci-umount","source":"ALSA-2020:1926"},{"ecosystem":"AlmaLinux:8","fixed":["1.2.0-0.2.gitd0a45fe.module_el8.5.0+108+00865455"],"introduced":["0"],"last_affected":[],"package":"python-podman-api","purl":"pkg:rpm/almalinux/python-podman-api","source":"ALSA-2020:1931"},{"ecosystem":"AlmaLinux:8","fixed":["1.2.0-0.2.gitd0a45fe.module_el8.5.0+108+00865455"],"introduced":["0"],"last_affected":[],"package":"python-podman-api","purl":"pkg:rpm/almalinux/python-podman-api","source":"ALSA-2020:1932"},{"ecosystem":"AlmaLinux:8","fixed":["1.2.0-0.2.gitd0a45fe.module_el8.5.0+2635+e4386a39"],"introduced":["0"],"last_affected":[],"package":"python-podman-api","purl":"pkg:rpm/almalinux/python-podman-api","source":"ALSA-2020:1931"},{"ecosystem":"AlmaLinux:8","fixed":["1.2.0-0.2.gitd0a45fe.module_el8.5.0+2635+e4386a39"],"introduced":["0"],"last_affected":[],"package":"python-podman-api","purl":"pkg:rpm/almalinux/python-podman-api","source":"ALSA-2020:1932"},{"ecosystem":"AlmaLinux:8","fixed":["3.12-9.module_el8.3.0+2044+12421f43"],"introduced":["0"],"last_affected":[],"package":"python3-criu","purl":"pkg:rpm/almalinux/python3-criu","source":"ALSA-2020:1926"}],"prev":{"headline":"Privilege escalation in containers/redhat-sso-7","id":"CVE-2020-10695"},"products":["buildah"],"published":"2020-03-31","related":[{"cvss_score":7.8,"headline":"Buildah: buildah allows arbitrary directory mount","id":"CVE-2024-9675","kev_date_added":null,"published":"2024-10-09"},{"cvss_score":7.1,"headline":"Buildah's incorrect handling of the supplementary groups may lead to data disclosure, modification","id":"CVE-2022-2990","kev_date_added":null,"published":"2022-09-13"},{"cvss_score":6.8,"headline":"Non-empty default inheritable capabilities for linux container in Buildah","id":"CVE-2022-27651","kev_date_added":null,"published":"2022-04-04"},{"cvss_score":6.4,"headline":"containers/image library Insufficiently Protects Credentials","id":"CVE-2019-10214","kev_date_added":null,"published":"2019-11-25"},{"cvss_score":5.5,"headline":"Buildah processes using chroot isolation may leak environment values to intermediate processes","id":"CVE-2021-3602","kev_date_added":null,"published":"2022-03-03"}],"sources":[{"class":"attribution","licence":"MIT","name":"AlmaLinux","prefix":"ALSA"},{"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":"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-04","vendors":["Red Hat"]},"summary":"Attackers can write arbitrary files to a user's system by tricking them into building a malicious container image with Buildah.","url":"https://insights.sbomify.com/CVE-2020-10696/"}