Description
Contrast through 1.20.0 contains a panic vulnerability in the transit-engine endpoint's ciphertextContainer.UnmarshalJSON function that fails to validate decoded ciphertext length before slicing. An authenticated workload with a valid mesh certificate can trigger a runtime panic by submitting a short base64-encoded ciphertext, causing log spam and request failures without crashing the process.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| edgelesssys | contrast | ≤ 1.20.0 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/edgelesssys/contrast | < 1.21.0 | 1.21.0 | GHSA-3ccm-4qq2-5wrp |
References
- GitHub Security Advisory (GHSA-3ccm-4qq2-5wrp) vendor-advisory
- VulnCheck Advisory: Edgeless Systems Contrast through 1.20.0 Denial of Service via ciphertextContainer third-party-advisory