CVE-2021-4024: Github.com/containers/podman/v3 Exposure Of Sensitive Information To Vulnerability
MODERATECVE-2021-4024 is a MODERATE (CVSS 6.5) exposure of sensitive information to 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 exposure of sensitive information to an unauthorized actor and origin validation error in podman. Remediation is available by upgrading affected packages to version 3.4.3.
CVE-2021-4024 at a Glance
Security Impact
CVSS: 6.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L).
How to Fix CVE-2021-4024
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.4.3
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-4024, 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.4.3), 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-4024 Affected Github.com/containers/podman/v3 Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
github.com/containers/podman/v3
|
Go |
< 3.4.3
|
3.4.3
|
References
Frequently Asked Questions
What is CVE-2021-4024?
Which Github.com/containers/podman/v3 versions are affected?
What version fixes CVE-2021-4024?
Is github.com/containers/podman/v3 affected?
What is the CVSS score of CVE-2021-4024?
What CWE is associated with CVE-2021-4024?
How can I check Go dependencies for CVE-2021-4024?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-3cf2-x423-x582",
"modified" : "2022-02-09T18:28:05Z",
"published" : "2022-01-06T21:12:50Z",
"aliases" : [ "CVE-2021-4024" ],
"summary" : "Exposure of Sensitive Information to an Unauthorized Actor and Origin Validation Error in podman",
"details" : "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.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "Go",
"name" : "github.com/containers/podman/v3"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "3.4.3"
} ]
} ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2021-4024"
}, {
"type" : "WEB",
"url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2026675,"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/containers/podman"
}, {
"type" : "WEB",
"url" : "https://github.com/containers/podman/releases/tag/v3.4.3"
}, {
"type" : "WEB",
"url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QFFVJ6S3ZRMPDYB7KYAWEMDHXFZYQPU3"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-200", "CWE-346" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2022-01-05T17:44:04Z",
"nvd_published_at" : "2021-12-23T20:15:00Z"
}
}