CVE-2020-8565
Incomplete fix for CVE-2019-11250 allows for token leak in logs when logLevel >= 9
Reported by kubernetes · Published December 7, 2020
github.com/kubernetes/kubernetes is fixed in 1.19.3, 1.18.10 and 1.17.13 (Go Modules)
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.
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| github.com/kubernetes/kubernetes | Go Modules | 1.19.3, 1.18.10, 1.17.13 |
| gostatsd | Chainguard | 28.3.0-r33 |
| gostatsd | Wolfi | 28.3.0-r33 |
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Kubernetes | Kubernetes | <= 1.19.3, <= 1.18.10, <= 1.17.13 |
| chainguard | gostatsd | 0 |
| wolfi | gostatsd | 0 |
| github.com | kubernetes/kubernetes | 1.17.0, 1.19.0, 1.18.0 |
| chainguard | newrelic-nri-statsd | 0 |
| Kubernetes | Kubernetes | 0, 0, 0 |
| k8s.io | kubernetes/pkg/apis/apps/validation | 1.17.0, 1.19.0, 1.18.0 |
| chainguard | spark-operator | 0 |
| k8s.io | kubernetes | 0 |
| wolfi | newrelic-nri-statsd | 0 |
| chainguard | nodetaint | * |
| wolfi | spark-operator | 0 |
| k8s.io | client-go | 0 |
| chainguard | kubeflow-pipelines | 0 |
| wolfi | kubeflow-pipelines | 0 |
| wolfi | nodetaint | * |
Timeline
- Nov 29, 2020 PoC Published (43 in total, the first dated here)
- Dec 7, 2020 CVE Published
- Apr 14, 2021 EPSS Score (30 in total, the first dated here)
- Mar 17, 2026 Security Advisory (8 in total, the first dated here)
- Mar 30, 2026 Distribution Patch (2 in total, the first dated here)
- Aug 28, 2026 Coalition ESS Score
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2020-8565
vulnetix vdb fixes CVE-2020-8565
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2020-8565/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- Multiple secret leaks when verbose logging is enabled mailing-listx_refsource_MLIST
- x_refsource_CONFIRM
- https://nvd.nist.gov/vuln/detail/CVE-2020-8565 advisory
- https://github.com/kubernetes/kubernetes/pull/95316 patch
- https://github.com/kubernetes/kubernetes/commit/e99df0e5a75eb6e86123b56d53e9b7ca0fd00419 patch
- https://pkg.go.dev/vuln/GO-2021-0064 url
- https://github.com/advisories/GHSA-8cfg-vx93-jvxw advisory