cve.bz

CVE-2021-20199 podman project podman: Origin Validation Error

5.9 mediumExploit referenceEPSS 1.1%Fix available

Medium (5.9) in podman project podman. EPSS 1.1% estimated probability of exploitation activity in the next 30 days. Fixed in github.com/containers/podman/v3 3.0.0.

On this page
Rootless containers run with Podman, receive all traffic with a source IP address of 127.0.0.1 (including from remote hosts). This impacts containerized applications that trust localhost (127.0.01) connections by default and do not require authentication. This issue affects Podman 1.8.0 onwards.

Severity

CVSS 3.1

5.9 medium
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N
EPSS
1.1% (unchanged from 1.1% a week ago; 1.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 67th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-346 Origin Validation Error
OWASP Top 10
A07:2025 Authentication Failures
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-20199 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-20199?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-20199?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-20199 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:podmanfrom 1.8.0 before 3.0.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-grh6-q6m2-rh72Gogithub.com/containers/podman/v3<3.0.03.0.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12libpod3.0.0~rc2+dfsg1-2DEBIAN-CVE-2021-20199
Debian12, 13, 14rootlesskit0.12.0-1DEBIAN-CVE-2021-20199
UbuntuPro:22.04:LTS, Pro:24.04:LTSlibpodno fix listedUBUNTU-CVE-2021-20199
Red Hatenterprise_linux:8::appstreambuildah, buildah-tests, buildah-debuginfo and 2 more0:1.19.7-1.module+el8.4.0+10607+f4da7515RHSA-2021:1796
Red Hatenterprise_linux:8::appstreamcockpit-podman0:29-2.module+el8.4.0+10607+f4da7515RHSA-2021:1796
Red Hatenterprise_linux:8::appstreamconmon, conmon-debuginfo, conmon-debugsource2:2.0.26-1.module+el8.4.0+10607+f4da7515RHSA-2021:1796
Red Hatenterprise_linux:8::appstreamcontainer-selinux2:2.158.0-1.module+el8.4.0+10607+f4da7515RHSA-2021:1796
Red Hatenterprise_linux:8::appstreamcontainernetworking-plugins, containernetworking-plugins-debuginfo, containernetworking-plugins-debugsource0:0.9.1-1.module+el8.4.0+10607+f4da7515RHSA-2021:1796
Red Hatenterprise_linux:8::appstreamcrit, criu, python3-criu and 2 more0:3.15-1.module+el8.4.0+10607+f4da7515RHSA-2021:1796
Red Hatenterprise_linux:8::appstreamcrun, crun-debuginfo, crun-debugsource0:0.18-1.module+el8.4.0+10607+f4da7515RHSA-2021:1796
Red Hatenterprise_linux:8::appstreamfuse-overlayfs, fuse-overlayfs-debuginfo, fuse-overlayfs-debugsource0:1.4.0-2.module+el8.4.0+10607+f4da7515RHSA-2021:1796
Red Hatenterprise_linux:8::appstreamlibslirp, libslirp-devel, libslirp-debuginfo and 1 more0:4.3.1-1.module+el8.4.0+10607+f4da7515RHSA-2021:1796
Red Hatenterprise_linux:8::appstreamoci-seccomp-bpf-hook, oci-seccomp-bpf-hook-debuginfo, oci-seccomp-bpf-hook-debugsource0:1.2.0-2.module+el8.4.0+10607+f4da7515RHSA-2021:1796
Red Hatenterprise_linux:8::appstreampodman, podman-tests, podman-docker and 8 more0:3.0.1-6.module+el8.4.0+10607+f4da7515RHSA-2021:1796
Red Hatenterprise_linux:8::appstreamrunc, runc-debuginfo, runc-debugsource0:1.0.0-70.rc92.module+el8.4.0+10607+f4da7515RHSA-2021:1796
5 more for Red Hat in the JSON and on Red Hat's page.
SUSEEnterprise Storage 6, Enterprise Storage 7, Linux Enterprise High Performance Computing 15 SP1-ESPOS and 12 morelibcontainers-common20210626-150100.3.15.1SUSE-SU-2022:3312-1
SUSEEnterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP3-ESPOS, Linux Enterprise High Performance Computing 15 SP3-LTSS and 4 morepodman4.3.1-150300.9.15.1SUSE-SU-2023:0326-1
SUSELinux Enterprise Micro 5.1, Linux Enterprise Module for Basesystem 15 SP3libcontainers-common20210626-150300.8.3.1SUSE-SU-2022:23018-1
SUSELinux Enterprise Micro 5.1, Linux Enterprise Module for Basesystem 15 SP3libseccomp2.5.3-150300.10.5.1SUSE-SU-2022:23018-1
SUSELinux Enterprise Micro 5.1, Linux Enterprise Module for Containers 15 SP3conmon2.0.30-150300.8.3.1SUSE-SU-2022:23018-1
SUSELinux Enterprise Micro 5.1, Linux Enterprise Module for Containers 15 SP3podman3.4.4-150300.9.3.2SUSE-SU-2022:23018-1
SUSELinux Enterprise Micro 5.3, Linux Enterprise Module for Containers 15 SP4podman4.3.1-150400.4.11.1SUSE-SU-2023:0187-1
openSUSELeap 15.3conmon2.0.30-150300.8.3.1openSUSE-SU-2022:23018-1
openSUSELeap 15.3libcontainers-common20210626-150300.8.3.1openSUSE-SU-2022:23018-1
openSUSELeap 15.3libseccomp2.5.3-150300.10.5.1openSUSE-SU-2022:23018-1
openSUSELeap 15.3podman3.4.4-150300.9.3.2openSUSE-SU-2022:23018-1
openSUSELeap 15.4, Leap Micro 5.3podman4.3.1-150400.4.11.1SUSE-SU-2023:0187-1
openSUSELeap Micro 5.2podman4.3.1-150300.9.15.1SUSE-SU-2023:0326-1
openSUSETumbleweedlibcontainers-common20210626-7.1openSUSE-SU-2024:11757-1
openSUSETumbleweedpodman3.3.1-2.1openSUSE-SU-2024:11177-1
AlmaLinux8cockpit-podman29-2.module_el8.6.0+2876+9ed4eae2ALSA-2021:1796
AlmaLinux8conmon2:2.0.26-1.module_el8.6.0+2876+9ed4eae2ALSA-2021:1796
AlmaLinux8containernetworking-plugins0.9.1-1.module_el8.6.0+2876+9ed4eae2ALSA-2021:1796
AlmaLinux8crit, criu, python3-criu3.15-1.module_el8.6.0+2876+9ed4eae2ALSA-2021:1796
AlmaLinux8fuse-overlayfs1.4.0-2.module_el8.6.0+2876+9ed4eae2ALSA-2021:1796
AlmaLinux8libslirp, libslirp-devel4.3.1-1.module_el8.6.0+2876+9ed4eae2ALSA-2021:1796
AlmaLinux8slirp4netns1.1.8-1.module_el8.6.0+2876+9ed4eae2ALSA-2021:1796
AlmaLinux8udica0.2.4-1.module_el8.6.0+2876+9ed4eae2ALSA-2021:1796
AlmaLinux9podman, podman-tests, podman-docker and 3 more2:4.2.0-3.el9ALSA-2022:7954
Rocky Linux8buildah0:1.19.7-1.module+el8.4.0+558+7340b765RLSA-2021:1796
Rocky Linux8cockpit-podman0:29-2.module+el8.4.0+556+40122d08RLSA-2021:1796
Rocky Linux8cockpit-podman0:29-2.module+el8.5.0+709+440d5e7eRLSA-2021:1796
Rocky Linux8cockpit-podman0:29-2.module+el8.6.0+783+10209741RLSA-2021:1796
Rocky Linux8cockpit-podman0:29-2.module+el8.7.0+1076+9b1c11c1RLSA-2021:1796
Rocky Linux8conmon2:2.0.26-1.module+el8.4.0+558+7340b765RLSA-2021:1796
Rocky Linux8conmon2:2.0.26-1.module+el8.5.0+709+440d5e7eRLSA-2021:1796
Rocky Linux8conmon2:2.0.26-1.module+el8.6.0+783+10209741RLSA-2021:1796
Rocky Linux8container-selinux2:2.158.0-1.module+el8.4.0+558+7340b765RLSA-2021:1796
Rocky Linux8containernetworking-plugins0:0.9.1-1.module+el8.4.0+556+40122d08RLSA-2021:1796
Rocky Linux8containernetworking-plugins0:0.9.1-1.module+el8.5.0+709+440d5e7eRLSA-2021:1796
Rocky Linux8containernetworking-plugins0:0.9.1-1.module+el8.6.0+783+10209741RLSA-2021:1796
26 more for Rocky Linux in the JSON.
Alpinev3.14, v3.15, v3.16 and 8 morepodman3.0.0-r0ALPINE-CVE-2021-20199
Azure Linux2podman4.1.1-1AZL-7329

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; SUSE security data, CC BY 4.0; AlmaLinux's OSV database, MIT; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0; Microsoft's Azure Linux vulnerability data, MIT. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This issue does not affect Podman prior to version 1.8.0. Podman shipped in the following products are therefore not affected:

* Red Hat Enterprise Linux 7 Extras

* Red Hat Enterprise Linux 8 Container Tools stream 1.0

* Red Hat Enterprise Linux 8 Container Tools stream 2.0

* OpenShift Container Platform 3.11

* OpenShift Container Platform 4.1 to 4.5

Red Hat's mitigation

Configure containerized applications to require authentication for connections from all sources, including localhost.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8container-tools:rhel8-8040020210407081426.59631bd5Fixed 2021-05-18RHSA-2021:1796
Red Hat Enterprise Linux 9podman-2:4.2.0-3.el9Fixed 2022-11-15RHSA-2022:7954
Red Hat Enterprise Linux 7podmanNot affected
Red Hat Enterprise Linux 8container-tools:1.0/podmanNot affected
Red Hat Enterprise Linux 8container-tools:2.0/podmanNot affected
Red Hat OpenShift Container Platform 3.11podmanNot affected
Red Hat OpenShift Container Platform 4podmanWill not fix

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-20199.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-346 (16).

References

Check your stackJSON