PHP2Shell: Read our blog on the critical RCE vulnerabilities affecting 70% of the Internet

CVE-2020-8565: 
NixOS vulnerability analysis and mitigation

Overview

CVE-2020-8565 is a security vulnerability in Kubernetes that allows authorization and bearer tokens to be written to log files when the logging level is set to at least 9. This vulnerability affects both API server logs and client tool output like kubectl. The affected versions include Kubernetes versions <= v1.19.3, <= v1.18.10, <= v1.17.13, and < v1.20.0-alpha2 (Kubernetes Issue).

Technical details

The vulnerability is classified as CWE-532 (Insertion of Sensitive Information into Log File) with a CVSS v3.1 base score of 4.7 (Medium) and vector string CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N. This indicates a local attack vector with high attack complexity, requiring low privileges and no user interaction, potentially resulting in high confidentiality impact but no integrity or availability impact (NVD Database).

Impact

When verbose logging is enabled (log level >= 9), the vulnerability can expose sensitive Kubernetes authorization tokens, including bearer tokens and basic authentication credentials in log files. This exposure occurs in both server-side components and client tools (Kubernetes Mailing List).

Exploitability

The vulnerability requires local access to the system and the logging level to be set at 9 or higher. The attack complexity is considered high, and the attacker needs low privileges to exploit the vulnerability. The exposure can occur in both Kubernetes server-side components (kube-apiserver) and client tools like kubectl (NVD Database).

Mitigation and workarounds

The primary mitigation strategies include not enabling verbose logging in production environments and limiting access to log files. The vulnerability has been fixed in Kubernetes versions v1.20.0, v1.19.6, v1.18.14, and v1.17.16. Users are recommended to upgrade to these or later versions. If exposed secrets are found in log files, they should be rotated as soon as possible (Kubernetes Issue, Kubernetes Mailing List).

Additional resources


Source: This report was generated using AI

Related NixOS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-112940HIGH7.1
  • Python logoPython
  • py3-filelock
NoYesOct 20, 2026
CVE-2026-112937MEDIUM6.1
  • Python logoPython
  • python-filelock
NoYesOct 20, 2026
CVE-2026-112936MEDIUM6.1
  • Python logoPython
  • python-filelock
NoYesOct 20, 2026
CVE-2026-112939MEDIUM4.7
  • Python logoPython
  • python-filelock
NoYesOct 20, 2026
CVE-2026-112941LOW3.3
  • Python logoPython
  • filelock
NoYesOct 20, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management