CVE-2021-20199: Github.com/containers/podman/v3 Podman Origin Validation Error Vulnerability
MODERATECVE-2021-20199 is a MODERATE (CVSS 5.9) podman origin validation error vulnerability (CWE-200: Exposure of Sensitive Information to an Unauthorized Actor) affecting Github.com/containers/podman/v3 libraries in the Go ecosystem. The issue involves podman origin validation error. Remediation is available by upgrading affected packages to version 3.0.0.
CVE-2021-20199 at a Glance
Security Impact
CVSS: 5.9
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N).
How to Fix CVE-2021-20199
To remediate this vulnerability, upgrade all affected Github.com/containers/podman/v3 dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
Upgrade github.com/containers/podman/v3 to 3.0.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
inspect dependencies for github.com/containers/podman/v3
How to Check if You Are Affected
To determine whether your application is affected by CVE-2021-20199, inspect your project dependencies for Github.com/containers/podman/v3:
inspect dependencies for github.com/containers/podman/v3
Analyze the terminal output to locate any version of Github.com/containers/podman/v3 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 3.0.0), your application is affected.
Note: Verify declared build manifests and deployed runtime container environments.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-200: Exposure of Sensitive Information to an Unauthorized Actor, where the product exposes sensitive information to an actor that is not explicitly authorized to have access to that information. In Github.com/containers/podman/v3, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2021-20199 Affected Github.com/containers/podman/v3 Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/containers/podman/v3
|
Go |
< 3.0.0
|
3.0.0
|
References
Frequently Asked Questions
What is CVE-2021-20199?
Which Github.com/containers/podman/v3 versions are affected?
What version fixes CVE-2021-20199?
Is github.com/containers/podman/v3 affected?
What is the CVSS score of CVE-2021-20199?
What CWE is associated with CVE-2021-20199?
How can I check Go dependencies for CVE-2021-20199?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-grh6-q6m2-rh72",
"modified" : "2023-09-18T19:30:49Z",
"published" : "2021-05-18T21:07:49Z",
"aliases" : [ "CVE-2021-20199" ],
"summary" : "Podman Origin Validation Error",
"details" : "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 versions from 1.8.0 to 3.0.0.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/containers/podman/v3"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.0.0"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2021-20199"
}, {
"type" : "WEB",
"url" : "https://github.com/containers/podman/issues/5138"
}, {
"type" : "WEB",
"url" : "https://github.com/containers/podman/pull/9052"
}, {
"type" : "WEB",
"url" : "https://github.com/containers/podman/pull/9225"
}, {
"type" : "WEB",
"url" : "https://github.com/rootless-containers/rootlesskit/pull/206"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1919050"
}, {
"type" : "WEB",
"url" : "https://github.com/containers/podman/releases/tag/v3.0.0-rc3"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-200", "CWE-346" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2021-05-18T21:02:35Z",
"nvd_published_at" : null
}
}