{"answers":{"affected":"6 open source packages ship an affected version, including github.com/containers/podman, github.com/containers/podman/v2 and github.com/containers/podman/v3. It affects 1 product.","exploited":"There is no known exploitation of CVE-2018-10856 in the wild and no public exploit code.","fix":"Upgrade github.com/containers/podman to 0.6.1 or later.","what":"CVE-2018-10856 is a medium-severity vulnerability in [UNKNOWN] podman, published on 2 Jul 2018. 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-2018-10856 and fix it if it is affected.\n\nWhat it is: CVE-2018-10856 is a medium-severity vulnerability in [UNKNOWN] podman, published on 2 Jul 2018. 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-2018-10856 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 0.6.1\n- github.com/containers/podman (Go): affected all versions; fixed in 0.6.1\n- github.com/containers/podman (Go): affected all versions; fixed in 0.6.1\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- github.com/containers/podman/v4 (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-2018-10856/ (Markdown: https://insights.sbomify.com/CVE-2018-10856/index.md)","id":"CVE-2018-10856","markdown":"https://insights.sbomify.com/CVE-2018-10856/index.md","name":"CVE-2018-10856","record":{"aliases":["GHSA-wp7w-vx86-vj9h","GO-2023-1962","RHSA-2018:2037"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"upgrade","impacts":["privilege_escalation"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Podman container engine","requires_auth":"low_privilege","summary":"Podman fails to drop capabilities for non-root containers, granting unnecessary privileges that could lead to privilege escalation.","user_interaction":"not_required","vuln_class":"privilege_escalation"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"libpod","vendor":"libpod_project"}],"cvss":{"score":5.3,"severity":"medium","source":"cna","vector":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","version":"3.0"},"cwes":[{"id":"CWE-732","name":"Incorrect Permission Assignment for Critical Resource"},{"id":"CWE-250","name":"Execution with Unnecessary Privileges"}],"description":"It has been discovered that podman before version 0.6.1 does not drop capabilities when executing a container as a non-root user. This results in unnecessary privileges being granted 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 Elevated Container Privileges","id":"CVE-2018-10856","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":null,"products":[],"type":"privilege_escalation","year":"2018"},"n_packages":8,"n_references":3,"next":{"headline":"Information disclosure in git-annex","id":"CVE-2018-10857"},"packages":[{"ecosystem":"Go","fixed":["0.6.1"],"introduced":["0"],"last_affected":[],"package":"github.com/containers/podman","purl":null,"source":"GHSA-wp7w-vx86-vj9h"},{"ecosystem":"Go","fixed":["0.6.1"],"introduced":["0"],"last_affected":[],"package":"github.com/containers/podman","purl":"pkg:golang/github.com/containers/podman","source":"GHSA-wp7w-vx86-vj9h"},{"ecosystem":"Go","fixed":["0.6.1"],"introduced":["0"],"last_affected":[],"package":"github.com/containers/podman","purl":"pkg:golang/github.com/containers/podman","source":"GO-2023-1962"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/containers/podman/v2","purl":"pkg:golang/github.com/containers/podman/v2","source":"GO-2023-1962"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/containers/podman/v3","purl":"pkg:golang/github.com/containers/podman/v3","source":"GO-2023-1962"},{"ecosystem":"Go","fixed":[],"introduced":["0"],"last_affected":[],"package":"github.com/containers/podman/v4","purl":"pkg:golang/github.com/containers/podman/v4","source":"GO-2023-1962"},{"ecosystem":"Red Hat:rhel_extras_other:7","fixed":["0:0.6.1-3.git3e0ff12.el7"],"introduced":["0"],"last_affected":[],"package":"podman","purl":"pkg:rpm/redhat/podman","source":"RHSA-2018:2037"},{"ecosystem":"Red Hat:rhel_extras_other:7","fixed":["0:0.6.1-3.git3e0ff12.el7"],"introduced":["0"],"last_affected":[],"package":"podman-debuginfo","purl":"pkg:rpm/redhat/podman-debuginfo","source":"RHSA-2018:2037"}],"prev":{"headline":"Ansible exposes sensitive data in log files and on the terminal","id":"CVE-2018-10855"},"products":["podman"],"published":"2018-07-02","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.5,"headline":"Podman Symlink Vulnerability","id":"CVE-2019-18466","kev_date_added":null,"published":"2019-10-28"}],"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-05","vendors":["[UNKNOWN]"]},"summary":"Podman fails to drop capabilities for non-root containers, granting unnecessary privileges that could lead to privilege escalation.","url":"https://insights.sbomify.com/CVE-2018-10856/"}