CVE-2019-10214: Github.com/containers/image Containers/image Library Insufficiently Protects Credentials Vulnerability
MODERATECVE-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
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).
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.
Upgrade github.com/containers/image 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/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
CVE-2019-10214 Affected Github.com/containers/image Versions
1 component(s)| 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?
Which Github.com/containers/image versions are affected?
What version fixes CVE-2019-10214?
Is github.com/containers/image affected?
What is the CVSS score of CVE-2019-10214?
What CWE is associated with CVE-2019-10214?
How can I check Go dependencies for CVE-2019-10214?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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"
}
}