Skip to content
OpenAdvisories
High · 7.0 CVE-2021-20188 EUVD-2021-1027GHSA-9h63-7qf6-mv6rGO-2022-0641

Improper Authorization in github.com/containers/libpod

Published Feb 11, 2021 · Updated Aug 3, 2024 · Assigned by redhat

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.

Affected products

VendorProductAffectedFixed
— podman podman 1.7.0 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 12 libpod 2.0.2+dfsg1-3 —
ReleasePackageFixed inAdvisory
Ubuntu Pro 24.04 LTS libpod No fix yet —
Ubuntu Pro 22.04 LTS libpod No fix yet —
ReleasePackageFixed inAdvisory
RHEL 8 buildah 1.5-8.gite94b4f9.module+el8.3.0+10171+12421f43 RHSA-2021:0706, RHSA-2021:0705, RHSA-2020:3053
RHEL 8 buildah-tests 1.11.6-8.module+el8.3.0+10188+4c10031c RHSA-2021:0706, RHSA-2020:3053
RHEL 8 cockpit-podman 11-1.module+el8.3.0+10188+4c10031c RHSA-2021:0706, RHSA-2020:3053
RHEL 8 conmon 2:2.0.15-1.module+el8.3.0+10188+4c10031c RHSA-2021:0706, RHSA-2020:3053
RHEL 8 container-selinux 2:2.124.0-1.gitf958d0c.module+el8.3.0+10171+12421f43 RHSA-2021:0706, RHSA-2021:0705, RHSA-2020:3053
RHEL 8 containernetworking-plugins 0.7.4-4.git9ebe139.module+el8.3.0+10171+12421f43 RHSA-2021:0706, RHSA-2021:0705, RHSA-2020:3053
RHEL 8 crit +2 3.12-9.module+el8.3.0+10171+12421f43 RHSA-2021:0706, RHSA-2021:0705, RHSA-2020:3053
RHEL 8 fuse-overlayfs 0.3-5.module+el8.3.0+10171+12421f43 RHSA-2021:0706, RHSA-2021:0705, RHSA-2020:3053
RHEL 8 libslirp +1 4.3.0-3.module+el8.2.1+6816+bedf4f91 RHSA-2020:3053
RHEL 8 oci-systemd-hook 1:0.1.15-2.git2d0b8a3.module+el8.3.0+10171+12421f43 RHSA-2021:0705
RHEL 8 oci-umount 2:2.3.4-2.git87f9237.module+el8.3.0+10171+12421f43 RHSA-2021:0705
RHEL 8 podman +1 1.0.0-8.git921f98f.module+el8.3.0+10171+12421f43 RHSA-2021:0706, RHSA-2021:0705, RHSA-2020:3053
RHEL 8 podman-tests +1 1.6.4-26.module+el8.3.0+10188+4c10031c RHSA-2021:0706, RHSA-2020:3053
RHEL 8 python-podman-api 1.2.0-0.2.gitd0a45fe.module+el8.2.1+6465+1a51e8b6 RHSA-2021:0706, RHSA-2020:3053
RHEL 8 runc 1.0.0-56.rc5.dev.git2abd837.module+el8.3.0+10171+12421f43 RHSA-2021:0706, RHSA-2021:0705, RHSA-2020:3053
RHEL 8 skopeo +1 1:0.1.32-6.git1715c90.module+el8.3.0+10171+12421f43 RHSA-2021:0706, RHSA-2021:0705, RHSA-2020:3053
RHEL 8 skopeo-tests 1:0.1.41-4.module+el8.3.0+10188+4c10031c RHSA-2021:0706, RHSA-2020:3053
RHEL 8 slirp4netns 0.1-5.dev.gitc4e1bc5.module+el8.3.0+10171+12421f43 RHSA-2021:0706, RHSA-2021:0705, RHSA-2020:3053
RHEL 8 toolbox 0.0.7-1.module+el8.2.1+6465+1a51e8b6 RHSA-2021:0706, RHSA-2020:3053
RHEL 8 udica 0.2.1-2.module+el8.2.1+6465+1a51e8b6 RHSA-2021:0706, RHSA-2020:3053
Show 2 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Red Hat Rhel Extras Other 7 podman +1 1.6.4-29.el7_9 RHSA-2021:0681
RHEL 8.2 EUS buildah +1 1.11.6-7.module+el8.2.0+9938+46853747 RHSA-2021:0710
RHEL 8.2 EUS cockpit-podman 11-1.module+el8.2.0+9938+46853747 RHSA-2021:0710
RHEL 8.2 EUS conmon 2:2.0.6-1.module+el8.2.0+9938+46853747 RHSA-2021:0710
RHEL 8.2 EUS container-selinux 2:2.124.0-1.module+el8.2.0+9938+46853747 RHSA-2021:0710
RHEL 8.2 EUS containernetworking-plugins 0.8.3-4.module+el8.2.0+9938+46853747 RHSA-2021:0710
RHEL 8.2 EUS crit +2 3.12-9.module+el8.2.0+9938+46853747 RHSA-2021:0710
RHEL 8.2 EUS fuse-overlayfs 0.7.2-5.module+el8.2.0+9938+46853747 RHSA-2021:0710
RHEL 8.2 EUS podman +3 1.6.4-19.module+el8.2.0+10175+e12b0910 RHSA-2021:0710
RHEL 8.2 EUS python-podman-api 1.2.0-0.2.gitd0a45fe.module+el8.2.0+9938+46853747 RHSA-2021:0710
RHEL 8.2 EUS runc 1.0.0-64.rc10.module+el8.2.0+9938+46853747 RHSA-2021:0710
RHEL 8.2 EUS skopeo +2 1:0.1.40-9.module+el8.2.0+9938+46853747 RHSA-2021:0710
RHEL 8.2 EUS slirp4netns 0.4.2-3.git21fdece.module+el8.2.0+9938+46853747 RHSA-2021:0710
RHEL 8.2 EUS toolbox 0.0.7-1.module+el8.2.0+9938+46853747 RHSA-2021:0710
RHEL 8.2 EUS udica 0.2.1-2.module+el8.2.0+9938+46853747 RHSA-2021:0710

AlmaLinux

Errata ↗
ReleasePackageFixed inAdvisory
AlmaLinux 8 buildah 1.5-8.gite94b4f9.module_el8.3.0+2044+12421f43 ALSA-2021:0705
AlmaLinux 8 cockpit-podman 11-1.module_el8.5.0+108+00865455 ALSA-2021:0706
AlmaLinux 8 conmon 2:2.0.15-1.module_el8.5.0+108+00865455 ALSA-2021:0706
AlmaLinux 8 container-selinux 2:2.124.0-1.gitf958d0c.module_el8.3.0+2044+12421f43 ALSA-2021:0706, ALSA-2021:0705
AlmaLinux 8 containernetworking-plugins 0.7.4-4.git9ebe139.module_el8.3.0+2044+12421f43 ALSA-2021:0706, ALSA-2021:0705
AlmaLinux 8 crit +2 3.12-9.module_el8.3.0+2044+12421f43 ALSA-2021:0706, ALSA-2021:0705
AlmaLinux 8 fuse-overlayfs 0.3-5.module_el8.3.0+2044+12421f43 ALSA-2021:0706, ALSA-2021:0705
AlmaLinux 8 oci-systemd-hook 1:0.1.15-2.git2d0b8a3.module_el8.3.0+2044+12421f43 ALSA-2021:0705
AlmaLinux 8 oci-umount 2:2.3.4-2.git87f9237.module_el8.3.0+2044+12421f43 ALSA-2021:0705
AlmaLinux 8 podman +1 1.0.0-8.git921f98f.module_el8.3.0+2044+12421f43 ALSA-2021:0705
AlmaLinux 8 python-podman-api 1.2.0-0.2.gitd0a45fe.module_el8.5.0+108+00865455 ALSA-2021:0706, ALSA-2020:3053
AlmaLinux 8 runc 1.0.0-56.rc5.dev.git2abd837.module_el8.3.0+2044+12421f43 ALSA-2021:0705, ALSA-2020:3053
AlmaLinux 8 skopeo +1 1:0.1.32-6.git1715c90.module_el8.4.0+2478+12421f43 ALSA-2021:0706, ALSA-2021:0705
AlmaLinux 8 skopeo-tests 1:0.1.41-4.module_el8.5.0+108+00865455 ALSA-2021:0706
AlmaLinux 8 slirp4netns 0.1-5.dev.gitc4e1bc5.module_el8.3.0+2044+12421f43 ALSA-2021:0706, ALSA-2021:0705
AlmaLinux 8 toolbox 0.0.7-1.module_el8.5.0+108+00865455 ALSA-2021:0706, ALSA-2020:3053
AlmaLinux 8 udica 0.2.1-2.module_el8.5.0+108+00865455 ALSA-2021:0706, ALSA-2020:3053

Rocky Linux

Errata ↗
ReleasePackageFixed inAdvisory
Rocky Linux 8 buildah 1.5-8.gite94b4f9.module+el8.4.0+557+48ba8b2f RLSA-2021:0706, RLSA-2021:0705
Rocky Linux 8 cockpit-podman 11-1.module+el8.4.0+559+c02fa3b2 RLSA-2021:0706
Rocky Linux 8 conmon 2:2.0.15-1.module+el8.4.0+559+c02fa3b2 RLSA-2021:0706
Rocky Linux 8 container-selinux 2:2.124.0-1.gitf958d0c.module+el8.4.0+557+48ba8b2f RLSA-2021:0706, RLSA-2021:0705
Rocky Linux 8 containernetworking-plugins 0.7.4-4.git9ebe139.module+el8.4.0+557+48ba8b2f RLSA-2021:0706, RLSA-2021:0705
Rocky Linux 8 criu 3.12-9.module+el8.4.0+557+48ba8b2f RLSA-2021:0706, RLSA-2021:0705
Rocky Linux 8 fuse-overlayfs 0.3-5.module+el8.4.0+557+48ba8b2f RLSA-2021:0706, RLSA-2021:0705
Rocky Linux 8 oci-systemd-hook 1:0.1.15-2.git2d0b8a3.module+el8.4.0+557+48ba8b2f RLSA-2021:0705
Rocky Linux 8 oci-umount 2:2.3.4-2.git87f9237.module+el8.4.0+557+48ba8b2f RLSA-2021:0705
Rocky Linux 8 podman 1.0.0-8.git921f98f.module+el8.4.0+557+48ba8b2f RLSA-2021:0706, RLSA-2021:0705
Rocky Linux 8 python-podman-api 1.2.0-0.2.gitd0a45fe.module+el8.4.0+559+c02fa3b2 RLSA-2021:0706, RLSA-2020:3053
Rocky Linux 8 runc 1.0.0-56.rc5.dev.git2abd837.module+el8.4.0+557+48ba8b2f RLSA-2021:0705, RLSA-2020:3053
Rocky Linux 8 skopeo 1:0.1.32-6.git1715c90.module+el8.4.0+557+48ba8b2f RLSA-2021:0706, RLSA-2021:0705
Rocky Linux 8 slirp4netns 0.1-5.dev.gitc4e1bc5.module+el8.4.0+535+5beadeea RLSA-2021:0706, RLSA-2021:0705
Rocky Linux 8 toolbox 0.0.7-1.module+el8.4.0+559+c02fa3b2 RLSA-2021:0706, RLSA-2020:3053
Rocky Linux 8 udica 0.2.1-2.module+el8.4.0+559+c02fa3b2 RLSA-2021:0706, RLSA-2020:3053

Oracle Linux

ReleasePackageFixed inAdvisory
Oracle Linux 8 buildah 1.5-8.gite94b4f9.0.1.module+el8.3.0+9668+293abd4d ELSA-2021-0706, ELSA-2021-0705
Oracle Linux 8 buildah-tests 1.11.6-8.0.1.module+el8.3.0+9670+b9fad87d ELSA-2021-0706
Oracle Linux 8 cockpit-podman 11-1.module+el8.3.0+9670+b9fad87d ELSA-2021-0706
Oracle Linux 8 conmon 2:2.0.15-1.module+el8.3.0+9670+b9fad87d ELSA-2021-0706
Oracle Linux 8 container-selinux 2:2.124.0-1.gitf958d0c.module+el8.3.0+9668+293abd4d ELSA-2021-0706, ELSA-2021-0705
Oracle Linux 8 containernetworking-plugins 0.7.4-4.git9ebe139.module+el8.3.0+9668+293abd4d ELSA-2021-0706, ELSA-2021-0705
Oracle Linux 8 crit +2 3.12-9.module+el8.3.0+9668+293abd4d ELSA-2021-0706, ELSA-2021-0705
Oracle Linux 8 fuse-overlayfs 0.3-5.module+el8.3.0+9668+293abd4d ELSA-2021-0706, ELSA-2021-0705
Oracle Linux 8 oci-systemd-hook 1:0.1.15-2.git2d0b8a3.module+el8.3.0+9668+293abd4d ELSA-2021-0705
Oracle Linux 8 oci-umount 2:2.3.4-2.git87f9237.module+el8.3.0+9668+293abd4d ELSA-2021-0705
Oracle Linux 8 podman +1 1.0.0-8.git921f98f.module+el8.3.0+9668+293abd4d ELSA-2021-0706, ELSA-2021-0705
Oracle Linux 8 podman-tests +1 1.6.4-26.0.1.module+el8.3.0+9670+b9fad87d ELSA-2021-0706
Oracle Linux 8 python-podman-api 1.2.0-0.2.gitd0a45fe.module+el8.3.0+9670+b9fad87d ELSA-2021-0706
Oracle Linux 8 runc 1.0.0-56.rc5.dev.git2abd837.module+el8.3.0+9668+293abd4d ELSA-2021-0706, ELSA-2021-0705
Oracle Linux 8 skopeo +1 1:0.1.32-6.git1715c90.0.1.module+el8.3.0+9668+293abd4d ELSA-2021-0706, ELSA-2021-0705
Oracle Linux 8 skopeo-tests 1:0.1.41-4.0.1.module+el8.3.0+9670+b9fad87d ELSA-2021-0706
Oracle Linux 8 slirp4netns 0.1-5.dev.gitc4e1bc5.module+el8.3.0+9668+293abd4d ELSA-2021-0706, ELSA-2021-0705
Oracle Linux 8 udica 0.2.1-2.module+el8.3.0+9670+b9fad87d ELSA-2021-0706

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/containers/libpod < 1.7.0 1.7.0 GHSA-9h63-7qf6-mv6r

Advisories 13

References