{"id":"CVE-2024-43378","aliases":["CVE-2024-43378"],"related":[],"kind":"vulnerability","state":"published","title":"calamares-nixos-extensions LUKS keyfile exposure regression on legacy BIOS systems","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"calamares-nixos-extensions proporciona la marca Calamares y módulos para NixOS, una distribución de GNU/Linux. Usuarios que instalaron NixOS a través del instalador gráfico que utilizaron la partición manual del disco para crear una configuración en la que el sistema se inició a través de BIOS heredado en lugar de UEFI; algunas particiones del disco están cifradas; pero las particiones que contienen `/` o `/boot` no están cifradas; tener su archivo de clave de cifrado de disco LUKS en texto plano, ya sea en `/crypto_keyfile.bin` o en un archivo CPIO adjunto a su initrd de NixOS. `nixos-install` no se ve afectado, ni tampoco las instalaciones UEFI, ni la configuración de partición automática predeterminada en los sistemas BIOS heredados. El problema se solucionó en calamares-nixos-extensions 0.3.17, que se incluyó en NixOS. Las imágenes del instalador actual para los canales NixOS 24.05 e inestable (24.11) no se ven afectadas. La corrección llegó a las 24.05 el 13 de agosto de 2024 a las 20:06:59 UTC y fue inestable el 15 de agosto de 2024 a las 09:00:20 UTC. Las imágenes del instalador descargadas antes de esas fechas pueden ser vulnerables. La mejor solución para los usuarios afectados probablemente sea hacer una copia de seguridad de sus datos y realizar una reinstalación completa. Sin embargo, el procedimiento de mitigación en GHSA-3rvf-24q2-24ww debería funcionar únicamente en el caso en el que `/` esté cifrado pero `/boot` no. Si `/` no está cifrado, entonces será necesario eliminar el archivo `/crypto_keyfile.bin` además de seguir los pasos de corrección del aviso anterior. Este problema es una regresión parcial de CVE-2023-36476/GHSA-3rvf-24q2-24ww, que era más grave al aplicarse a la configuración predeterminada en los sistemas BIOS.","source":"nvd"}],"published":"2024-08-15T23:53:07.103Z","modified":"2026-06-17T07:50:54.870Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N","score":7.8,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:N","score":7.8,"rating":"HIGH"}],"cwes":["CWE-256"],"affected":[{"ranges":[{"version":"< 0.3.17","status":"affected"}],"vendor":"NixOS","product":"calamares-nixos-extensions","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","fixed":"0.3.17","status":"affected"}],"vendor":"nixos","product":"calamares-nixos-extensions","cpe":"cpe:2.3:a:nixos:calamares-nixos-extensions:*:*:*:*:*:*:*:*","source":"cvelist"}],"references":[{"url":"https://github.com/NixOS/calamares-nixos-extensions/security/advisories/GHSA-vfxf-gpmj-2p25","tags":["x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/NixOS/calamares-nixos-extensions/security/advisories/GHSA-3rvf-24q2-24ww","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/NixOS/calamares-nixos-extensions/pull/43","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/NixOS/nixpkgs/pull/331607","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/NixOS/nixpkgs/pull/334252","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2024-08-19T20:54:33.909Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-43378","url":"https://www.cve.org/CVERecord?id=CVE-2024-43378","licence":"CVE Terms of Use","modified":"2024-09-03T18:02:47.756Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-43378","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-43378","licence":"Public domain","modified":"2026-06-17T07:50:54.870Z"}],"updatedAt":"2026-11-25T22:58:44.435Z","epss":{"score":0.00131,"percentile":0.02934,"date":"2026-12-01T12:00:22.000Z"}}