# CVE-2025-71422: Contrast before 1.12.1 Insecure LUKS2 Persistent Storage

- Severity: Medium 6.9 (CVSS:4.0, scored by VulnCheck) `CVSS:4.0/AV:A/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.10%, higher than 0% of CVEs (2026-11-30)
- Published: 2025-10-28T17:49:59.000Z
- Modified: 2026-10-14T13:10:00.187Z
- Also known as: GHSA-f5p4-p5q5-jv3h, GO-2025-4078
- Weaknesses: CWE-347, CWE-552
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- edgelesssys contrast: before 1.12.1 (not affected: 1.12.1)
- github.com/edgelesssys/contrast (Go): before 1.12.1

## Every score

- VulnCheck: CVSS:4.0 6.9 Medium `CVSS:4.0/AV:A/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`
- VulnCheck: CVSS:3.1 5.7 Medium `CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`
- GitHub: CVSS:3.1 5.7 Medium `CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N`

## References

- <https://github.com/edgelesssys/contrast/security/advisories/GHSA-f5p4-p5q5-jv3h> (advisory, vendor-advisory, web)
- <https://www.vulncheck.com/advisories/contrast-before-1.12.1-insecure-luks2-persistent-storage> (third-party-advisory)
- <https://github.com/edgelesssys/contrast/pull/1731> (fix, web)
- <https://github.com/edgelesssys/contrast/commit/2252a231d570c2dce10a33660452b0bfc3c43958> (fix, web)
- <https://github.com/edgelesssys/contrast> (package)
- <https://pkg.go.dev/vuln/GO-2025-4078> (web)

## Sources

- CVE List: [CVE-2025-71422](https://www.cve.org/CVERecord?id=CVE-2025-71422), CVE Terms of Use, modified 2026-10-08
- GitHub Advisory Database: [GHSA-f5p4-p5q5-jv3h](https://github.com/advisories/GHSA-f5p4-p5q5-jv3h), CC-BY-4.0, modified 2026-09-27
- Go Vulnerability Database: [GO-2025-4078](https://pkg.go.dev/vuln/GO-2025-4078), CC-BY-4.0, modified 2026-09-27
- NVD: [CVE-2025-71422](https://nvd.nist.gov/vuln/detail/CVE-2025-71422), Public domain, modified 2026-10-14

---

Page: https://cve.day/CVE-2025-71422 · Whole record: https://cve.day/CVE-2025-71422.json · Rebuilt by cve.day 2026-11-25T22:59:12.516Z
