CVE-2021-20199 Podman Origin Validation Error
Podman rootless containers spoof localhost IPs, allowing attackers to bypass authentication in applications trusting local connections.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2021-20199?
CVE-2021-20199 is a medium-severity authentication bypass vulnerability in podman, published on 2 Feb 2021. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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.
Weakness: CWE-346
Which versions are affected by CVE-2021-20199?
2 open source packages ship an affected version, including github.com/containers/podman/v3. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/containers/podman/v3 Go | All versions | 3.0.0 |
github.com/containers/podman/v3 Go | All versions | 3.0.0 |
Products include Podman Project Podman.
How do I fix CVE-2021-20199?
Upgrade github.com/containers/podman/v3 to 3.0.0 or later.
Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.
Is CVE-2021-20199 being exploited?
There is no known exploitation of CVE-2021-20199 in the wild and no public exploit code.
Other vulnerabilities in podman
- CVE-2026-57231 Podman: Malformed Image can trick podman run into leaking host environment variables into the container
- CVE-2022-2738 Use after free in podman
- CVE-2022-2989 Podman's incorrect handling of the supplementary groups may lead to data disclosure, modification
- CVE-2021-20188 Improper Authorization in github.com/containers/libpod
- CVE-2023-0778 Podman Time-of-check Time-of-use (TOCTOU) Race Condition
Sources
Also known as AZL-7329, DEBIAN-CVE-2021-20199, GHSA-grh6-q6m2-rh72, UBUNTU-CVE-2021-20199.