GHSA-g35x-j6jj-8g7j
4.4medium
@mittwald/kubernetes's secret contents leaked via debug logging
- Severity
- 4.4medium CVSS:3.1 by GitHub
- Published
- Last changed
Description
Impact
When debug logging is enabled (via DEBUG environment variable), the Kubernetes client may log all response bodies into the debug log -- including sensitive data from Secret resources.
When running in a Kubernetes cluster, this might expose sensitive information to users who are not authorised to access secrets, but have access to Pod logs (either directly using kubectl, or by Pod logs being shipped elsewhere).
Patches
Upgrade to 3.5.0 or newer.
Workarounds
Disable debug logging entirely, or exclude the kubernetes:client debug item (for example, using DEBUG=*,-kubernetes:client).
References
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| @mittwald/kubernetes (npm) | before 3.5.0 | GitHub Advisory Database |
Classification
References
Sources
| Source | Record | Licence |
|---|---|---|
| GitHub Advisory Database | GHSA-g35x-j6jj-8g7j changed 2023-05-02 | CC-BY-4.0 |