CVE-2021-4024
A flaw was found in podman. The `podman machine` function (used to create and manage Podman virtual machine containing a Podman process) spawns a `gvproxy` process on the host system. The `gvproxy` API is accessible on port 7777 on all IP addresses on the host. If that port is open on the host's firewall, an attacker can potentially use the `gvproxy` API to forward ports on the host to ports in the VM, making private services on the VM accessible to the network. This issue could be also used to interrupt the host's services by forwarding all ports to the VM.
What to do
Fixed builds are available from AlmaLinux, Alpine, Debian, Go, Red Hat, Rocky Linux: see the table below for the fixed version per release.
Go, Ubuntu have 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
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.
| Release | Package | Status | Fixed version | Advisory |
|---|---|---|---|---|
| Ubuntu 24.04 | libpod | Fix pending | UBUNTU-CVE-2021-4024 | |
| Ubuntu 22.04 | libpod | Fix pending | UBUNTU-CVE-2021-4024 | |
| Debian 12 | libpod | Fixed | 3.4.3+ds1-1 | DEBIAN-CVE-2021-4024 |
| Red Hat Enterprise Linux 9 | podman | Fixed | 2:4.2.0-3.el9 | RHSA-2022:7954 |
| Red Hat Enterprise Linux 9 | podman-docker | Fixed | 2:4.2.0-3.el9 | RHSA-2022:7954 |
| Red Hat Enterprise Linux 9 | podman-gvproxy | Fixed | 2:4.2.0-3.el9 | RHSA-2022:7954 |
| Red Hat Enterprise Linux 9 | podman-plugins | Fixed | 2:4.2.0-3.el9 | RHSA-2022:7954 |
| Red Hat Enterprise Linux 9 | podman-remote | Fixed | 2:4.2.0-3.el9 | RHSA-2022:7954 |
| Red Hat Enterprise Linux 9 | podman-tests | Fixed | 2:4.2.0-3.el9 | RHSA-2022:7954 |
| Red Hat Enterprise Linux 8 | aardvark-dns | Fixed | 2:1.10.1-2.module+el8.10.0+22417+2fb00970 | RHSA-2024:10289 |
| Red Hat Enterprise Linux 8 | buildah | Fixed | 2:1.33.11-1.module+el8.10.0+22417+2fb00970 | RHSA-2024:10289 |
| Red Hat Enterprise Linux 8 | buildah-tests | Fixed | 2:1.33.11-1.module+el8.10.0+22417+2fb00970 | RHSA-2024:10289 |
| Red Hat Enterprise Linux 8 | cockpit-podman | Fixed | 0:84.1-1.module+el8.10.0+22417+2fb00970 | RHSA-2024:10289 |
| Red Hat Enterprise Linux 8 | conmon | Fixed | 3:2.1.10-1.module+el8.10.0+22417+2fb00970 | RHSA-2024:10289 |
| Red Hat Enterprise Linux 8 | container-selinux | Fixed | 2:2.229.0-2.module+el8.10.0+22417+2fb00970 | RHSA-2024:10289 |
| Red Hat Enterprise Linux 8 | containernetworking-plugins | Fixed | 1:1.4.0-5.module+el8.10.0+22417+2fb00970 | RHSA-2024:10289 |
| Red Hat Enterprise Linux 8 | containers-common | Fixed | 2:1-82.module+el8.10.0+22417+2fb00970 | RHSA-2024:10289 |
| Red Hat Enterprise Linux 8 | crit | Fixed | 0:3.18-5.module+el8.10.0+22417+2fb00970 | RHSA-2024:10289 |
| Red Hat Enterprise Linux 8 | criu | Fixed | 0:3.18-5.module+el8.10.0+22417+2fb00970 | RHSA-2024:10289 |
| Red Hat Enterprise Linux 8 | criu-devel | Fixed | 0:3.18-5.module+el8.10.0+22417+2fb00970 | RHSA-2024:10289 |
| Red Hat Enterprise Linux 8 | criu-libs | Fixed | 0:3.18-5.module+el8.10.0+22417+2fb00970 | RHSA-2024:10289 |
| Red Hat Enterprise Linux 8 | crun | Fixed | 0:1.14.3-2.module+el8.10.0+22417+2fb00970 | RHSA-2024:10289 |
| Red Hat Enterprise Linux 8 | fuse-overlayfs | Fixed | 0:1.13-1.module+el8.10.0+22417+2fb00970 | RHSA-2024:10289 |
| Red Hat Enterprise Linux 8 | libslirp | Fixed | 0:4.4.0-2.module+el8.10.0+22417+2fb00970 | RHSA-2024:10289 |
| Red Hat Enterprise Linux 8 | libslirp-devel | Fixed | 0:4.4.0-2.module+el8.10.0+22417+2fb00970 | RHSA-2024:10289 |
| Red Hat Enterprise Linux 8 | netavark | Fixed | 2:1.10.3-1.module+el8.10.0+22417+2fb00970 | RHSA-2024:10289 |
| Red Hat Enterprise Linux 8 | oci-seccomp-bpf-hook | Fixed | 0:1.2.10-1.module+el8.10.0+22417+2fb00970 | RHSA-2024:10289 |
| Red Hat Enterprise Linux 8 | podman | Fixed | 4:4.9.4-18.module+el8.10.0+22417+2fb00970 | RHSA-2024:10289 |
| Red Hat Enterprise Linux 8 | podman-catatonit | Fixed | 4:4.9.4-18.module+el8.10.0+22417+2fb00970 | RHSA-2024:10289 |
| Red Hat Enterprise Linux 8 | podman-docker | Fixed | 4:4.9.4-18.module+el8.10.0+22417+2fb00970 | RHSA-2024:10289 |
| Red Hat Enterprise Linux 8 | podman-gvproxy | Fixed | 4:4.9.4-18.module+el8.10.0+22417+2fb00970 | RHSA-2024:10289 |
| Red Hat Enterprise Linux 8 | podman-manpages | Not affected | ||
| Red Hat Enterprise Linux 8 | podman-plugins | Fixed | 4:4.9.4-18.module+el8.10.0+22417+2fb00970 | RHSA-2024:10289 |
| Red Hat Enterprise Linux 8 | podman-remote | Fixed | 4:4.9.4-18.module+el8.10.0+22417+2fb00970 | RHSA-2024:10289 |
| Red Hat Enterprise Linux 8 | podman-tests | Fixed | 4:4.9.4-18.module+el8.10.0+22417+2fb00970 | RHSA-2024:10289 |
| Red Hat Enterprise Linux 8 | python-podman | Fixed | 0:4.9.0-3.module+el8.10.0+22417+2fb00970 | RHSA-2024:10289 |
| Red Hat Enterprise Linux 8 | python3-criu | Fixed | 0:3.18-5.module+el8.10.0+22417+2fb00970 | RHSA-2024:10289 |
| Red Hat Enterprise Linux 8 | python3-podman | Fixed | 0:4.9.0-3.module+el8.10.0+22417+2fb00970 | RHSA-2024:10289 |
| Red Hat Enterprise Linux 8 | runc | Fixed | 1:1.1.12-5.module+el8.10.0+22417+2fb00970 | RHSA-2024:10289 |
| Red Hat Enterprise Linux 8 | skopeo | Fixed | 2:1.14.5-3.module+el8.10.0+22417+2fb00970 | RHSA-2024:10289 |
| Red Hat Enterprise Linux 8 | skopeo-tests | Fixed | 2:1.14.5-3.module+el8.10.0+22417+2fb00970 | RHSA-2024:10289 |
| Red Hat Enterprise Linux 8 | slirp4netns | Fixed | 0:1.2.3-1.module+el8.10.0+22417+2fb00970 | RHSA-2024:10289 |
| Red Hat Enterprise Linux 8 | toolbox | Fixed | 0:0.0.99.5-2.module+el8.10.0+22417+2fb00970 | RHSA-2024:10289 |
| Red Hat Enterprise Linux 8 | toolbox-tests | Fixed | 0:0.0.99.5-2.module+el8.10.0+22417+2fb00970 | RHSA-2024:10289 |
| Red Hat Enterprise Linux 8 | udica | Fixed | 0:0.2.6-21.module+el8.10.0+22417+2fb00970 | RHSA-2024:10289 |
| Red Hat Enterprise Linux 7 | podman | Not affected | ||
| AlmaLinux 9 | podman | Fixed | 2:4.2.0-3.el9 | ALSA-2022:7954 |
| AlmaLinux 9 | podman-docker | Fixed | 2:4.2.0-3.el9 | ALSA-2022:7954 |
| AlmaLinux 9 | podman-gvproxy | Fixed | 2:4.2.0-3.el9 | ALSA-2022:7954 |
| AlmaLinux 9 | podman-plugins | Fixed | 2:4.2.0-3.el9 | ALSA-2022:7954 |
| AlmaLinux 9 | podman-remote | Fixed | 2:4.2.0-3.el9 | ALSA-2022:7954 |
| AlmaLinux 9 | podman-tests | Fixed | 2:4.2.0-3.el9 | ALSA-2022:7954 |
| AlmaLinux 8 | aardvark-dns | Fixed | 2:1.10.1-2.module_el8.10.0+3926+f12484f5 | ALSA-2024:10289 |
| AlmaLinux 8 | buildah | Fixed | 2:1.33.11-1.module_el8.10.0+3926+f12484f5 | ALSA-2024:10289 |
| AlmaLinux 8 | buildah-tests | Fixed | 2:1.33.11-1.module_el8.10.0+3926+f12484f5 | ALSA-2024:10289 |
| AlmaLinux 8 | cockpit-podman | Fixed | 84.1-1.module_el8.10.0+3876+e55593a8 | ALSA-2024:10289 |
| AlmaLinux 8 | conmon | Fixed | 3:2.1.10-1.module_el8.10.0+3909+6e1c1eb7 | ALSA-2024:10289 |
| AlmaLinux 8 | container-selinux | Fixed | 2:2.229.0-2.module_el8.10.0+3909+6e1c1eb7 | ALSA-2024:10289 |
| AlmaLinux 8 | containernetworking-plugins | Fixed | 1:1.4.0-5.module_el8.10.0+3876+e55593a8 | ALSA-2024:10289 |
| AlmaLinux 8 | containers-common | Fixed | 2:1-82.module_el8.10.0+3876+e55593a8 | ALSA-2024:10289 |
| AlmaLinux 8 | crit | Fixed | 3.18-5.module_el8.10.0+3858+6ad51f9f | ALSA-2024:10289 |
| AlmaLinux 8 | criu | Fixed | 3.18-5.module_el8.10.0+3909+6e1c1eb7 | ALSA-2024:10289 |
| AlmaLinux 8 | criu-devel | Fixed | 3.18-5.module_el8.10.0+3858+6ad51f9f | ALSA-2024:10289 |
| AlmaLinux 8 | criu-libs | Fixed | 3.18-5.module_el8.10.0+3909+6e1c1eb7 | ALSA-2024:10289 |
| AlmaLinux 8 | crun | Fixed | 1.14.3-2.module_el8.10.0+3926+f12484f5 | ALSA-2024:10289 |
| AlmaLinux 8 | fuse-overlayfs | Fixed | 1.13-1.module_el8.10.0+3792+03eaed9c | ALSA-2024:10289 |
| AlmaLinux 8 | libslirp | Fixed | 4.4.0-2.module_el8.10.0+3876+e55593a8 | ALSA-2024:10289 |
| AlmaLinux 8 | libslirp-devel | Fixed | 4.4.0-2.module_el8.10.0+3926+f12484f5 | ALSA-2024:10289 |
| AlmaLinux 8 | netavark | Fixed | 2:1.10.3-1.module_el8.10.0+3901+4b80ecd7 | ALSA-2024:10289 |
| AlmaLinux 8 | oci-seccomp-bpf-hook | Fixed | 1.2.10-1.module_el8.10.0+3876+e55593a8 | ALSA-2024:10289 |
| AlmaLinux 8 | podman | Fixed | 4:4.9.4-18.module_el8.10.0+3926+f12484f5 | ALSA-2024:10289 |
| AlmaLinux 8 | podman-catatonit | Fixed | 4:4.9.4-18.module_el8.10.0+3926+f12484f5 | ALSA-2024:10289 |
| AlmaLinux 8 | podman-docker | Fixed | 4:4.9.4-18.module_el8.10.0+3926+f12484f5 | ALSA-2024:10289 |
| AlmaLinux 8 | podman-gvproxy | Fixed | 4:4.9.4-18.module_el8.10.0+3926+f12484f5 | ALSA-2024:10289 |
| AlmaLinux 8 | podman-plugins | Fixed | 4:4.9.4-18.module_el8.10.0+3926+f12484f5 | ALSA-2024:10289 |
| AlmaLinux 8 | podman-remote | Fixed | 4:4.9.4-18.module_el8.10.0+3926+f12484f5 | ALSA-2024:10289 |
| AlmaLinux 8 | podman-tests | Fixed | 4:4.9.4-18.module_el8.10.0+3926+f12484f5 | ALSA-2024:10289 |
| AlmaLinux 8 | python3-criu | Fixed | 3.18-5.module_el8.10.0+3876+e55593a8 | ALSA-2024:10289 |
| AlmaLinux 8 | python3-podman | Fixed | 4.9.0-3.module_el8.10.0+3926+f12484f5 | ALSA-2024:10289 |
| AlmaLinux 8 | runc | Fixed | 1:1.1.12-5.module_el8.10.0+3909+6e1c1eb7 | ALSA-2024:10289 |
| AlmaLinux 8 | skopeo | Fixed | 2:1.14.5-3.module_el8.10.0+3926+f12484f5 | ALSA-2024:10289 |
| AlmaLinux 8 | skopeo-tests | Fixed | 2:1.14.5-3.module_el8.10.0+3901+4b80ecd7 | ALSA-2024:10289 |
| AlmaLinux 8 | slirp4netns | Fixed | 1.2.3-1.module_el8.10.0+3901+4b80ecd7 | ALSA-2024:10289 |
| AlmaLinux 8 | toolbox | Fixed | 0.0.99.5-2.module_el8.10.0+3858+6ad51f9f | ALSA-2024:10289 |
| AlmaLinux 8 | toolbox-tests | Fixed | 0.0.99.5-2.module_el8.10.0+3909+6e1c1eb7 | ALSA-2024:10289 |
| AlmaLinux 8 | udica | Fixed | 0.2.6-21.module_el8.10.0+3926+f12484f5 | ALSA-2024:10289 |
| Rocky Linux 8 | aardvark-dns | Fixed | 2:1.10.1-2.module+el8.10.0+1874+ce489889 | RLSA-2024:10289 |
| Rocky Linux 8 | buildah | Fixed | 2:1.33.11-1.module+el8.10.0+1896+b18fa106 | RLSA-2024:10289 |
| Rocky Linux 8 | cockpit-podman | Fixed | 0:84.1-1.module+el8.10.0+1815+5fe7415e | RLSA-2024:10289 |
| Rocky Linux 8 | conmon | Fixed | 3:2.1.10-1.module+el8.10.0+1815+5fe7415e | RLSA-2024:10289 |
| Rocky Linux 8 | container-selinux | Fixed | 2:2.229.0-2.module+el8.10.0+1815+5fe7415e | RLSA-2024:10289 |
| Rocky Linux 8 | containernetworking-plugins | Fixed | 1:1.4.0-5.module+el8.10.0+1843+6892ab28 | RLSA-2024:10289 |
| Rocky Linux 8 | containers-common | Fixed | 2:1-82.module+el8.10.0+1843+6892ab28 | RLSA-2024:10289 |
| Rocky Linux 8 | criu | Fixed | 0:3.18-5.module+el8.10.0+1815+5fe7415e | RLSA-2024:10289 |
| Rocky Linux 8 | crun | Fixed | 0:1.14.3-2.module+el8.10.0+1815+5fe7415e | RLSA-2024:10289 |
| Rocky Linux 8 | fuse-overlayfs | Fixed | 0:1.13-1.module+el8.10.0+1815+5fe7415e | RLSA-2024:10289 |
| Rocky Linux 8 | libslirp | Fixed | 0:4.4.0-2.module+el8.10.0+1815+5fe7415e | RLSA-2024:10289 |
| Rocky Linux 8 | netavark | Fixed | 2:1.10.3-1.module+el8.10.0+1815+5fe7415e | RLSA-2024:10289 |
| Rocky Linux 8 | oci-seccomp-bpf-hook | Fixed | 0:1.2.10-1.module+el8.10.0+1815+5fe7415e | RLSA-2024:10289 |
| Rocky Linux 8 | podman | Fixed | 4:4.9.4-18.module+el8.10.0+1896+b18fa106 | RLSA-2024:10289 |
| Rocky Linux 8 | python-podman | Fixed | 0:4.9.0-3.module+el8.10.0+1896+b18fa106 | RLSA-2024:10289 |
| Rocky Linux 8 | runc | Fixed | 1:1.1.12-5.module+el8.10.0+1874+ce489889 | RLSA-2024:10289 |
| Rocky Linux 8 | skopeo | Fixed | 2:1.14.5-3.module+el8.10.0+1843+6892ab28 | RLSA-2024:10289 |
| Rocky Linux 8 | slirp4netns | Fixed | 0:1.2.3-1.module+el8.10.0+1815+5fe7415e | RLSA-2024:10289 |
| Rocky Linux 8 | toolbox | Fixed | 0:0.0.99.5-2.module+el8.10.0+1815+5fe7415e.rocky.0.2.rocky.0.2 | RLSA-2024:10289 |
| Rocky Linux 8 | udica | Fixed | 0:0.2.6-21.module+el8.10.0+1815+5fe7415e | RLSA-2024:10289 |
| Alpine Linux 3.24 | podman | Fixed | 3.4.4-r0 | ALPINE-CVE-2021-4024 |
| Alpine Linux 3.23 | podman | Fixed | 3.4.4-r0 | ALPINE-CVE-2021-4024 |
| Alpine Linux 3.22 | podman | Fixed | 3.4.4-r0 | ALPINE-CVE-2021-4024 |
| Alpine Linux 3.21 | podman | Fixed | 3.4.4-r0 | ALPINE-CVE-2021-4024 |
| Alpine Linux 3.20 | podman | Fixed | 3.4.4-r0 | ALPINE-CVE-2021-4024 |
| Alpine Linux 3.19 | podman | Fixed | 3.4.4-r0 | ALPINE-CVE-2021-4024 |
| Alpine Linux 3.18 | podman | Fixed | 3.4.4-r0 | ALPINE-CVE-2021-4024 |
| Alpine Linux 3.17 | podman | Fixed | 3.4.4-r0 | ALPINE-CVE-2021-4024 |
| Alpine Linux 3.16 | podman | Fixed | 3.4.4-r0 | ALPINE-CVE-2021-4024 |
| Alpine Linux 3.15 | podman | Fixed | 3.4.4-r0 | ALPINE-CVE-2021-4024 |
| Go library | github.com/containers/podman | Fix pending | GO-2022-0281 | |
| Go library | github.com/containers/podman/v2 | Fix pending | GO-2022-0281 | |
| Go library | github.com/containers/podman/v3 | Fixed | 3.4.3 | GHSA-3cf2-x423-x582 |
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.
- podman: affected: podman 3.4.3
Vendor advisories:
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/… (vendor-advisory)
References
- https://bugzilla.redhat.com/show_bug.cgi?id=2026675%2C
- https://github.com/containers/podman/releases/tag/v3.4.3
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/QFFVJ6S3ZRMPDYB7KYAWEMDHXFZYQPU3/
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.