`calamares-nixos-extensions` LUKS keyfile exposure
calamares-nixos-extensions provides Calamares branding and modules for NixOS, a distribution of GNU/Linux. Users of calamares-nixos-extensions version 0.3.12 and prior who installed NixOS through the graphical calamares installer, with an unencrypted `/boot`, on either non-UEFI systems or with a LUKS partition different from `/` have their LUKS key file in `/boot` as a plaintext CPIO archive attached to their NixOS initrd. A patch is available and anticipated to be part of version 0.3.13 to backport to NixOS 22.11, 23.05, and unstable channels. Expert users who have a copy of their data may, as a workaround, re-encrypt the LUKS partition(s) themselves.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2023-36476
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 22:14 UTC · Revision 1
Source evidence
`calamares-nixos-extensions` LUKS keyfile exposure
core-osv · Original sourcePublished 29 Jun 2023, 00:18 UTC
calamares-nixos-extensions provides Calamares branding and modules for NixOS, a distribution of GNU/Linux. Users of calamares-nixos-extensions version 0.3.12 and prior who installed NixOS through the graphical calamares installer, with an unencrypted `/boot`, on either non-UEFI systems or with a LUKS partition different from `/` have their LUKS key file in `/boot` as a plaintext CPIO archive attached to their NixOS initrd. A patch is available and anticipated to be part of version 0.3.13 to backport to NixOS 22.11, 23.05, and unstable channels. Expert users who have a copy of their data may, as a workaround, re-encrypt the LUKS partition(s) themselves.
osv:CVE-2023-36476
Complete source record
{
"id": "5b94eb6cba5ff6147ac5da2091b4105497a51486e16ae9aac4f8caa53b26503d",
"url": "https://osv.dev/vulnerability/CVE-2023-36476",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "`calamares-nixos-extensions` LUKS keyfile exposure",
"summary": "calamares-nixos-extensions provides Calamares branding and modules for NixOS, a distribution of GNU/Linux. Users of calamares-nixos-extensions version 0.3.12 and prior who installed NixOS through the graphical calamares installer, with an unencrypted `/boot`, on either non-UEFI systems or with a LUKS partition different from `/` have their LUKS key file in `/boot` as a plaintext CPIO archive attached to their NixOS initrd. A patch is available and anticipated to be part of version 0.3.13 to backport to NixOS 22.11, 23.05, and unstable channels. Expert users who have a copy of their data may, as a workaround, re-encrypt the LUKS partition(s) themselves.",
"evidence": "osv:CVE-2023-36476",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2023-36476",
"aliases": [
"CVE-2023-36476",
"GHSA-3rvf-24q2-24ww"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/nixos/calamares-nixos-extensions",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "d06ae23dbd71305e82d41778daa7dbb6ece124dc"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "0"
},
{
"last_affected": "0.3.12"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"cpe": "cpe:2.3:a:nixos:calamares-nixos-extensions:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "0.3.13"
}
],
"source": "CPE_RANGE"
}
]
}
},
{
"repo": "https://github.com/vlinkz/calamares-nixos-extensions",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "837ca4da5521a74d3b5ca6f7b88890a6713faa22"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"fixed": "837ca4da5521a74d3b5ca6f7b88890a6713faa22"
}
],
"source": "REFERENCES_COMMIT"
}
]
}
}
],
"versions": [
"0.3.12",
"0.3.11",
"0.3.10",
"0.3.9",
"0.3.8",
"0.3.7",
"0.3.6",
"0.3.5",
"0.3.4",
"0.3.3",
"0.3.2",
"0.3.1",
"0.3.0",
"0.2.5",
"0.2.4",
"0.2.3",
"0.2.2",
"0.2.1",
"0.2.0",
"0.1.1",
"0.1.0",
"0.0.3",
"0.0.2",
"0.0.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2023-36476.json"
}
}
],
"modified": "2026-10-28T02:30:39.926858100Z",
"provider": "osv",
"references": [
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/36xxx/CVE-2023-36476.json",
"https://github.com/NixOS/calamares-nixos-extensions/security/advisories/GHSA-3rvf-24q2-24ww",
"https://nvd.nist.gov/vuln/detail/CVE-2023-36476",
"https://github.com/osresearch/heads/issues/1348",
"https://github.com/vlinkz/calamares-nixos-extensions/commit/837ca4da5521a74d3b5ca6f7b88890a6713faa22"
],
"provider_metadata": {
"cwe_ids": [
"CWE-200"
],
"cna_assigner": "GitHub_M",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/36xxx/CVE-2023-36476.json"
}
},
"related_cves": [
{
"value": "CVE-2023-36476",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 507509,
"published_at": "2023-06-29T00:18:42.532+00:00"
}