Contrast leaks workload secrets to logs on INFO level
Key facts
- Attack vector
- —
- Privileges required
- —
- User interaction
- —
- Attack complexity
- —
- Impact type
- Information disclosure
- Confidentiality · integrity · availability
- —
- Fix status
- Fixed
No CVSS vector from any source. Fix status from GitHub. Impact type from CWE-532.
Summary
This is the same vulnerability as https://github.com/edgelesssys/contrast/security/advisories/GHSA-h5f8-crrq-4pw8. The original vulnerability had been fixed for release `v1.8.1`, but the fix was not ported to the main branch and thus not present in releases `v1.9.0` ff. Below is a brief repetition of the relevant sections from the first GHSA, where you can find the full details. ### Impact * [Workload secrets](https://docs.edgeless.systems/contrast/1.11/architecture/secrets#workload-secrets) are visible to Kubernetes users with `get` or `list` permission on `pods/logs`, and thus need to be considered compromised. * Since workload secrets are used for [encrypted storage](https://docs.edgeless.systems/contrast/1.11/howto/encrypted-storage) and [Vault integration](https://docs.edgeless.systems/contrast/1.11/howto/vault), those need to be considered compromised, too. ### Patches Patches: * https://github.com/edgelesssys/contrast/commit/5a5512c4af63c17bb66331e7bd2768a863b2f225 * https://github.com/edgelesssys/contrast/commit/cf58026b30c43fe7df91eac5322da02e1725d554 The patches are released with `v1.12.2` and `v1.13.0` (not yet published). Since the secrets are compromised, Contrast needs to be initialized from scratch. ### Workarounds Existing workload secrets are compromised. The Contrast cluster needs to be newly initialized, and logging needs to be turned off. ### References First occurrence: * https://github.com/edgelesssys/contrast/security/advisories/GHSA-h5f8-crrq-4pw8 We are defining a process for handling GHSAs that should prevent such regressions in the future: * https://github.com/edgelesssys/contrast/pull/1739
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | github.com/edgelesssys/contrast (Go) | 1.9.0 to before 1.12.2 | 1.12.2 | Patch available | GHSA-vxg3-w9rv-rhr2 |
- github.com/edgelesssys/contrast (Go) Vendor— Affected 1.9.0 to before 1.12.2 Fixed in 1.12.2 Patch available GHSA-vxg3-w9rv-rhr2
Remediation
- Fix · GHSA-vxg3-w9rv-rhr2 github.com/edgelesssys/contrast (Go) Fixed in 1.12.2 Advisory →
Timeline
- 2026-10-03 Threatist record created from GHSA-vxg3-w9rv-rhr2
References
Other 6
- https://github.com/edgelesssys/contrast/security/advisories/GHSA-h5f8-crrq-4pw8
- https://github.com/edgelesssys/contrast/security/advisories/GHSA-vxg3-w9rv-rhr2
- https://github.com/edgelesssys/contrast/pull/1739
- https://github.com/edgelesssys/contrast/commit/5a5512c4af63c17bb66331e7bd2768a863b2f225
- https://github.com/edgelesssys/contrast/commit/cf58026b30c43fe7df91eac5322da02e1725d554
- https://github.com/edgelesssys/contrast
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences