CVE-2019-10214: Github.com/containers/image Containers/image Library Insufficiently Protects Credentials Vulnerability

MODERATE
Advisory Identifier: GHSA-85p9-j7c9-v4gr
CVSS 6.4
CWE-522
Published
Advisory Summary

CVE-2019-10214 is a MODERATE (CVSS 6.4) containers/image library insufficiently protects credentials vulnerability (CWE-522: Insufficiently Protected Credentials) affecting Github.com/containers/image libraries in the Go ecosystem. The issue involves containers/image library insufficiently protects credentials. Remediation is available by upgrading affected packages to version 3.0.0.

CVE-2019-10214 at a Glance

CVE Identifier CVE-2019-10214
GHSA Identifier GHSA-85p9-j7c9-v4gr
Severity MODERATE
CVSS v3.1 Base Score 6.4
CWE Classification CWE-522: Insufficiently Protected Credentials
Affected Product Github.com/containers/image
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 6.4

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

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

How to Fix CVE-2019-10214

To remediate this vulnerability, upgrade all affected Github.com/containers/image 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/image fixed: 3.0.0
Upgrade github.com/containers/image to 3.0.0
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/image

How to Check if You Are Affected

To determine whether your application is affected by CVE-2019-10214, inspect your project dependencies for Github.com/containers/image:

inspect dependencies for github.com/containers/image

Analyze the terminal output to locate any version of Github.com/containers/image 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-522: Insufficiently Protected Credentials, where the product transmits or stores authentication credentials, but it uses an insecure method that is susceptible to unauthorized interception and/or retrieval. In Github.com/containers/image, 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

The containers/image library used by the container tools Podman, Buildah, and Skopeo in Red Hat Enterprise Linux version 8 and CRI-O in OpenShift Container Platform, does not enforce TLS connections to the container registry authorization service. An attacker could use this vulnerability to launch a MiTM attack and steal login credentials or bearer tokens.

CVE-2019-10214 Affected Github.com/containers/image Versions

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

References

Frequently Asked Questions

What is CVE-2019-10214?
CVE-2019-10214 is a security vulnerability in Github.com/containers/image involving containers/image library Insufficiently Protects Credentials under CWE-522: Insufficiently Protected Credentials.
Which Github.com/containers/image versions are affected?
Affected versions include releases prior to 3.0.0 across affected packages: github.com/containers/image.
What version fixes CVE-2019-10214?
Upgrading to 3.0.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/containers/image affected?
Yes, github.com/containers/image is affected in releases prior to 3.0.0. Upgrade your dependency to 3.0.0 or later.
What is the CVSS score of CVE-2019-10214?
CVE-2019-10214 has a CVSS v3.1 base score of 6.4 (MODERATE) with vector string CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N.
What CWE is associated with CVE-2019-10214?
CVE-2019-10214 is classified under CWE-522: Insufficiently Protected Credentials (The product transmits or stores authentication credentials, but it uses an insecure method that is susceptible to unauthorized interception and/or retrieval.).
How can I check Go dependencies for CVE-2019-10214?
Run the dependency tree command: 'inspect dependencies for github.com/containers/image'. 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-85p9-j7c9-v4gr",
  "modified" : "2024-05-20T19:46:40Z",
  "published" : "2022-02-15T01:57:18Z",
  "aliases" : [ "CVE-2019-10214" ],
  "summary" : "containers/image library Insufficiently Protects Credentials",
  "details" : "The containers/image library used by the container tools Podman, Buildah, and Skopeo in Red Hat Enterprise Linux version 8 and CRI-O in OpenShift Container Platform, does not enforce TLS connections to the container registry authorization service. An attacker could use this vulnerability to launch a MiTM attack and steal login credentials or bearer tokens.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:A/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/containers/image"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "3.0.0"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2019-10214"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/containers/image/issues/654"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/containers/image/pull/655"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/containers/image/pull/669"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/containers/image/commit/634605d06e738aec8332bcfd69162e7509ac7aaf"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1732508"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2019-10214"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/containers/image"
  }, {
    "type" : "WEB",
    "url" : "https://pkg.go.dev/vuln/GO-2021-0081"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00035.html"
  }, {
    "type" : "WEB",
    "url" : "http://lists.opensuse.org/opensuse-security-announce/2020-04/msg00041.html"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-522" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2021-05-07T17:33:33Z",
    "nvd_published_at" : "2019-11-25T11:15:00Z"
  }
}