MEDIUM 4.7 Go
Kubernetes client-go vulnerable to Sensitive Information Leak via Log File
GHSA-8cfg-vx93-jvxw · CVE-2020-8565 · GO-2021-0064
Published · Modified
AI SAST
Find this class of vulnerability in your own code
Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.
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.5, <= v1.18.13, <= v1.17.15, < v1.20.0-alpha2.
References
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2020-8565
- WEB https://github.com/kubernetes/kubernetes/issues/95623
- WEB https://github.com/kubernetes/kubernetes/pull/95316
- WEB https://github.com/kubernetes/client-go/commit/19875a3d5a2e0d4f51c976a9e0662de3c2c011e3
- WEB https://github.com/kubernetes/client-go/commit/1b8383fc150c9b816b0072032cca75754c2734d0
- WEB https://github.com/kubernetes/client-go/commit/44e1a07f2d513e375c4b6ee6e890040b47befe86
- WEB https://github.com/kubernetes/client-go/commit/e8f871a2e5fadf90fc114565abc0963967f1a373
- WEB https://github.com/kubernetes/kubernetes/commit/e99df0e5a75eb6e86123b56d53e9b7ca0fd00419
- PACKAGE https://github.com/kubernetes/client-go
- WEB https://groups.google.com/g/kubernetes-security-discuss/c/vm-HcrFUOCs/m/36utxAM5CwAJ
- WEB https://pkg.go.dev/vuln/GO-2021-0064
Ready to move
Start Securing
Free, no credit card | First findings in minutes