{"answers":{"affected":"3 open source packages ship an affected version, including github.com/containers/libpod. It affects 3 products.","exploited":"There is no known exploitation of CVE-2021-20188 in the wild and no public exploit code.","fix":"Upgrade github.com/containers/libpod to 1.7.0 or later.","what":"CVE-2021-20188 is a high-severity missing authorization vulnerability in Redhat Enterprise Linux, published on 11 Feb 2021. 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-2021-20188 and fix it if it is affected.\n\nWhat it is: CVE-2021-20188 is a high-severity missing authorization vulnerability in Redhat Enterprise Linux, published on 11 Feb 2021. 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-2021-20188 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- github.com/containers/libpod (Go): affected all versions; fixed in 1.7.0\n- github.com/containers/libpod (Go): affected all versions; fixed in 1.7.0\n- github.com/containers/libpod (Go): affected all versions; fixed in 1.7.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-2021-20188/ (Markdown: https://insights.sbomify.com/CVE-2021-20188/index.md)","id":"CVE-2021-20188","markdown":"https://insights.sbomify.com/CVE-2021-20188/index.md","name":"CVE-2021-20188","record":{"aliases":["ALSA-2021:0705","DEBIAN-CVE-2021-20188","GHSA-9h63-7qf6-mv6r","GO-2022-0641","OESA-2021-1123","RHSA-2021:0681","RHSA-2021:0705","RHSA-2021:0710","RLSA-2021:0705","RLSA-2021:0706","UBUNTU-CVE-2021-20188"],"analysis":{"component_type":"container_or_infrastructure","fix_type":"upgrade","impacts":["data_read","data_modify","denial_of_service"],"network_reachable":"adjacent_or_local","non_default_config":true,"product_category":"Podman container engine","requires_auth":"low_privilege","summary":"Low-privileged users in privileged Podman containers can bypass file permission checks to access or modify root-owned files, compromising data confidentiality and integrity.","user_interaction":"not_required","vuln_class":"missing_authorization"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"redhat","cpe":[{"product":"podman","vendor":"podman_project"},{"product":"enterprise_linux","vendor":"redhat"},{"product":"openshift_container_platform","vendor":"redhat"}],"cvss":{"score":7,"severity":"high","source":"nvd","vector":"CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H","version":"3.1"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"}],"description":"A flaw was found in podman before 1.7.0. File permissions for non-root users running in a privileged container are not correctly checked. This flaw can be abused by a low-privileged user inside the container to access any other file in the container, even if owned by the root user inside the container. It does not allow to directly escape the container, though being a privileged container means that a lot of security features are disabled when running the container. The highest threat from this vulnerability is to data confidentiality and integrity as well as system availability.","ecosystems":["AlmaLinux:8","Go","Red Hat:enterprise_linux:8::appstream","Red Hat:rhel_eus:8.2::appstream","Red Hat:rhel_extras_other:7","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":"Improper Authorization in github.com/containers/libpod","id":"CVE-2021-20188","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"Go","product":"redhat:enterprise_linux","products":["redhat:enterprise_linux","redhat:openshift_container_platform"],"type":"missing_authorization","year":"2021"},"n_packages":177,"n_references":1,"next":{"headline":"DO NOT USE THIS CANDIDATE NUMBER.","id":"CVE-2021-20189"},"packages":[{"ecosystem":"Go","fixed":["1.7.0"],"introduced":["0"],"last_affected":[],"package":"github.com/containers/libpod","purl":null,"source":"GHSA-9h63-7qf6-mv6r"},{"ecosystem":"Go","fixed":["1.7.0"],"introduced":["0"],"last_affected":[],"package":"github.com/containers/libpod","purl":"pkg:golang/github.com/containers/libpod","source":"GHSA-9h63-7qf6-mv6r"},{"ecosystem":"Go","fixed":["1.7.0"],"introduced":["0"],"last_affected":[],"package":"github.com/containers/libpod","purl":"pkg:golang/github.com/containers/libpod","source":"GO-2022-0641"},{"ecosystem":"AlmaLinux:8","fixed":["1.5-8.gite94b4f9.module_el8.3.0+2044+12421f43"],"introduced":["0"],"last_affected":[],"package":"buildah","purl":"pkg:rpm/almalinux/buildah","source":"ALSA-2021:0705"},{"ecosystem":"AlmaLinux:8","fixed":["1.5-8.gite94b4f9.module_el8.4.0+2496+12421f43"],"introduced":["0"],"last_affected":[],"package":"buildah","purl":"pkg:rpm/almalinux/buildah","source":"ALSA-2021:0705"},{"ecosystem":"AlmaLinux:8","fixed":["1.5-8.gite94b4f9.module_el8.5.0+119+9a9ec082"],"introduced":["0"],"last_affected":[],"package":"buildah","purl":"pkg:rpm/almalinux/buildah","source":"ALSA-2021:0705"},{"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-2021:0705"},{"ecosystem":"AlmaLinux:8","fixed":["0.7.4-4.git9ebe139.module_el8.3.0+2044+12421f43"],"introduced":["0"],"last_affected":[],"package":"containernetworking-plugins","purl":"pkg:rpm/almalinux/containernetworking-plugins","source":"ALSA-2021:0705"},{"ecosystem":"AlmaLinux:8","fixed":["0.7.4-4.git9ebe139.module_el8.4.0+2496+12421f43"],"introduced":["0"],"last_affected":[],"package":"containernetworking-plugins","purl":"pkg:rpm/almalinux/containernetworking-plugins","source":"ALSA-2021:0705"},{"ecosystem":"AlmaLinux:8","fixed":["0.7.4-4.git9ebe139.module_el8.5.0+119+9a9ec082"],"introduced":["0"],"last_affected":[],"package":"containernetworking-plugins","purl":"pkg:rpm/almalinux/containernetworking-plugins","source":"ALSA-2021:0705"},{"ecosystem":"AlmaLinux:8","fixed":["1:0.1.32-6.git1715c90.module_el8.4.0+2478+12421f43"],"introduced":["0"],"last_affected":[],"package":"containers-common","purl":"pkg:rpm/almalinux/containers-common","source":"ALSA-2021:0705"},{"ecosystem":"AlmaLinux:8","fixed":["1:0.1.32-6.git1715c90.module_el8.4.0+2496+12421f43"],"introduced":["0"],"last_affected":[],"package":"containers-common","purl":"pkg:rpm/almalinux/containers-common","source":"ALSA-2021:0705"},{"ecosystem":"AlmaLinux:8","fixed":["1:0.1.32-6.git1715c90.module_el8.5.0+119+9a9ec082"],"introduced":["0"],"last_affected":[],"package":"containers-common","purl":"pkg:rpm/almalinux/containers-common","source":"ALSA-2021:0705"},{"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-2021:0705"},{"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-2021:0705"},{"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-2021:0705"},{"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-2021:0705"},{"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-2021:0705"},{"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-2021:0705"},{"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-2021:0705"},{"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-2021:0705"},{"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-2021:0705"},{"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-2021:0705"},{"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-2021:0705"},{"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-2021:0705"},{"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-2021:0705"},{"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-2021:0705"},{"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-2021:0705"},{"ecosystem":"AlmaLinux:8","fixed":["1.0.0-8.git921f98f.module_el8.3.0+2044+12421f43"],"introduced":["0"],"last_affected":[],"package":"podman","purl":"pkg:rpm/almalinux/podman","source":"ALSA-2021:0705"},{"ecosystem":"AlmaLinux:8","fixed":["1.0.0-8.git921f98f.module_el8.4.0+2496+12421f43"],"introduced":["0"],"last_affected":[],"package":"podman","purl":"pkg:rpm/almalinux/podman","source":"ALSA-2021:0705"},{"ecosystem":"AlmaLinux:8","fixed":["1.0.0-8.git921f98f.module_el8.5.0+119+9a9ec082"],"introduced":["0"],"last_affected":[],"package":"podman","purl":"pkg:rpm/almalinux/podman","source":"ALSA-2021:0705"},{"ecosystem":"AlmaLinux:8","fixed":["1.0.0-8.git921f98f.module_el8.3.0+2044+12421f43"],"introduced":["0"],"last_affected":[],"package":"podman-docker","purl":"pkg:rpm/almalinux/podman-docker","source":"ALSA-2021:0705"},{"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-2021:0705"},{"ecosystem":"AlmaLinux:8","fixed":["3.12-9.module_el8.4.0+2496+12421f43"],"introduced":["0"],"last_affected":[],"package":"python3-criu","purl":"pkg:rpm/almalinux/python3-criu","source":"ALSA-2021:0705"},{"ecosystem":"AlmaLinux:8","fixed":["3.12-9.module_el8.5.0+119+9a9ec082"],"introduced":["0"],"last_affected":[],"package":"python3-criu","purl":"pkg:rpm/almalinux/python3-criu","source":"ALSA-2021:0705"},{"ecosystem":"AlmaLinux:8","fixed":["1.0.0-56.rc5.dev.git2abd837.module_el8.3.0+2044+12421f43"],"introduced":["0"],"last_affected":[],"package":"runc","purl":"pkg:rpm/almalinux/runc","source":"ALSA-2021:0705"},{"ecosystem":"AlmaLinux:8","fixed":["1.0.0-56.rc5.dev.git2abd837.module_el8.4.0+2496+12421f43"],"introduced":["0"],"last_affected":[],"package":"runc","purl":"pkg:rpm/almalinux/runc","source":"ALSA-2021:0705"},{"ecosystem":"AlmaLinux:8","fixed":["1.0.0-56.rc5.dev.git2abd837.module_el8.5.0+119+9a9ec082"],"introduced":["0"],"last_affected":[],"package":"runc","purl":"pkg:rpm/almalinux/runc","source":"ALSA-2021:0705"},{"ecosystem":"AlmaLinux:8","fixed":["1:0.1.32-6.git1715c90.module_el8.4.0+2478+12421f43"],"introduced":["0"],"last_affected":[],"package":"skopeo","purl":"pkg:rpm/almalinux/skopeo","source":"ALSA-2021:0705"},{"ecosystem":"AlmaLinux:8","fixed":["1:0.1.32-6.git1715c90.module_el8.4.0+2496+12421f43"],"introduced":["0"],"last_affected":[],"package":"skopeo","purl":"pkg:rpm/almalinux/skopeo","source":"ALSA-2021:0705"}],"prev":{"headline":"Moodle Arbitrary PHP code execution by site admins via Shibboleth configuration","id":"CVE-2021-20187"},"products":["podman"],"published":"2021-02-11","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":6.8,"headline":"Podman Time-of-check Time-of-use (TOCTOU) Race Condition","id":"CVE-2023-0778","kev_date_added":null,"published":"2023-03-27"},{"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":"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-03","vendors":["n/a"]},"summary":"Low-privileged users in privileged Podman containers can bypass file permission checks to access or modify root-owned files, compromising data confidentiality and integrity.","url":"https://insights.sbomify.com/CVE-2021-20188/"}