Description
Calamares versions 3.1 through 3.2.10 copies a LUKS encryption keyfile from /crypto_keyfile.bin (mode 0600 owned by root) to /boot within a globally readable initramfs image with insecure permissions, which allows this originally protected file to be read by any user, thereby disclosing decryption keys for LUKS containers created with Full Disk Encryption.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | calamares | 3.2.11-1 | — |
| Debian 14 | calamares-settings-debian | 10.0.23-1 | — |
| Debian 13 | calamares | 3.2.11-1 | — |
| Debian 13 | calamares-settings-debian | 10.0.23-1 | — |
| Debian 12 | calamares | 3.2.11-1 | — |
| Debian 12 | calamares-settings-debian | 10.0.23-1 | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 22.04 LTS | calamares | No fix yet | — |
| Ubuntu 20.04 LTS | calamares | No fix yet | — |
| Ubuntu 18.04 LTS | calamares | No fix yet | — |
References
- https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1835096
- https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1835095
- https://github.com/calamares/calamares/issues/1191
- https://bugzilla.redhat.com/show_bug.cgi?id=1726542
- https://calamares.io/calamares-3.2.11-is-out/
- https://calamares.io/calamares-cve-2019/
- FEDORA-2019-50ee491d76 vendor-advisory
- FEDORA-2019-e61a85c2bb vendor-advisory