cve.bz

CVE-2021-20188 Incorrect Authorization

7.0 highEPSS 0.3%Fix available

High (7.0). EPSS 0.3% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/containers/libpod 1.7.0.

On this page
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.

Severity

CVSS 3.1

7.0 high
CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
EPSS
0.3% (unchanged from 0.3% a week ago; 0.3% 30 days ago) estimated probability of exploitation activity in the next 30 days; 19th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-863 Incorrect Authorization
OWASP Top 10
A01:2025 Broken Access Control
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-20188 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-20188?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-20188?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-20188 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
podman_project:podmanbefore 1.7.0
redhat:openshift_container_platform3.11
redhat:enterprise_linux7.0
redhat:enterprise_linux8.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-9h63-7qf6-mv6rGogithub.com/containers/libpod<1.7.01.7.0
GO-2022-0641Gogithub.com/containers/libpod<1.7.01.7.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12libpod2.0.2+dfsg1-3DEBIAN-CVE-2021-20188
UbuntuPro:22.04:LTS, Pro:24.04:LTSlibpodno fix listedUBUNTU-CVE-2021-20188
Red Hatenterprise_linux:8::appstreambuildah, buildah-debuginfo, buildah-debugsource0:1.5-8.gite94b4f9.module+el8.3.0+10171+12421f43RHSA-2021:0705
Red Hatenterprise_linux:8::appstreambuildah, buildah-tests, buildah-debuginfo and 2 more0:1.11.6-8.module+el8.3.0+10188+4c10031cRHSA-2021:0706
Red Hatenterprise_linux:8::appstreambuildah, buildah-tests, buildah-debuginfo and 2 more0:1.14.9-1.module+el8.2.1+6689+748e6520RHSA-2020:3053
Red Hatenterprise_linux:8::appstreamcockpit-podman0:11-1.module+el8.3.0+10188+4c10031cRHSA-2021:0706
Red Hatenterprise_linux:8::appstreamcockpit-podman0:17-1.module+el8.2.1+6636+bf4db4abRHSA-2020:3053
Red Hatenterprise_linux:8::appstreamconmon2:2.0.15-1.module+el8.3.0+10188+4c10031cRHSA-2021:0706
Red Hatenterprise_linux:8::appstreamconmon2:2.0.17-1.module+el8.2.1+6771+3533eb4cRHSA-2020:3053
Red Hatenterprise_linux:8::appstreamcontainer-selinux2:2.124.0-1.gitf958d0c.module+el8.3.0+10171+12421f43RHSA-2021:0705
Red Hatenterprise_linux:8::appstreamcontainer-selinux2:2.130.0-1.module+el8.3.0+10188+4c10031cRHSA-2021:0706
Red Hatenterprise_linux:8::appstreamcontainer-selinux2:2.135.0-1.module+el8.2.1+6849+893e4f4aRHSA-2020:3053
Red Hatenterprise_linux:8::appstreamcontainernetworking-plugins, containernetworking-plugins-debuginfo, containernetworking-plugins-debugsource0:0.7.4-4.git9ebe139.module+el8.3.0+10171+12421f43RHSA-2021:0705
Red Hatenterprise_linux:8::appstreamcontainernetworking-plugins, containernetworking-plugins-debuginfo, containernetworking-plugins-debugsource0:0.8.3-4.module+el8.3.0+10188+4c10031cRHSA-2021:0706
43 more for Red Hat in the JSON and on Red Hat's page.
AlmaLinux8buildah1.5-8.gite94b4f9.module_el8.3.0+2044+12421f43ALSA-2021:0705
AlmaLinux8buildah1.5-8.gite94b4f9.module_el8.4.0+2496+12421f43ALSA-2021:0705
AlmaLinux8buildah1.5-8.gite94b4f9.module_el8.5.0+119+9a9ec082ALSA-2021:0705
AlmaLinux8cockpit-podman11-1.module_el8.5.0+108+00865455ALSA-2021:0706
AlmaLinux8cockpit-podman11-1.module_el8.5.0+2635+e4386a39ALSA-2021:0706
AlmaLinux8conmon2:2.0.15-1.module_el8.5.0+108+00865455ALSA-2021:0706
AlmaLinux8conmon2:2.0.15-1.module_el8.5.0+2635+e4386a39ALSA-2021:0706
AlmaLinux8container-selinux2:2.124.0-1.gitf958d0c.module_el8.3.0+2044+12421f43ALSA-2021:0705
AlmaLinux8container-selinux2:2.130.0-1.module_el8.5.0+108+00865455ALSA-2021:0706
AlmaLinux8container-selinux2:2.130.0-1.module_el8.5.0+2635+e4386a39ALSA-2021:0706
AlmaLinux8containernetworking-plugins0.7.4-4.git9ebe139.module_el8.3.0+2044+12421f43ALSA-2021:0705
AlmaLinux8containernetworking-plugins0.7.4-4.git9ebe139.module_el8.4.0+2496+12421f43ALSA-2021:0705
41 more for AlmaLinux in the JSON.
Rocky Linux8buildah0:1.11.6-8.module+el8.4.0+559+c02fa3b2RLSA-2021:0706
Rocky Linux8buildah0:1.5-8.gite94b4f9.module+el8.4.0+557+48ba8b2fRLSA-2021:0705
Rocky Linux8buildah0:1.5-8.gite94b4f9.module+el8.5.0+681+c9a1951fRLSA-2021:0705
Rocky Linux8cockpit-podman0:11-1.module+el8.4.0+559+c02fa3b2RLSA-2021:0706
Rocky Linux8cockpit-podman0:11-1.module+el8.5.0+708+6758137dRLSA-2021:0706
Rocky Linux8cockpit-podman0:11-1.module+el8.5.0+770+e2f49861RLSA-2021:0706
Rocky Linux8conmon2:2.0.15-1.module+el8.4.0+559+c02fa3b2RLSA-2021:0706
Rocky Linux8conmon2:2.0.15-1.module+el8.5.0+708+6758137dRLSA-2021:0706
Rocky Linux8conmon2:2.0.15-1.module+el8.5.0+770+e2f49861RLSA-2021:0706
Rocky Linux8container-selinux2:2.124.0-1.gitf958d0c.module+el8.4.0+557+48ba8b2fRLSA-2021:0705
Rocky Linux8container-selinux2:2.124.0-1.gitf958d0c.module+el8.5.0+681+c9a1951fRLSA-2021:0705
Rocky Linux8container-selinux2:2.130.0-1.module+el8.4.0+559+c02fa3b2RLSA-2021:0706
43 more for Rocky Linux in the JSON.

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat.

Red Hat

Red Hat rates this Important.

Red Hat's statement

OpenShift Container Platform 3.11 (OCP) has previously packaged podman, but instead now relies on the version from rhel-extras. The older version previously packaged is marked as wontfix.

This issue did not affect the versions of podman provided in the Container Tools module, stream rhel8, as shipped in Red Hat Enterprise Linux 8 as the issue was already fixed in those versions.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 7 Extraspodman-0:1.6.4-29.el7_9Fixed 2021-03-01RHSA-2021:0681
Red Hat Enterprise Linux 8container-tools:rhel8-8020120200601155013.ffd2803aFixed 2020-07-21RHSA-2020:3053
Red Hat Enterprise Linux 8container-tools:1.0-8030020210301104616.830d479eFixed 2021-03-02RHSA-2021:0705
Red Hat Enterprise Linux 8container-tools:2.0-8030020210302075156.830d479eFixed 2021-03-02RHSA-2021:0706
Red Hat Enterprise Linux 8.2 Extended Update Supportcontainer-tools:2.0-8020020210301124311.28c38760Fixed 2021-03-03RHSA-2021:0710
Red Hat Enterprise Linux 9podmanNot affected
Red Hat OpenShift Container Platform 3.11podmanWill not fix
Red Hat OpenShift Container Platform 4podmanNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2021-20188.

References

Check your stackJSON