Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
🐹 Go

CVE-2020-8565

MEDIUM

CVE-2020-8565 is a medium-severity (CVSS 5.5) CWE-532 vulnerability in k8s.io/client-go. O3 Security confirms whether CVE-2020-8565 is actually reachable in your code before you act, and blocks exploitation at runtime until you patch.

Kubernetes client-go vulnerable to Sensitive Information Leak via Log File

Also known asGHSA-8cfg-vx93-jvxwGO-2021-0064
Published
Dec 7, 2020
Updated
Aug 4, 2026
Affected
5 pkgs
Patched
5 / 5
Exploits
None indexed

Real-World Exposure

5 pkgs affected
🐹k8s.io/client-go🐹k8s.io/client-go🐹k8s.io/client-go🐹k8s.io/client-go🐹k8s.io/kubernetes

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.

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.

Affected Packages

5 total 5 fixed
EcosystemPackageVulnerable rangeFix
🐹Gok8s.io/client-go0.19.0&&< 0.19.60.19.6
🐹Gok8s.io/client-go0.20.0-alpha.0&&< 0.20.0-alpha.20.20.0-alpha.2
🐹Gok8s.io/client-go0.18.0&&< 0.18.140.18.14
🐹Gok8s.io/client-goall versions0.17.16
🐹Gok8s.io/kubernetesall versions1.20.0-alpha.2

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for k8s.io/client-go. O3's reachability analysis confirms whether the vulnerable code path is actually invoked in your application, so you act on real exposure instead of every transitive match.

  2. Fix

    Update k8s.io/client-go to 0.19.6 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2020-8565 is resolved across your whole dependency graph.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

  4. How O3 protects you

    O3 pinpoints whether CVE-2020-8565 is reachable in your code and exactly where to fix it, then blocks exploitation in production at runtime until the patched version is deployed.

Tailored to CVE-2020-8565. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.

Frequently Asked Questions

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.
O3 Security · Impact-Aware SCA

Is CVE-2020-8565 in your dependencies?

O3 detects CVE-2020-8565 across Go dependencies and uses function-level reachability to confirm whether the vulnerable code path is actually reachable — not just present. No false positives.