{"answers":{"affected":"3 open source packages ship an affected version, including github.com/containers/podman/v4. It affects 2 products.","exploited":"There is no known exploitation of CVE-2023-0778 in the wild and no public exploit code.","fix":"Upgrade github.com/containers/podman/v4 to 4.4.2 or later.","what":"CVE-2023-0778 is a medium-severity vulnerability in Redhat Enterprise Linux, published on 27 Mar 2023. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2023-0778 and fix it if it is affected.\n\nWhat it is: CVE-2023-0778 is a medium-severity vulnerability in Redhat Enterprise Linux, published on 27 Mar 2023. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2023-0778 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/containers/podman/v4 (Go): affected all versions; fixed in 4.4.2\n- github.com/containers/podman/v4 (Go): affected all versions; fixed in 4.4.2\n- github.com/containers/podman/v4 (Go): affected all versions; fixed in 4.4.2\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-2023-0778/ (Markdown: https://insights.sbomify.com/CVE-2023-0778/index.md)","id":"CVE-2023-0778","markdown":"https://insights.sbomify.com/CVE-2023-0778/index.md","name":"CVE-2023-0778","record":{"aliases":["AZL-39612","AZL-43612","AZL-45381","BELL-CVE-2023-0778","DEBIAN-CVE-2023-0778","GHSA-qwqv-rqgf-8qh8","GO-2023-1681","SUSE-SU-2023:1812-1","SUSE-SU-2023:1814-1","UBUNTU-CVE-2023-0778","openSUSE-SU-2024:12771-1"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"patch","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Podman container tool","requires_auth":"low_privilege","summary":"A race condition in Podman allows attackers to replace files with symlinks during volume export, enabling arbitrary host file access.","user_interaction":"not_required","vuln_class":"race_condition"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"podman","vendor":"podman_project"},{"product":"enterprise_linux","vendor":"redhat"}],"cvss":{"score":6.8,"severity":"medium","source":"cisa-adp","vector":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-367","name":"Time-of-check Time-of-use (TOCTOU) Race Condition"}],"description":"A Time-of-check Time-of-use (TOCTOU) flaw was found in podman. This issue may allow a malicious user to replace a normal file in a volume with a symlink while exporting the volume, allowing for access to arbitrary files on the host file system.","ecosystems":["Go","SUSE:Enterprise Storage 7.1","SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS","SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","SUSE:Linux Enterprise Micro 5.1","SUSE:Linux Enterprise Micro 5.2","SUSE:Linux Enterprise Micro 5.3","SUSE:Linux Enterprise Micro 5.4","SUSE:Linux Enterprise Module for Containers 15 SP4","SUSE:Linux Enterprise Server 15 SP3-LTSS","SUSE:Linux Enterprise Server for SAP Applications 15 SP3","openSUSE:Leap 15.4","openSUSE:Leap Micro 5.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":"Podman Time-of-check Time-of-use (TOCTOU) Race Condition","id":"CVE-2023-0778","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":"redhat:enterprise_linux","products":["redhat:enterprise_linux"],"type":"race_condition","year":"2023"},"n_packages":16,"n_references":1,"next":{"headline":"net: shell: Improper input validation","id":"CVE-2023-0779"},"packages":[{"ecosystem":"Go","fixed":["4.4.2"],"introduced":["0"],"last_affected":[],"package":"github.com/containers/podman/v4","purl":null,"source":"GHSA-qwqv-rqgf-8qh8"},{"ecosystem":"Go","fixed":["4.4.2"],"introduced":["0"],"last_affected":[],"package":"github.com/containers/podman/v4","purl":"pkg:golang/github.com/containers/podman/v4","source":"GHSA-qwqv-rqgf-8qh8"},{"ecosystem":"Go","fixed":["4.4.2"],"introduced":["0"],"last_affected":[],"package":"github.com/containers/podman/v4","purl":"pkg:golang/github.com/containers/podman/v4","source":"GO-2023-1681"},{"ecosystem":"SUSE:Enterprise Storage 7.1","fixed":["4.4.4-150300.9.20.1"],"introduced":["0"],"last_affected":[],"package":"podman","purl":"pkg:rpm/suse/podman\u0026distro=SUSE%20Enterprise%20Storage%207.1","source":"SUSE-SU-2023:1812-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-ESPOS","fixed":["4.4.4-150300.9.20.1"],"introduced":["0"],"last_affected":[],"package":"podman","purl":"pkg:rpm/suse/podman\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-ESPOS","source":"SUSE-SU-2023:1812-1"},{"ecosystem":"SUSE:Linux Enterprise High Performance Computing 15 SP3-LTSS","fixed":["4.4.4-150300.9.20.1"],"introduced":["0"],"last_affected":[],"package":"podman","purl":"pkg:rpm/suse/podman\u0026distro=SUSE%20Linux%20Enterprise%20High%20Performance%20Computing%2015%20SP3-LTSS","source":"SUSE-SU-2023:1812-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.1","fixed":["4.4.4-150300.9.20.1"],"introduced":["0"],"last_affected":[],"package":"podman","purl":"pkg:rpm/suse/podman\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.1","source":"SUSE-SU-2023:1812-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.2","fixed":["4.4.4-150300.9.20.1"],"introduced":["0"],"last_affected":[],"package":"podman","purl":"pkg:rpm/suse/podman\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.2","source":"SUSE-SU-2023:1812-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.3","fixed":["4.4.4-150400.4.16.1"],"introduced":["0"],"last_affected":[],"package":"podman","purl":"pkg:rpm/suse/podman\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.3","source":"SUSE-SU-2023:1814-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.4","fixed":["4.4.4-150400.4.16.1"],"introduced":["0"],"last_affected":[],"package":"podman","purl":"pkg:rpm/suse/podman\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.4","source":"SUSE-SU-2023:1814-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Containers 15 SP4","fixed":["4.4.4-150400.4.16.1"],"introduced":["0"],"last_affected":[],"package":"podman","purl":"pkg:rpm/suse/podman\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Containers%2015%20SP4","source":"SUSE-SU-2023:1814-1"},{"ecosystem":"SUSE:Linux Enterprise Server 15 SP3-LTSS","fixed":["4.4.4-150300.9.20.1"],"introduced":["0"],"last_affected":[],"package":"podman","purl":"pkg:rpm/suse/podman\u0026distro=SUSE%20Linux%20Enterprise%20Server%2015%20SP3-LTSS","source":"SUSE-SU-2023:1812-1"},{"ecosystem":"SUSE:Linux Enterprise Server for SAP Applications 15 SP3","fixed":["4.4.4-150300.9.20.1"],"introduced":["0"],"last_affected":[],"package":"podman","purl":"pkg:rpm/suse/podman\u0026distro=SUSE%20Linux%20Enterprise%20Server%20for%20SAP%20Applications%2015%20SP3","source":"SUSE-SU-2023:1812-1"},{"ecosystem":"openSUSE:Leap 15.4","fixed":["4.4.4-150400.4.16.1"],"introduced":["0"],"last_affected":[],"package":"podman","purl":"pkg:rpm/opensuse/podman\u0026distro=openSUSE%20Leap%2015.4","source":"SUSE-SU-2023:1814-1"},{"ecosystem":"openSUSE:Leap Micro 5.3","fixed":["4.4.4-150400.4.16.1"],"introduced":["0"],"last_affected":[],"package":"podman","purl":"pkg:rpm/opensuse/podman\u0026distro=openSUSE%20Leap%20Micro%205.3","source":"SUSE-SU-2023:1814-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["4.4.2-1.1"],"introduced":["0"],"last_affected":[],"package":"podman","purl":"pkg:rpm/opensuse/podman\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2024:12771-1"}],"prev":{"headline":"Authentication Bypass by Primary Weakness in modoboa/modoboa","id":"CVE-2023-0777"},"products":["podman"],"published":"2023-03-27","related":[{"cvss_score":7.5,"headline":"Podman: Malformed Image can trick podman run into leaking host environment variables into the container","id":"CVE-2026-57231","kev_date_added":null,"published":"2026-06-26"},{"cvss_score":7.5,"headline":"Use after free in podman","id":"CVE-2022-2738","kev_date_added":null,"published":"2022-09-01"},{"cvss_score":7.1,"headline":"Podman's incorrect handling of the supplementary groups may lead to data disclosure, modification","id":"CVE-2022-2989","kev_date_added":null,"published":"2022-09-13"},{"cvss_score":7,"headline":"Improper Authorization in github.com/containers/libpod","id":"CVE-2021-20188","kev_date_added":null,"published":"2021-02-11"},{"cvss_score":6.3,"headline":"Podman/Varlink API Privilege Escalation","id":"CVE-2019-25067","kev_date_added":null,"published":"2022-06-09"},{"cvss_score":5.9,"headline":"Podman Origin Validation Error","id":"CVE-2021-20199","kev_date_added":null,"published":"2021-02-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":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2025-02-24","vendors":["n/a"]},"summary":"A race condition in Podman allows attackers to replace files with symlinks during volume export, enabling arbitrary host file access.","url":"https://insights.sbomify.com/CVE-2023-0778/"}