CVE-2025-58356: Constellation has insecure LUKS2 persistent storage partitions which may be opened and used
CVE-2025-58356 · Severity: medium · CVSS 4 · Published 2025-10-27
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.
Yes. github.com/edgelesssys/constellation/v2 (Go): upgrade to 2.24.0 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
Am I affected by CVE-2025-58356?
Check whether you run github.com/edgelesssys/constellation (Go) or github.com/edgelesssys/constellation/v2 (Go) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
github.com/edgelesssys/constellation/v2 (Go): upgrade to 2.24.0 or later
go get github.com/edgelesssys/constellation/v2@v2.24.0