CVE-2023-43636
In EVE OS, the “measured boot” mechanism prevents a compromised device from accessing the encrypted data located in the vault. As per the “measured boot” design, the PCR values calculated at different stages of the boot process will change if any of their respective parts are changed. This includes, among other things, the configuration of the bios, grub, the kernel cmdline, initrd, and more. However, this mechanism does not validate the entire rootfs, so an attacker can edit the filesystem and gain control over the system. As the default filesystem used by EVE OS is squashfs, this is somewhat harder than an ext4, which is easily changeable. This will not stop an attacker, as an attacker can repackage the squashfs with their changes in it and replace the partition altogether. This can also be done directly on the device, as the “003-storage-init” container contains the “mksquashfs” and “unsquashfs” binaries (with the corresponding libs). An attacker can gain full control over the device without changing the PCR values, thus not triggering the “measured boot” mechanism, and having full access to the vault. Note: This issue was partially fixed in these commits (after disclosure to Zededa), where the config partition measurement was added to PCR13: • aa3501d6c57206ced222c33aea15a9169d629141 • 5fef4d92e75838cc78010edaed5247dfbdae1889. This issue was made viable in version 9.0.0 when the calculation was moved to PCR14 but it was not included in the measured boot.
EPSS 0.03% · 8.4th percentile
Risk Scores
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| LF-Edge, Zededa | EVE OS | 9.0.0, 0, 9.0.0 |
| linuxfoundation | edge_virtualization_engine | 0, 0, 9.0.0 |
| github.com | lf-edge/eve/pkg/grub | 0, 0 |
Timeline
- Sep 20, 2023 CVE Published
- Sep 22, 2023 EPSS Score
- Oct 24, 2023 EPSS Score
- Nov 25, 2023 EPSS Score
- Dec 27, 2023 EPSS Score
- Jan 28, 2024 EPSS Score
- Feb 29, 2024 EPSS Score
- Apr 1, 2024 EPSS Score
- May 3, 2024 EPSS Score
- Jun 4, 2024 EPSS Score
- Jul 6, 2024 EPSS Score
- Aug 7, 2024 EPSS Score
References
- https://asrg.io/security-advisories/cve-2023-43636/ url
- https://github.com/lf-edge/eve/security/advisories/GHSA-5h7v-g49c-h887 url
- https://nvd.nist.gov/vuln/detail/CVE-2023-43636 advisory
- https://github.com/lf-edge/eve/commit/5fef4d92e75838cc78010edaed5247dfbdae1889 url
- https://github.com/lf-edge/eve/commit/aa3501d6c57206ced222c33aea15a9169d629141 url
- https://asrg.io/security-advisories/19274 url
- https://asrg.io/security-advisories/cve-2023-43636 url
- https://github.com/lf-edge/eve package