CVE-2020-8565: Incomplete fix for CVE-2019-11250 allows for token leak in logs when logLevel >= 9

Published Oct 9, 2020
·
Updated

A flaw was found in kubernetes. In Kubernetes, if the logging level is to at least 9, authorization and bearer tokens will be written to log files. This can occur both in API server logs and client tool output like kubectl. Previously, CVE-2019-11250 was assigned for the same issue for logging levels of at least 4.

Other sources

In Kubernetes, if the logging level is set to at least 9, authorization and bearer tokens will be written to log files. This can occur both in API server logs and client tool output like kubectl. This affects <= v1.19.3, <= v1.18.10, <= v1.17.13, < v1.20.0-alpha2.

In Kubernetes, if the logging level is set to at least 9, authorization and bearer tokens will be written to log files. This can occur both in API server logs and client tool output like kubectl. This affects <= v1.19.5, <= v1.18.13, <= v1.17.15, < v1.20.0-alpha2.

GitHub

In Kubernetes, if the logging level is set to at least 9, authorization and bearer tokens will be written to log files. This can occur both in API server logs and client tool output like kubectl. This affects = v1.19.3, = v1.18.10, = v1.17.13, v1.20.0-alpha2.

IBM

Affected Software

14 affected componentsFixes available
redhat/mcg<0:5.9.0-28.61dcf87.5.9.el8
0:5.9.0-28.61dcf87.5.9.el8
go/k8s.io/kubernetes<1.20.0-alpha.2
1.20.0-alpha.2
go/k8s.io/client-go<0.17.16
0.17.16
go/k8s.io/client-go>=0.18.0<0.18.14
0.18.14
go/k8s.io/client-go>=0.20.0-alpha.0<0.20.0-alpha.2
0.20.0-alpha.2
go/k8s.io/client-go>=0.19.0<0.19.6
0.19.6
Kubernetes kubernetes>=1.17.0<=1.17.13
Kubernetes kubernetes>=1.18.0<=1.18.10
Kubernetes kubernetes>=1.19.0<=1.19.3
redhat/kubernetes<1.20.0
1.20.0
redhat/kubernetes<1.19.6
1.19.6
redhat/kubernetes<1.18.14
1.18.14
redhat/kubernetes<1.17.16
1.17.16
IBM Netezza Software<=11.3.0.3-IF2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade redhat/mcg to a version that resolves this vulnerability.

    Fixed in 0:5.9.0-28.61dcf87.5.9.el8
  2. Upgrade

    Upgrade go/k8s.io/kubernetes to a version that resolves this vulnerability.

    Fixed in 1.20.0-alpha.2
  3. Upgrade

    Upgrade go/k8s.io/client-go to a version that resolves this vulnerability.

    Fixed in 0.17.16
  4. Upgrade

    Upgrade go/k8s.io/client-go to a version that resolves this vulnerability.

    Fixed in 0.18.14
  5. Upgrade

    Upgrade go/k8s.io/client-go to a version that resolves this vulnerability.

    Fixed in 0.20.0-alpha.2
  6. Upgrade

    Upgrade go/k8s.io/client-go to a version that resolves this vulnerability.

    Fixed in 0.19.6
  7. Upgrade

    Upgrade redhat/kubernetes to a version that resolves this vulnerability.

    Fixed in 1.20.0
  8. Upgrade

    Upgrade redhat/kubernetes to a version that resolves this vulnerability.

    Fixed in 1.19.6
  9. Upgrade

    Upgrade redhat/kubernetes to a version that resolves this vulnerability.

    Fixed in 1.18.14
  10. Upgrade

    Upgrade redhat/kubernetes to a version that resolves this vulnerability.

    Fixed in 1.17.16
  11. Configuration

    Set Kubernetes logging level to less than 9 to prevent authorization and bearer tokens from being written to log files (affected when logLevel >= 9).

    Kubernetes logLevel = < 9

Event History

Oct 9, 2020
Data Sourced
via Red Hat·01:47 AM
DescriptionSeverityAffected Software
Oct 14, 2020
CVE Published
12:00 AM
Dec 7, 2020
CVE Published
via MITRE·10:00 PM
Data Sourced
via MITRE·10:00 PM
DescriptionSeverityWeakness
Feb 6, 2023
Advisory Published
via GitHub·11:27 PM
Aug 20, 2026
Data Sourced
via IBM·12:00 AM
DescriptionAffected Software

Parent advisories

This vulnerability appears in the following advisories.

Frequently Asked Questions

1

What is CVE-2020-8565?

CVE-2020-8565 is a vulnerability in Kubernetes where authorization and bearer tokens are written to log files when the logging level is set to at least 9.

2

What is the severity of CVE-2020-8565?

CVE-2020-8565 has a severity value of 5.3, which is classified as medium severity.

3

How can the CVE-2020-8565 vulnerability be fixed?

To fix the CVE-2020-8565 vulnerability, update Kubernetes to version 1.20.0 or above.

4

Is there a workaround for the CVE-2020-8565 vulnerability?

There is no known workaround for the CVE-2020-8565 vulnerability. Updating Kubernetes to the fixed version is recommended.

5

Where can I find more information about CVE-2020-8565?

You can find more information about CVE-2020-8565 on the Red Hat Security Advisory page and the GitHub pull request page.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203