{"answers":{"affected":"7 open source packages ship an affected version, including github.com/containers/podman/v4, github.com/containers/libpod and github.com/containers/podman. It affects 1 product.","exploited":"There is no known exploitation of CVE-2019-18466 in the wild and no public exploit code.","fix":"Upgrade github.com/containers/podman/v4 to 1.6.0 or later.","what":"CVE-2019-18466 is a medium-severity path traversal vulnerability in n/a, published on 28 Oct 2019. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link."},"fix_prompt":"Check this codebase for CVE-2019-18466 and fix it if it is affected.\n\nWhat it is: CVE-2019-18466 is a medium-severity path traversal vulnerability in n/a, published on 28 Oct 2019. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.\nExploitation: There is no known exploitation of CVE-2019-18466 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/containers/podman/v4 (Go): affected all versions; no fix listed\n- github.com/containers/podman/v4 (Go): affected all versions; fixed in 1.6.0\n- github.com/containers/podman/v4 (Go): affected all versions; fixed in 1.6.0\n- github.com/containers/libpod (Go): affected all versions; fixed in 1.6.0\n- github.com/containers/podman (Go): affected all versions; no fix listed\n- github.com/containers/podman/v2 (Go): affected all versions; no fix listed\n- github.com/containers/podman/v3 (Go): affected all versions; no fix listed\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-2019-18466/ (Markdown: https://insights.sbomify.com/CVE-2019-18466/index.md)","id":"CVE-2019-18466","markdown":"https://insights.sbomify.com/CVE-2019-18466/index.md","name":"CVE-2019-18466","record":{"aliases":["GHSA-r34v-gqmw-qvgj","GO-2023-1942","SUSE-SU-2020:0697-1","openSUSE-SU-2020:0398-1"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"upgrade","impacts":["data_modify"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Podman container tool","requires_auth":"none","summary":"An attacker can craft a container image with symlinks that, when copied to the host, overwrite host files due to improper symlink resolution.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"mitre","cpe":[{"product":"libpod","vendor":"libpod_project"}],"cvss":{"score":5.5,"severity":"medium","source":"nvd","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access"}],"description":"An issue was discovered in Podman in libpod before 1.6.0. It resolves a symlink in the host context during a copy operation from the container to the host, because an undesired glob operation occurs. An attacker could create a container image containing particular symlinks that, when copied by a victim user to the host filesystem, may overwrite existing files with others from the host.","ecosystems":["Go","SUSE:Linux Enterprise Module for Containers 15 SP1","SUSE:Linux Enterprise Module for Public Cloud 15 SP1","openSUSE:Leap 15.1"],"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":"Podman Symlink Vulnerability","id":"CVE-2019-18466","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"path_traversal","year":"2019"},"n_packages":19,"n_references":6,"next":{"headline":"DO NOT USE THIS CANDIDATE NUMBER.","id":"CVE-2019-18467"},"packages":[{"ecosystem":"Go","fixed":["1.6.0"],"introduced":["0"],"last_affected":[],"package":"github.com/containers/libpod","purl":"pkg:golang/github.com/containers/libpod","source":"GO-2023-1942"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/containers/podman","purl":"pkg:golang/github.com/containers/podman","source":"GO-2023-1942"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/containers/podman/v2","purl":"pkg:golang/github.com/containers/podman/v2","source":"GO-2023-1942"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/containers/podman/v3","purl":"pkg:golang/github.com/containers/podman/v3","source":"GO-2023-1942"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/containers/podman/v4","purl":"pkg:golang/github.com/containers/podman/v4","source":"GO-2023-1942"},{"ecosystem":"Go","fixed":["1.6.0"],"introduced":["0"],"last_affected":[],"package":"github.com/containers/podman/v4","purl":null,"source":"GHSA-r34v-gqmw-qvgj"},{"ecosystem":"Go","fixed":["1.6.0"],"introduced":["0"],"last_affected":[],"package":"github.com/containers/podman/v4","purl":"pkg:golang/github.com/containers/podman/v4","source":"GHSA-r34v-gqmw-qvgj"},{"ecosystem":"SUSE:Linux Enterprise Module for Containers 15 SP1","fixed":["0.7.1-3.3.1"],"introduced":["0"],"last_affected":[],"package":"cni","purl":"pkg:rpm/suse/cni\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Containers%2015%20SP1","source":"SUSE-SU-2020:0697-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Containers 15 SP1","fixed":["0.8.4-3.3.1"],"introduced":["0"],"last_affected":[],"package":"cni-plugins","purl":"pkg:rpm/suse/cni-plugins\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Containers%2015%20SP1","source":"SUSE-SU-2020:0697-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Containers 15 SP1","fixed":["2.0.10-3.3.1"],"introduced":["0"],"last_affected":[],"package":"conmon","purl":"pkg:rpm/suse/conmon\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Containers%2015%20SP1","source":"SUSE-SU-2020:0697-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Containers 15 SP1","fixed":["0.7.6-3.6.1"],"introduced":["0"],"last_affected":[],"package":"fuse-overlayfs","purl":"pkg:rpm/suse/fuse-overlayfs\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Containers%2015%20SP1","source":"SUSE-SU-2020:0697-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Containers 15 SP1","fixed":["1.8.0-4.14.1"],"introduced":["0"],"last_affected":[],"package":"podman","purl":"pkg:rpm/suse/podman\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Containers%2015%20SP1","source":"SUSE-SU-2020:0697-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Public Cloud 15 SP1","fixed":["0.7.1-3.3.1"],"introduced":["0"],"last_affected":[],"package":"cni","purl":"pkg:rpm/suse/cni\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Public%20Cloud%2015%20SP1","source":"SUSE-SU-2020:0697-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Public Cloud 15 SP1","fixed":["0.8.4-3.3.1"],"introduced":["0"],"last_affected":[],"package":"cni-plugins","purl":"pkg:rpm/suse/cni-plugins\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Public%20Cloud%2015%20SP1","source":"SUSE-SU-2020:0697-1"},{"ecosystem":"openSUSE:Leap 15.1","fixed":["0.7.1-lp151.2.3.1"],"introduced":["0"],"last_affected":[],"package":"cni","purl":"pkg:rpm/opensuse/cni\u0026distro=openSUSE%20Leap%2015.1","source":"openSUSE-SU-2020:0398-1"},{"ecosystem":"openSUSE:Leap 15.1","fixed":["0.8.4-lp151.2.3.1"],"introduced":["0"],"last_affected":[],"package":"cni-plugins","purl":"pkg:rpm/opensuse/cni-plugins\u0026distro=openSUSE%20Leap%2015.1","source":"openSUSE-SU-2020:0398-1"},{"ecosystem":"openSUSE:Leap 15.1","fixed":["2.0.10-lp151.2.1"],"introduced":["0"],"last_affected":[],"package":"conmon","purl":"pkg:rpm/opensuse/conmon\u0026distro=openSUSE%20Leap%2015.1","source":"openSUSE-SU-2020:0398-1"},{"ecosystem":"openSUSE:Leap 15.1","fixed":["0.7.6-lp151.5.1"],"introduced":["0"],"last_affected":[],"package":"fuse-overlayfs","purl":"pkg:rpm/opensuse/fuse-overlayfs\u0026distro=openSUSE%20Leap%2015.1","source":"openSUSE-SU-2020:0398-1"},{"ecosystem":"openSUSE:Leap 15.1","fixed":["1.8.0-lp151.3.9.1"],"introduced":["0"],"last_affected":[],"package":"podman","purl":"pkg:rpm/opensuse/podman\u0026distro=openSUSE%20Leap%2015.1","source":"openSUSE-SU-2020:0398-1"}],"prev":{"headline":"Auth bypass in n/a","id":"CVE-2019-18465"},"products":["n/a"],"published":"2019-10-28","related":[{"cvss_score":7.5,"headline":"Podman Path Traversal Vulnerability leads to arbitrary file read/write","id":"CVE-2019-10152","kev_date_added":null,"published":"2019-07-30"},{"cvss_score":5.9,"headline":"Podman has Files or Directories Accessible to External Parties","id":"CVE-2020-1726","kev_date_added":null,"published":"2020-02-11"},{"cvss_score":5.3,"headline":"Podman Elevated Container Privileges","id":"CVE-2018-10856","kev_date_added":null,"published":"2018-07-02"}],"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-05","vendors":["n/a"]},"summary":"An attacker can craft a container image with symlinks that, when copied to the host, overwrite host files due to improper symlink resolution.","url":"https://insights.sbomify.com/CVE-2019-18466/"}