CVEfocus › CVE database › CVE-2021-20188

CVE-2021-20188

EPSS 0.3% (higher than 11% of CVEs)Published 2021-02-11Updated 2024-08-03Assigner: redhat

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.

CWE-863

What to do

Fixed builds are available from AlmaLinux, Debian, Go, Red Hat, Rocky Linux: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

65Fixed
2Fix pending
7Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 24.04libpodFix pendingUBUNTU-CVE-2021-20188
Ubuntu 22.04libpodFix pendingUBUNTU-CVE-2021-20188
Debian 12libpodFixed2.0.2+dfsg1-3DEBIAN-CVE-2021-20188
Red Hat Enterprise Linux 9podmanNot affected
Red Hat Enterprise Linux 9podman-catatonitNot affected
Red Hat Enterprise Linux 9podman-dockerNot affected
Red Hat Enterprise Linux 9podman-gvproxyNot affected
Red Hat Enterprise Linux 9podman-pluginsNot affected
Red Hat Enterprise Linux 9podman-remoteNot affected
Red Hat Enterprise Linux 9podman-testsNot affected
Red Hat Enterprise Linux 8buildahFixed0:1.11.6-8.module+el8.3.0+10188+4c10031cRHSA-2021:0705
Red Hat Enterprise Linux 8buildah-testsFixed0:1.14.9-1.module+el8.2.1+6689+748e6520RHSA-2021:0706
Red Hat Enterprise Linux 8cockpit-podmanFixed0:11-1.module+el8.3.0+10188+4c10031cRHSA-2020:3053
Red Hat Enterprise Linux 8conmonFixed2:2.0.15-1.module+el8.3.0+10188+4c10031cRHSA-2020:3053
Red Hat Enterprise Linux 8container-selinuxFixed2:2.130.0-1.module+el8.3.0+10188+4c10031cRHSA-2020:3053
Red Hat Enterprise Linux 8containernetworking-pluginsFixed0:0.7.4-4.git9ebe139.module+el8.3.0+10171+12421f43RHSA-2021:0706
Red Hat Enterprise Linux 8containers-commonFixed1:0.1.32-6.git1715c90.module+el8.3.0+10171+12421f43RHSA-2020:3053
Red Hat Enterprise Linux 8critFixed0:3.12-9.module+el8.3.0+10171+12421f43RHSA-2021:0706
Red Hat Enterprise Linux 8criuFixed0:3.14-2.module+el8.2.1+6750+e53a300cRHSA-2021:0706
Red Hat Enterprise Linux 8fuse-overlayfsFixed0:0.7.8-1.module+el8.3.0+10188+4c10031cRHSA-2021:0705
Red Hat Enterprise Linux 8libslirpFixed0:4.3.0-3.module+el8.2.1+6816+bedf4f91RHSA-2020:3053
Red Hat Enterprise Linux 8libslirp-develFixed0:4.3.0-3.module+el8.2.1+6816+bedf4f91RHSA-2020:3053
Red Hat Enterprise Linux 8oci-systemd-hookFixed1:0.1.15-2.git2d0b8a3.module+el8.3.0+10171+12421f43RHSA-2021:0705
Red Hat Enterprise Linux 8oci-umountFixed2:2.3.4-2.git87f9237.module+el8.3.0+10171+12421f43RHSA-2021:0705
Red Hat Enterprise Linux 8podmanFixed0:1.9.3-2.module+el8.2.1+6867+366c07d6RHSA-2021:0706
Red Hat Enterprise Linux 8podman-dockerFixed0:1.6.4-26.module+el8.3.0+10188+4c10031cRHSA-2020:3053
Red Hat Enterprise Linux 8podman-remoteFixed0:1.9.3-2.module+el8.2.1+6867+366c07d6RHSA-2021:0706
Red Hat Enterprise Linux 8podman-testsFixed0:1.6.4-26.module+el8.3.0+10188+4c10031cRHSA-2020:3053
Red Hat Enterprise Linux 8python-podman-apiFixed0:1.2.0-0.2.gitd0a45fe.module+el8.2.1+6465+1a51e8b6RHSA-2021:0706
Red Hat Enterprise Linux 8python3-criuFixed0:3.12-9.module+el8.3.0+10171+12421f43RHSA-2020:3053
Red Hat Enterprise Linux 8runcFixed0:1.0.0-56.rc5.dev.git2abd837.module+el8.3.0+10171+12421f43RHSA-2020:3053
Red Hat Enterprise Linux 8skopeoFixed1:1.0.0-1.module+el8.2.1+6676+604e1b26RHSA-2021:0706
Red Hat Enterprise Linux 8skopeo-testsFixed1:0.1.41-4.module+el8.3.0+10188+4c10031cRHSA-2020:3053
Red Hat Enterprise Linux 8slirp4netnsFixed0:0.4.2-3.git21fdece.module+el8.3.0+10188+4c10031cRHSA-2021:0705
Red Hat Enterprise Linux 8toolboxFixed0:0.0.7-1.module+el8.2.1+6465+1a51e8b6RHSA-2021:0706
Red Hat Enterprise Linux 8udicaFixed0:0.2.1-2.module+el8.3.0+10188+4c10031cRHSA-2020:3053
AlmaLinux 8buildahFixed1.5-8.gite94b4f9.module_el8.4.0+2496+12421f43ALSA-2021:0705
AlmaLinux 8cockpit-podmanFixed11-1.module_el8.5.0+108+00865455ALSA-2021:0706
AlmaLinux 8conmonFixed2:2.0.15-1.module_el8.5.0+2635+e4386a39ALSA-2021:0706
AlmaLinux 8container-selinuxFixed2:2.130.0-1.module_el8.5.0+2635+e4386a39ALSA-2021:0705
AlmaLinux 8containernetworking-pluginsFixed0.7.4-4.git9ebe139.module_el8.5.0+119+9a9ec082ALSA-2021:0705
AlmaLinux 8containers-commonFixed1:0.1.41-4.module_el8.5.0+108+00865455ALSA-2021:0705
AlmaLinux 8critFixed3.12-9.module_el8.5.0+119+9a9ec082ALSA-2021:0706
AlmaLinux 8criuFixed3.12-9.module_el8.4.0+2496+12421f43ALSA-2021:0706
AlmaLinux 8fuse-overlayfsFixed0.7.8-1.module_el8.5.0+2635+e4386a39ALSA-2021:0705
AlmaLinux 8oci-systemd-hookFixed1:0.1.15-2.git2d0b8a3.module_el8.4.0+2496+12421f43ALSA-2021:0705
AlmaLinux 8oci-umountFixed2:2.3.4-2.git87f9237.module_el8.4.0+2496+12421f43ALSA-2021:0705
AlmaLinux 8podmanFixed1.0.0-8.git921f98f.module_el8.5.0+119+9a9ec082ALSA-2021:0705
AlmaLinux 8podman-dockerFixed1.0.0-8.git921f98f.module_el8.3.0+2044+12421f43ALSA-2021:0705
AlmaLinux 8python-podman-apiFixed1.2.0-0.2.gitd0a45fe.module_el8.5.0+108+00865455ALSA-2020:3053
AlmaLinux 8python3-criuFixed3.12-9.module_el8.5.0+119+9a9ec082ALSA-2021:0705
AlmaLinux 8runcFixed1.0.0-66.rc10.module_el8.5.0+2635+e4386a39ALSA-2020:3053
AlmaLinux 8skopeoFixed1:0.1.41-4.module_el8.5.0+2635+e4386a39ALSA-2021:0706
AlmaLinux 8skopeo-testsFixed1:0.1.41-4.module_el8.5.0+108+00865455ALSA-2021:0706
AlmaLinux 8slirp4netnsFixed0.4.2-3.git21fdece.module_el8.5.0+2635+e4386a39ALSA-2021:0705
AlmaLinux 8toolboxFixed0.0.7-1.module_el8.5.0+108+00865455ALSA-2021:0706
AlmaLinux 8udicaFixed0.2.1-2.module_el8.5.0+2635+e4386a39ALSA-2020:3053
Rocky Linux 8buildahFixed0:1.5-8.gite94b4f9.module+el8.4.0+557+48ba8b2fRLSA-2021:0705
Rocky Linux 8cockpit-podmanFixed0:11-1.module+el8.4.0+559+c02fa3b2RLSA-2021:0706
Rocky Linux 8conmonFixed2:2.0.15-1.module+el8.4.0+559+c02fa3b2RLSA-2021:0706
Rocky Linux 8container-selinuxFixed2:2.130.0-1.module+el8.4.0+559+c02fa3b2RLSA-2021:0706
Rocky Linux 8containernetworking-pluginsFixed0:0.8.3-4.module+el8.5.0+770+e2f49861RLSA-2021:0706
Rocky Linux 8criuFixed0:3.12-9.module+el8.5.0+681+c9a1951fRLSA-2021:0706
Rocky Linux 8fuse-overlayfsFixed0:0.3-5.module+el8.5.0+681+c9a1951fRLSA-2021:0705
Rocky Linux 8oci-systemd-hookFixed1:0.1.15-2.git2d0b8a3.module+el8.4.0+557+48ba8b2fRLSA-2021:0705
Rocky Linux 8oci-umountFixed2:2.3.4-2.git87f9237.module+el8.4.0+557+48ba8b2fRLSA-2021:0705
Rocky Linux 8podmanFixed0:1.6.4-26.module+el8.4.0+559+c02fa3b2RLSA-2021:0706
Rocky Linux 8python-podman-apiFixed0:1.2.0-0.2.gitd0a45fe.module+el8.4.0+559+c02fa3b2RLSA-2021:0706
Rocky Linux 8runcFixed0:1.0.0-56.rc5.dev.git2abd837.module+el8.5.0+681+c9a1951fRLSA-2021:0705
Rocky Linux 8skopeoFixed1:0.1.41-4.module+el8.5.0+708+6758137dRLSA-2021:0706
Rocky Linux 8slirp4netnsFixed0:0.1-5.dev.gitc4e1bc5.module+el8.5.0+681+c9a1951fRLSA-2021:0705
Rocky Linux 8toolboxFixed0:0.0.7-1.module+el8.5.0+770+e2f49861RLSA-2020:3053
Rocky Linux 8udicaFixed0:0.2.1-2.module+el8.4.0+559+c02fa3b2RLSA-2021:0706
Go librarygithub.com/containers/libpodFixed1.7.0GO-2022-0641

What the vendor says

As published in the CVE record by redhat, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.