CVE-2023-37479

Open Enclave is a hardware-agnostic open source library for developing applications that utilize Hardware-based Trusted Execution Environments, also known as Enclaves. There are two issues that are mitigated in version 0.19.3. First, Open Enclave SDK does not properly sanitize the `MXCSR` register on enclave entry. This makes applications vulnerable to MXCSR Configuration Dependent Timing (MCDT) attacks, where incorrect `MXCSR` values can impact instruction retirement by at most one cycle, depending on the (secret) data operand value. Please find more details in the guidance from Intel in the references. Second, Open Enclave SDK does not sanitize x86's alignment check flag `RFLAGS.AC` on enclave entry. This opens up the possibility for a side-channel attacker to be notified for every unaligned memory access performed by the enclave. The issue has been addressed in version 0.19.3 and the current master branch. Users will need to recompile their applications against the patched libraries to be protected from this vulnerability. There are no known workarounds for this vulnerability.
Configurations

Configuration 1 (hide)

cpe:2.3:a:openenclave:openenclave:*:*:*:*:*:*:*:*

History

28 Jul 2023, 13:53

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.5
First Time Openenclave openenclave
Openenclave
CPE cpe:2.3:a:openenclave:openenclave:*:*:*:*:*:*:*:*
References (MISC) https://github.com/openenclave/openenclave/commit/ca54623333875b9beaad92c999a92b015c44b079 - (MISC) https://github.com/openenclave/openenclave/commit/ca54623333875b9beaad92c999a92b015c44b079 - Patch
References (MISC) https://www.intel.com/content/www/us/en/developer/articles/technical/software-security-guidance/best-practices/mxcsr-configuration-dependent-timing.html - (MISC) https://www.intel.com/content/www/us/en/developer/articles/technical/software-security-guidance/best-practices/mxcsr-configuration-dependent-timing.html - Technical Description
References (MISC) https://github.com/openenclave/openenclave/security/advisories/GHSA-5gfr-m6mx-p5w4 - (MISC) https://github.com/openenclave/openenclave/security/advisories/GHSA-5gfr-m6mx-p5w4 - Vendor Advisory

17 Jul 2023, 23:15

Type Values Removed Values Added
New CVE

Information

Published : 2023-07-17 23:15

Updated : 2024-02-28 20:33


NVD link : CVE-2023-37479

Mitre link : CVE-2023-37479

CVE.ORG link : CVE-2023-37479


JSON object : View

Products Affected

openenclave

  • openenclave
CWE
CWE-665

Improper Initialization