CVE-2020-14370: Github.com/containers/podman/v2 Information Disclosure Vulnerability

MODERATE
Advisory Identifier: GHSA-c3wv-qmjj-45r6
CVSS 5.3
CWE-212 CWE-200
Published
Advisory Summary

CVE-2020-14370 is a MODERATE (CVSS 5.3) information disclosure vulnerability (CWE-212: Improper Removal of Sensitive Information Before Storage or Transfer) affecting Github.com/containers/podman/v2 libraries in the Go ecosystem. The issue involves information disclosure in podman. Remediation is available by upgrading affected packages to version 2.0.5.

CVE-2020-14370 at a Glance

CVE Identifier CVE-2020-14370
GHSA Identifier GHSA-c3wv-qmjj-45r6
Severity MODERATE
CVSS v3.1 Base Score 5.3
CWE Classification CWE-212: Improper Removal of Sensitive Information Before Storage or Transfer
Affected Product Github.com/containers/podman/v2
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 5.3

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2020-14370

To remediate this vulnerability, upgrade all affected Github.com/containers/podman/v2 dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

github.com/containers/podman/v2 fixed: 2.0.5
Upgrade github.com/containers/podman/v2 to 2.0.5
Verify Direct and Transitive Dependencies

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/v2

How to Check if You Are Affected

To determine whether your application is affected by CVE-2020-14370, inspect your project dependencies for Github.com/containers/podman/v2:

inspect dependencies for github.com/containers/podman/v2

Analyze the terminal output to locate any version of Github.com/containers/podman/v2 in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.0.5), 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-212: Improper Removal of Sensitive Information Before Storage or Transfer, where the product stores, transfers, or shares a resource that contains sensitive information, but it does not properly remove that information before the product makes the resource available to unauthorized actors. In Github.com/containers/podman/v2, 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

An information disclosure vulnerability was found in containers/podman in versions before 2.0.5. When using the deprecated Varlink API or the Docker-compatible REST API, if multiple containers are created in a short duration, the environment variables from the first container will get leaked into subsequent containers. An attacker who has control over the subsequent containers could use this flaw to gain access to sensitive information stored in such variables.

CVE-2020-14370 Affected Github.com/containers/podman/v2 Versions

1 component(s)
Fixed Versions:
2.0.5
Product / Package Ecosystem Affected Versions Fixed Version
github.com/containers/podman/v2
Go
< 2.0.5
2.0.5

References

Frequently Asked Questions

What is CVE-2020-14370?
CVE-2020-14370 is a security vulnerability in Github.com/containers/podman/v2 involving Information disclosure in podman under CWE-212: Improper Removal of Sensitive Information Before Storage or Transfer.
Which Github.com/containers/podman/v2 versions are affected?
Affected versions include releases prior to 2.0.5 across affected packages: github.com/containers/podman/v2.
What version fixes CVE-2020-14370?
Upgrading to 2.0.5 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/containers/podman/v2 affected?
Yes, github.com/containers/podman/v2 is affected in releases prior to 2.0.5. Upgrade your dependency to 2.0.5 or later.
What is the CVSS score of CVE-2020-14370?
CVE-2020-14370 has a CVSS v3.1 base score of 5.3 (MODERATE) with vector string CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2020-14370?
CVE-2020-14370 is classified under CWE-212: Improper Removal of Sensitive Information Before Storage or Transfer (The product stores, transfers, or shares a resource that contains sensitive information, but it does not properly remove that information before the product makes the resource available to unauthorized actors.).
How can I check Go dependencies for CVE-2020-14370?
Run the dependency tree command: 'inspect dependencies for github.com/containers/podman/v2'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-c3wv-qmjj-45r6",
  "modified" : "2024-04-24T21:42:22Z",
  "published" : "2024-04-24T21:42:22Z",
  "aliases" : [ "CVE-2020-14370" ],
  "summary" : "Information disclosure in podman",
  "details" : "An information disclosure vulnerability was found in containers/podman in versions before 2.0.5. When using the deprecated Varlink API or the Docker-compatible REST API, if multiple containers are created in a short duration, the environment variables from the first container will get leaked into subsequent containers. An attacker who has control over the subsequent containers could use this flaw to gain access to sensitive information stored in such variables.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/containers/podman/v2"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.0.5"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-14370"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/containers/podman/commit/a7e864e6e7de894d4edde4fff00e53dc6a0b5074"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1874268"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/containers/podman"
  }, {
    "type" : "WEB",
    "url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/G6BPCZX4ASKNONL3MSCK564IVXNYSKLP"
  }, {
    "type" : "WEB",
    "url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/Y74V7HGQBNLT6XECCSNZNFZIB7G7XSAR"
  }, {
    "type" : "WEB",
    "url" : "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/Z4Y2FSGQWP4AFT5AZ6UBN6RKHVXUBRFV"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-200", "CWE-212" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2024-04-24T21:42:22Z",
    "nvd_published_at" : "2020-09-23T13:15:00Z"
  }
}