istio.io/content/en/news/security/istio-security-2020-004/index.md

2.2 KiB

title subtitle description cves cvss vector releases publishdate keywords skip_seealso
ISTIO-SECURITY-2020-004 Security Bulletin Default Kiali security configuration allows full control of mesh.
CVE-2020-1764
8.7 AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
1.4 to 1.4.6
1.5
2020-03-25
CVE
true

{{< security_bulletin >}}

Istio 1.4 to 1.4.6 and Istio 1.5 contain the following vulnerability:

In addition, another CVE is fixed in this release, described by this Kiali security bulletin.

Detection

Your installation is vulnerable in the following configuration:

  • The Kiali version is 1.15 or earlier.
  • The Kiali login token and signing key is unset.

To check your Kiali version, run this command:

{{< text bash >}} $ kubectl get pods -n istio-system -l app=kiali -o yaml | grep image: {{< /text >}}

To determine if your login token is unset, run this command and check for blank output:

{{< text bash >}} $ kubectl get deploy kiali -n istio-system -o yaml | grep LOGIN_TOKEN_SIGNING_KEY {{< /text >}}

To determine if your signing key is unset, run this command and check for blank output:

{{< text bash >}} $ kubectl get cm kiali -n istio-system -o yaml | grep signing_key {{< /text >}}

Mitigation

  • For Istio 1.4.x deployments: update to Istio 1.4.7 or later.

  • For Istio 1.5.x deployments: update to Istio 1.5.1 or later.

  • Workaround: You can manually update the signing key to a random token using the following command:

    {{< text bash >}} $ kubectl get cm kiali -n istio-system -o yaml | sed "s/server:/login_token:\\n
    signing_key: $(tr -dc 'a-zA-Z0-9' < /dev/urandom | fold -w 20 | head -n 1)\\nserver:/"
    | kubectl apply -f - ; kubectl delete pod -l app=kiali -n istio-system {{< /text >}}