CVE-2021-20199 Podman Origin Validation Error

Medium 5.9 Published Updated

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.

PackageAffectedFixed in
github.com/containers/podman/v3 GoAll versions3.0.0
github.com/containers/podman/v3 GoAll versions3.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.

Sources

Also known as AZL-7329, DEBIAN-CVE-2021-20199, GHSA-grh6-q6m2-rh72, UBUNTU-CVE-2021-20199.

Is CVE-2021-20199 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free