Description
Contrast is a confidential-computing runtime for Kubernetes. In versions before 1.19.1, the Kata agent policies generated by the Contrast CLI contained a flaw in the CopyFile verification that allowed arbitrary writes to the guest root filesystem. A malicious process on the untrusted host able to connect to the Kata agent VSOCK could issue a series of CopyFile requests to overwrite security-critical files in the guest or trick the workload into disclosing sensitive data, effectively amounting to a full guest takeover. Users unable to upgrade can apply an equivalent rego policy fix passed to 'contrast generate --policy'.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| edgelesssys | contrast | < 1.19.1 | 1.19.1 |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Go | github.com/edgelesssys/contrast | < 1.19.1 | 1.19.1 | GHSA-rh99-wc69-c255 |
References
- GitHub Security Advisory (GHSA-rh99-wc69-c255) vendor-advisory
- VulnCheck Advisory: Contrast before 1.19.1 CopyFile Policy Symlink Subversion third-party-advisory