Description
modules/luksbootkeyfile/main.py in Calamares versions 3.1 through 3.2.10 has a race condition between the time when the LUKS encryption keyfile is created and when secure permissions are set.
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 13 | calamares | 3.2.11-1 | — |
| Debian 12 | calamares | 3.2.11-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 | — |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SUSE Package Hub 15 SP1 | calamares | 3.2.15-bp151.4.3.1 | openSUSE-SU-2019:2655-1 |
| SUSE Package Hub 15 | calamares | 3.2.15-bp150.2.6.1 | openSUSE-SU-2019:2654-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Leap 15.1 | calamares | 3.2.15-lp151.4.3.3 | openSUSE-SU-2019:2628-1 |
| openSUSE Leap 15.0 | calamares | 3.2.15-lp151.4.3.3 | openSUSE-SU-2019:2628-1 |
Advisories 3
- openSUSE-SU-2019:2654-1 Security update for calamares SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2019:2628-1 Security update for calamares SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2019:2655-1 Security update for calamares SUSE / openSUSE Security Updates · Feb 4, 2026
References
- https://github.com/calamares/calamares/issues/1190
- https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1835096
- https://bugs.launchpad.net/ubuntu/+source/initramfs-tools/+bug/1835095
- https://www.pavelkogan.com/2014/05/23/luks-full-disk-encryption/
- https://www.pavelkogan.com/2015/01/25/linux-mint-encryption/
- https://github.com/calamares/calamares/issues/1191
- https://bugzilla.redhat.com/show_bug.cgi?id=1726565
- 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
- openSUSE-SU-2019:2628 vendor-advisory
- openSUSE-SU-2019:2654 vendor-advisory
- openSUSE-SU-2019:2655 vendor-advisory