{"answers":{"affected":"3 open source packages ship an affected version, including github.com/containers/podman. It affects 2 products.","exploited":"There is no known exploitation of CVE-2019-10152 in the wild and no public exploit code.","fix":"Upgrade github.com/containers/podman to 1.4.0 or later.","what":"CVE-2019-10152 is a high-severity path traversal vulnerability in Opensuse Leap, published on 30 Jul 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-10152 and fix it if it is affected.\n\nWhat it is: CVE-2019-10152 is a high-severity path traversal vulnerability in Opensuse Leap, published on 30 Jul 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-10152 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/containers/podman (Go): affected all versions; fixed in 1.4.0\n- github.com/containers/podman (Go): affected all versions; fixed in 1.4.0\n- github.com/containers/podman (Go): affected all versions; fixed in 1.4.0\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-10152/ (Markdown: https://insights.sbomify.com/CVE-2019-10152/index.md)","id":"CVE-2019-10152","markdown":"https://insights.sbomify.com/CVE-2019-10152/index.md","name":"CVE-2019-10152","record":{"aliases":["GHSA-rh5f-2w6r-q7vj","GO-2023-1927","RHSA-2019:1907"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"upgrade","impacts":["data_read","data_modify"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Podman container tool","requires_auth":"low_privilege","summary":"An attacker with container access can read or write arbitrary host files via symlink traversal when an administrator copies files using Podman.","user_interaction":"required","vuln_class":"path_traversal"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"libpod","vendor":"libpod_project"},{"product":"leap","vendor":"opensuse"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:H","version":"3.0"},"cwes":[{"id":"CWE-59","name":"Improper Link Resolution Before File Access"},{"id":"CWE-22","name":"Improper Limitation of a Pathname to a Restricted Directory"}],"description":"A path traversal vulnerability has been discovered in podman before version 1.4.0 in the way it handles symlinks inside containers. An attacker who has compromised an existing container can cause arbitrary files on the host filesystem to be read/written when an administrator tries to copy a file from/to the container.","ecosystems":["Go","Red Hat:rhel_extras_other:7"],"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 Path Traversal Vulnerability leads to arbitrary file read/write","id":"CVE-2019-10152","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":"opensuse:leap","products":["opensuse:leap"],"type":"path_traversal","year":"2019"},"n_packages":6,"n_references":5,"next":{"headline":"Denial of service in fence-agents","id":"CVE-2019-10153"},"packages":[{"ecosystem":"Go","fixed":["1.4.0"],"introduced":["0"],"last_affected":[],"package":"github.com/containers/podman","purl":null,"source":"GHSA-rh5f-2w6r-q7vj"},{"ecosystem":"Go","fixed":["1.4.0"],"introduced":["0"],"last_affected":[],"package":"github.com/containers/podman","purl":"pkg:golang/github.com/containers/podman","source":"GHSA-rh5f-2w6r-q7vj"},{"ecosystem":"Go","fixed":["1.4.0"],"introduced":["0"],"last_affected":[],"package":"github.com/containers/podman","purl":"pkg:golang/github.com/containers/podman","source":"GO-2023-1927"},{"ecosystem":"Red Hat:rhel_extras_other:7","fixed":["0:1.4.4-2.el7"],"introduced":["0"],"last_affected":[],"package":"podman","purl":"pkg:rpm/redhat/podman","source":"RHSA-2019:1907"},{"ecosystem":"Red Hat:rhel_extras_other:7","fixed":["0:1.4.4-2.el7"],"introduced":["0"],"last_affected":[],"package":"podman-debuginfo","purl":"pkg:rpm/redhat/podman-debuginfo","source":"RHSA-2019:1907"},{"ecosystem":"Red Hat:rhel_extras_other:7","fixed":["0:1.4.4-2.el7"],"introduced":["0"],"last_affected":[],"package":"podman-docker","purl":"pkg:rpm/redhat/podman-docker","source":"RHSA-2019:1907"}],"prev":{"headline":"DO NOT USE THIS CANDIDATE NUMBER.","id":"CVE-2019-10151"},"products":["podman"],"published":"2019-07-30","related":[{"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.5,"headline":"Podman Symlink Vulnerability","id":"CVE-2019-18466","kev_date_added":null,"published":"2019-10-28"},{"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":"Red Hat","prefix":"RHSA"},{"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":["Podman"]},"summary":"An attacker with container access can read or write arbitrary host files via symlink traversal when an administrator copies files using Podman.","url":"https://insights.sbomify.com/CVE-2019-10152/"}