{"id":"CVE-2025-58356","published":"2025-10-27T19:33:23Z","modified":"2025-11-28T14:45:46Z","title":"Constellation allows insecure use of LUKS2 persistent storage partitions","vendor":"edgelesssys","product":"constellation","tier":"tail","description":{"text":"Constellation is the first Confidential Kubernetes. The Constellation CVM image uses LUKS2-encrypted volumes for persistent storage. When opening an encrypted storage device, the CVM uses the libcryptsetup function crypt_activate_by_passhrase. If the VM is successful in opening the partition with the disk encryption key, it treats the volume as confidential. However, due to the unsafe handling of null keyslot algorithms in the cryptsetup 2.8.1, it is possible that the opened volume is not encrypted at all. Cryptsetup prior to version 2.8.1 does not report an error when processing LUKS2-formatted disks that use the cipher_null-ecb algorithm in the keyslot encryption field. This vulnerability is fixed in 2.24.0.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.3,"severity":"HIGH","version":"4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00107,"percentile":0.01187,"provenance":"source"},"cwes":[{"id":"CWE-347","name":"Improper Verification of Cryptographic Signature"}],"references":[{"url":"https://github.com/edgelesssys/constellation/security/advisories/GHSA-hq76-6gh2-5g4q","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/edgelesssys/constellation/pull/3927","tags":["x_refsource_MISC"]},{"url":"https://github.com/edgelesssys/constellation/releases/tag/v2.24.0","tags":["x_refsource_MISC"]},{"url":"https://blog.trailofbits.com/2025/10/30/vulnerabilities-in-luks2-disk-encryption-for-confidential-vms/","tags":[]}],"priority":{"score":6.0,"factors":[{"name":"EPSS percentile","points":0.24},{"name":"CVSS severity","points":5.81}]},"vendorSlug":"edgelesssys","affectedVersions":[{"vendor":"edgelesssys","product":"constellation","versions":["< 2.24.0"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2025-10-27T19:44:26.781817Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/edgelesssys/constellation/v2","vulnerableRanges":["<2.24.0"],"patched":["2.24.0"],"from":["GHSA-hq76-6gh2-5g4q","GO-2025-4076"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/edgelesssys/constellation","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2025-4076"],"provenance":"source"}],"summary":{"text":"Constellation's Confidential Kubernetes CVM image uses LUKS2-encrypted persistent storage volumes, and when they are opened via libcryptsetup's crypt_activate_by_passphrase, the volume is treated as confidential even if it was never actually encrypted, because cryptsetup versions before 2.8.1 do not reject LUKS2 keyslots that use the cipher_null-ecb algorithm. An attacker with local access to the storage device who can exercise high privileges, without user interaction, could present a null-cipher keyslot so that data the workload treats as confidential is stored in plaintext.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T22:16:01Z"},"euvd":{"id":"EUVD-2025-36204","exploited":false,"provenance":"source"}}