lf-edge/eve · Security
EVE Has Partially Predetermined Vault Key
- GHSA ID
- GHSA-g7vp-j25f-h34p
- CVE ID
- CVE-2023-43637
- Severity
- medium
- Published
- Updated
- CVSS
- 6.7 · CVSS:3.1/AV:P/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N
- CVSS v3
- 6.7 · CVSS:3.1/AV:P/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:N
Description
Impact
The deriveVaultKey function calls retrieveCloudKey which always returns "foobarfoobarfoobarfoobarfoobarfo". When merged with the randomly generated 32-byte key using mergeKeys (16 bytes from each), the last 16 bytes are always "arfoobarfoobarfo". This enables an attacker with physical access to the EVE-OS device to attempt to brute force the remaining 128 bits of key.
Patches
Fixed in 7.10 and 8.12.1-lts
Workarounds
None
CWEs
- CWE-321 · Use of Hard-coded Cryptographic Key
- CWE-798 · Use of Hard-coded Credentials
References
- https://github.com/lf-edge/eve/security/advisories/GHSA-g7vp-j25f-h34p ↗
- https://nvd.nist.gov/vuln/detail/CVE-2023-43637 ↗
- https://github.com/lf-edge/eve/commit/c0c966dc31e2ed9aafc155e6be646adb14756c01 ↗
- https://asrg.io/security-advisories/cve-2023-43637 ↗
- https://asrg.io/security-advisories/vault-key-partially-predetermined ↗
- https://github.com/advisories/GHSA-g7vp-j25f-h34p ↗