CVE-2025-58356 Constellation allows insecure use of LUKS2 persistent storage partitions
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- Kubernetes
Description
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.
Upgrade path
2 packages: 0 fixed, 1 partially fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| edgelesssys github.com/edgelesssys/constellation/v2(Go) | < 2.24.0; <= 2.23.1; All versions | 2.24.0 | Partially fixed |
| edgelesssys github.com/edgelesssys/constellation/v2 | = < 2.24.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| edgelesssys github.com/edgelesssys/constellation/v2(Go) | < 2.24.0 | 2.24.0 |
| edgelesssys github.com/edgelesssys/constellation/v2(Go) | All versions | No fix listed |
| edgelesssys github.com/edgelesssys/constellation/v2(Go) | <= 2.23.1 | No fix listed |
| edgelesssys github.com/edgelesssys/constellation/v2 | = < 2.24.0 | No fix listed |
References
- https://github.com/edgelesssys/constellation/security/advisories/GHSA-hq76-6gh2-5g4q vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/edgelesssys/constellation/pull/3927 patch
- github.com patch
- blog.trailofbits.com
- github.com product
- https://github.com/edgelesssys/constellation/releases/tag/v2.24.0
- github.com