{"id":"CVE-2025-59054","aliases":["CVE-2025-59054"],"related":[],"kind":"vulnerability","state":"published","title":"dstack has insecure LUKS2 persistent storage partitions that may be opened and used","summary":"dstack is a software development kit (SDK) to simplify the deployment of arbitrary containerized apps into trusted execution environments. In versions of dstack prior to 0.5.4, a malicious host may provide a crafted LUKS2 data volume to a dstack CVM for use as the `/data` mount. The guest will open the volume and write secret data using a volume key known to the attacker, causing disclosure of Wireguard keys and other secret information. The attacker can also pre-load data on the device, which could potentially compromise guest execution. LUKS2 volume metadata is not authenticated and supports null key-encryption algorithms, allowing an attacker to create a volume such that the volume opens (cryptsetup open) without error using any passphrase or token, records all writes in plaintext (or ciphertext with an attacker-known key), and/or contains arbitrary data chosen by the attacker. Version 0.5.4 of dstack contains a patch that addresses LUKS headers.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"dstack is a software development kit (SDK) to simplify the deployment of arbitrary containerized apps into trusted execution environments. In versions of dstack prior to 0.5.4, a malicious host may provide a crafted LUKS2 data volume to a dstack CVM for use as the `/data` mount. The guest will open the volume and write secret data using a volume key known to the attacker, causing disclosure of Wireguard keys and other secret information. The attacker can also pre-load data on the device, which could potentially compromise guest execution. LUKS2 volume metadata is not authenticated and supports null key-encryption algorithms, allowing an attacker to create a volume such that the volume opens (cryptsetup open) without error using any passphrase or token, records all writes in plaintext (or ciphertext with an attacker-known key), and/or contains arbitrary data chosen by the attacker. Version 0.5.4 of dstack contains a patch that addresses LUKS headers.","source":"cvelist"},{"lang":"es","text":"dstack es un kit de desarrollo de software (SDK) para simplificar el despliegue de aplicaciones contenerizadas arbitrarias en entornos de ejecución confiables. En versiones de dstack anteriores a la 0.5.4, un host malicioso puede proporcionar un volumen de datos LUKS2 manipulado a una CVM de dstack para su uso como punto de montaje '/data'. El invitado abrirá el volumen y escribirá datos secretos utilizando una clave de volumen conocida por el atacante, lo que provocará la divulgación de claves de Wireguard y otra información secreta. El atacante también puede precargar datos en el dispositivo, lo que podría comprometer la ejecución del invitado. Los metadatos del volumen LUKS2 no están autenticados y admiten algoritmos de cifrado de clave nula, lo que permite a un atacante crear un volumen de tal manera que el volumen se abra (cryptsetup open) sin error utilizando cualquier frase de contraseña o token, registre todas las escrituras en texto plano (o texto cifrado con una clave conocida por el atacante), y/o contenga datos arbitrarios elegidos por el atacante. La versión 0.5.4 de dstack contiene un parche que aborda los encabezados LUKS.","source":"nvd"}],"published":"2025-09-12T13:01:02.816Z","modified":"2026-10-19T17:10:00.173Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","score":8.5,"rating":"HIGH"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","score":8.5,"rating":"HIGH"}],"cwes":["CWE-552"],"affected":[{"ranges":[{"version":"< 0.5.4","status":"affected"}],"vendor":"Dstack-TEE","product":"dstack","source":"cvelist"}],"references":[{"url":"https://github.com/Dstack-TEE/dstack/security/advisories/GHSA-jxq2-hpw3-m5wf","tags":["x-refsource-confirm"],"sources":["cvelist","nvd"]},{"url":"https://github.com/Dstack-TEE/dstack/commit/e36ad5f732d8821876a861934e1f47cda7b1a130","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/Dstack-TEE/dstack/blob/04de4e422bb06f075b4215b2cfc410f5d7ac7aed/dstack-util/src/system_setup.rs#L453-L456","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://gitlab.com/cryptsetup/cryptsetup/-/merge_requests/837","tags":["x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://blog.trailofbits.com/2025/10/30/vulnerabilities-in-luks2-disk-encryption-for-confidential-vms/","tags":[],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-09-12T14:34:31.449Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-59054","url":"https://www.cve.org/CVERecord?id=CVE-2025-59054","licence":"CVE Terms of Use","modified":"2025-11-28T14:46:59.604Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-59054","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-59054","licence":"Public domain","modified":"2026-10-19T17:10:00.173Z"}],"updatedAt":"2026-11-25T22:59:04.598Z","epss":{"score":0.00162,"percentile":0.0565,"date":"2026-12-01T12:00:22.000Z"}}