Contrast before 1.23.1 Image Substitution via Policy Generation
What fixes it
- 1.23.1contrastCVE List
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 (edgelesssys/contrast) versions 1.14.0 before 1.23.1 generate runtime policies that fail to detect all container image substitutions. A bad rebase during a Kata Containers update accidentally introduced an allow_storage rule that accepts storage entries using the image_guest_pull driver without verifying the image digest. An attacker with access to the Kata agent API — for example, a Kubernetes cluster administrator in Contrast's threat model — can therefore substitute a container image with an exploit payload, provided the substituted image satisfies the remaining policy rules, undermining the confidential container's integrity guarantees.
Text from CVE List
Affected versions 3
- contrastaffected: 1.14.0 before 1.23.1CVE List
- contrastunaffected: 1.23.1CVE List
- contrastv1.14.0..v1.23.0GitHub