# CVE-2024-43378: calamares-nixos-extensions LUKS keyfile exposure regression on legacy BIOS systems

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.8
- **CVSS:** 7.8 (v3.1, CNA) `CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N`
- **CVSS metrics:** Attack vector: Local; Attack complexity: High; Privileges required: None; User interaction: None; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: High; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Not remotely exploitable (local or adjacent access needed)
- **EPSS:** 0.17% (percentile 4, 2026-11-26)
- **CWE:** CWE-256
- **Published:** 2024-08-15T23:53:07.103Z
- **Modified:** 2026-06-17T07:50:54.870Z

## Who should check

- Anyone running calamares-nixos-extensions \< 0.3.17

## Description

calamares-nixos-extensions provides Calamares branding and modules for NixOS, a distribution of GNU/Linux. Users who installed NixOS through the graphical installer who used manual disk partitioning to create a setup where the system was booted via legacy BIOS rather than UEFI; some disk partitions are encrypted; but the partitions containing either \`/\` or \`/boot\` are unencrypted; have their LUKS disk encryption key file in plain text either in \`/crypto\_keyfile.bin\`, or in a CPIO archive attached to their NixOS initrd. \`nixos-install\` is not affected, nor are UEFI installations, nor was the default automatic partitioning configuration on legacy BIOS systems. The problem has been fixed in calamares-nixos-extensions 0.3.17, which was included in NixOS. The current installer images for the NixOS 24.05 and unstable (24.11) channels are unaffected. The fix reached 24.05 at 2024-08-13 20:06:59 UTC, and unstable at 2024-08-15 09:00:20 UTC. Installer images downloaded before those times may be vulnerable. The best solution for affected users is probably to back up their data and do a complete reinstallation. However, the mitigation procedure in GHSA-3rvf-24q2-24ww should work solely for the case where \`/\` is encrypted but \`/boot\` is not. If \`/\` is unencrypted, then the \`/crypto\_keyfile.bin\` file will need to be deleted in addition to the remediation steps in the previous advisory. This issue is a partial regression of CVE-2023-36476 / GHSA-3rvf-24q2-24ww, which was more severe as it applied to the default configuration on BIOS systems.

## Affected and fixed versions

- calamares-nixos-extensions: \< 0.3.17 (cvelist)

## Mitigation

- Upgrade calamares-nixos-extensions to 0.3.17 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2024-43378. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2024-43378.md
Affected: calamares-nixos-extensions < 0.3.17
Fixed in: calamares-nixos-extensions 0.3.17

Steps:
1. Search this machine and project for calamares-nixos-extensions: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2024-43378 being exploited?

There is no confirmed exploitation: CVE-2024-43378 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.17% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2024-43378?

High: CVSS 7.8 (v3.1, scored by CNA). Not remotely exploitable (local or adjacent access needed). The attack needs conditions outside the attacker's control, which makes it harder.

### Which versions are affected by CVE-2024-43378?

calamares-nixos-extensions \< 0.3.17.

### Is there a fix for CVE-2024-43378?

Yes. Fixed in calamares-nixos-extensions 0.3.17. Upgrade calamares-nixos-extensions to 0.3.17 or later.

### How do I check if I'm affected by CVE-2024-43378?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/NixOS/calamares-nixos-extensions/security/advisories/GHSA-vfxf-gpmj-2p25>
- vendor: <https://github.com/NixOS/calamares-nixos-extensions/security/advisories/GHSA-3rvf-24q2-24ww>
- patch: <https://github.com/NixOS/calamares-nixos-extensions/pull/43>
- patch: <https://github.com/NixOS/nixpkgs/pull/331607>
- patch: <https://github.com/NixOS/nixpkgs/pull/334252>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2024-43378>

HTML: <https://flawdb.com/CVE-2024-43378> · JSON: <https://flawdb.com/api/v1/entries/CVE-2024-43378>
