Contrast before 1.8.1 Information Disclosure via Logging
What fixes it
- 1.8.1contrastCVE List
- 1.8.1github.com/edgelesssys/contrast, GoOSV
go get github.com/edgelesssys/contrast@v1.8.1
A fixed version on one release line is not the upgrade target for every line. Check your exact version and any vendor backports.
Description
Contrast (Edgeless Systems) before 1.8.1 logs the workload secret to stderr, and thus to Kubernetes logs, when the Contrast initializer is configured with CONTRAST_LOG_LEVEL set to info or debug. Because info is the default, all installations that do not customize the initializer log level are affected. This exposes workload secrets — normally accessible only to the Contrast Coordinator, the initializer, the seedshare owner, and the workload owner — to Kubernetes users with get or list permission on pods/logs and to anyone with read access to the Kubernetes log storage, such as the cloud provider. Deployments that do not use workload secrets are unaffected.
Text from CVE List
Affected versions 3
- contrastaffected: all versions before 1.8.1CVE List
- contrastunaffected: 1.8.1CVE List
- github.com/edgelesssys/contrast, Gofrom first release, fixed in 1.8.1OSV