CVE-2020-1764: Github.com/kiali/kiali Hard Coded Cryptographic Key Vulnerability

HIGH
Advisory Identifier: GHSA-64rh-r86q-75ff
CVSS 8.6
CWE-321 CWE-798
Published
Advisory Summary

CVE-2020-1764 is a HIGH (CVSS 8.6) hard coded cryptographic key vulnerability (CWE-321: Use of Hard-coded Cryptographic Key) affecting Github.com/kiali/kiali libraries in the Go ecosystem. The issue involves hard coded cryptographic key in kiali. Remediation is available by upgrading affected packages to version 1.15.1.

CVE-2020-1764 at a Glance

CVE Identifier CVE-2020-1764
GHSA Identifier GHSA-64rh-r86q-75ff
Severity HIGH
CVSS v3.1 Base Score 8.6
CWE Classification CWE-321: Use of Hard-coded Cryptographic Key
Affected Product Github.com/kiali/kiali
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 8.6

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

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

How to Fix CVE-2020-1764

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

How to Check if You Are Affected

To determine whether your application is affected by CVE-2020-1764, inspect your project dependencies for Github.com/kiali/kiali:

inspect dependencies for github.com/kiali/kiali

Analyze the terminal output to locate any version of Github.com/kiali/kiali in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.15.1), 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-321: Use of Hard-coded Cryptographic Key, where the product uses a hard-coded, unchangeable cryptographic key. In Github.com/kiali/kiali, 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

A hard-coded cryptographic key vulnerability in the default configuration file was found in Kiali, all versions prior to 1.15.1. A remote attacker could abuse this flaw by creating their own JWT signed tokens and bypass Kiali authentication mechanisms, possibly gaining privileges to view and alter the Istio configuration.

CVE-2020-1764 Affected Github.com/kiali/kiali Versions

1 component(s)
Fixed Versions:
1.15.1
Product / Package Ecosystem Affected Versions Fixed Version
github.com/kiali/kiali
Go
< 1.15.1
1.15.1

References

Frequently Asked Questions

What is CVE-2020-1764?
CVE-2020-1764 is a security vulnerability in Github.com/kiali/kiali involving Hard coded cryptographic key in Kiali under CWE-321: Use of Hard-coded Cryptographic Key.
Which Github.com/kiali/kiali versions are affected?
Affected versions include releases prior to 1.15.1 across affected packages: github.com/kiali/kiali.
What version fixes CVE-2020-1764?
Upgrading to 1.15.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is github.com/kiali/kiali affected?
Yes, github.com/kiali/kiali is affected in releases prior to 1.15.1. Upgrade your dependency to 1.15.1 or later.
What is the CVSS score of CVE-2020-1764?
CVE-2020-1764 has a CVSS v3.1 base score of 8.6 (HIGH) with vector string CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H.
What CWE is associated with CVE-2020-1764?
CVE-2020-1764 is classified under CWE-321: Use of Hard-coded Cryptographic Key (The product uses a hard-coded, unchangeable cryptographic key.).
How can I check Go dependencies for CVE-2020-1764?
Run the dependency tree command: 'inspect dependencies for github.com/kiali/kiali'. 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-64rh-r86q-75ff",
  "modified" : "2021-05-06T21:51:32Z",
  "published" : "2021-05-18T18:28:59Z",
  "aliases" : [ "CVE-2020-1764" ],
  "summary" : "Hard coded cryptographic key in Kiali",
  "details" : "A hard-coded cryptographic key vulnerability in the default configuration file was found in Kiali, all versions prior to 1.15.1. A remote attacker could abuse this flaw by creating their own JWT signed tokens and bypass Kiali authentication mechanisms, possibly gaining privileges to view and alter the Istio configuration.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "github.com/kiali/kiali"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.15.1"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2020-1764"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/kiali/kiali/commit/93f5cd0b6698e8fe8772afb8f35816f6c086aef1"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/kiali/kiali/commit/ac7bd6c7ddb2e01356e21d360dd1c718a90706ad"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/kiali/kiali/commit/ce48af57113c805a25179aaab1a0fac2fb93653f"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/kiali/kiali/commit/faed1f5f90efae3df9fd6fb793f00ccc242b3a96"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=1810383"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=CVE-2020-1764"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/jpts/cve-2020-1764-poc"
  }, {
    "type" : "WEB",
    "url" : "https://kiali.io/news/security-bulletins/kiali-security-001"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-321", "CWE-798" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2021-05-06T21:51:32Z",
    "nvd_published_at" : null
  }
}