CVE-2025-71422
Contrast before 1.12.1 Insecure LUKS2 Persistent Storage
Also known as GHSA-f5p4-p5q5-jv3h, GO-2025-4078
Mitigation
- Upgrade github.com/edgelesssys/contrast to 1.12.1 or later.
Who should check
- Projects that depend on Go package github.com/edgelesssys/contrast (< 1.12.1)
- Anyone running edgelesssys contrast < 1.12.1
Vulnerability facts
- Affected
- github.com/edgelesssys/contrast < 1.12.1
- Fixed in
- 1.12.1
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Not remotely exploitable (local or adjacent access needed)
- CVSS
- 6.9 (v4.0, CNA)CVSS:4.0/AV:A/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:NOpen in CVSS calculator
Show all 11 CVSS metrics
- Attack vector: Adjacent network
- Attack complexity: Low
- Attack requirements: None
- Privileges required: Low
- User interaction: None
- Confidentiality impact: High
- Integrity impact: None
- Availability impact: None
- Confidentiality impact on other systems: None
- Integrity impact on other systems: None
- Availability impact on other systems: None
- EPSS
- 0.10% chance of exploitation in 30 days (percentile 0, 2026-11-26)
- CWE
- CWE-347
- Modified
Description
Contrast is a Kubernetes runtime for confidential containers. In versions before 1.12.1, the secure persistent volume feature is vulnerable to a malicious host supplying a crafted LUKS2 volume to a pod VM. LUKS2 volume metadata is not authenticated and, with cryptsetup versions prior to 2.8.1, a header specifying the null keyslot encryption algorithm (cipher_null-ecb) is accepted without error. Because the Contrast Initializer assumes a device is protected if `cryptsetup open` succeeds with the secret seed, the guest will open the attacker-supplied volume and write secret data in plaintext, or under a volume key known to the attacker, allowing the host to read confidential data that should have been encrypted. Contrast v1.12.1 ships cryptsetup 2.8.1, which disables null ciphers in keyslots when the passphrase is non-empty; v1.13.0 adds detached-header validation in guest memory and integrity protection for secure persistent storage. Contrast persistent volumes were not integrity protected, so integrity impact is not considered.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Go github.com/edgelesssys/contrast | < 1.12.1 | 1.12.1 | osv |
| edgelesssys contrast | < 1.12.1 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2025-71422. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2025-71422.md Affected: github.com/edgelesssys/contrast < 1.12.1 Fixed in: 1.12.1 Steps: 1. Search this machine and project for github.com/edgelesssys/contrast (Go), edgelesssys contrast: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Patches
FAQ
Is CVE-2025-71422 being exploited?
There is no confirmed exploitation: CVE-2025-71422 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.10% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2025-71422?
Medium: CVSS 6.9 (v4.0, scored by CNA). Not remotely exploitable (local or adjacent access needed).
Which versions are affected by CVE-2025-71422?
github.com/edgelesssys/contrast < 1.12.1.
Is there a fix for CVE-2025-71422?
Yes. Fixed in 1.12.1. Upgrade github.com/edgelesssys/contrast to 1.12.1 or later.
How do I check if I'm affected by CVE-2025-71422?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.