CVE-2020-36421
Mbed TLS vulnerability analysis and mitigation

Overview

An issue was discovered in Arm Mbed TLS before version 2.23.0, identified as CVE-2020-36421. The vulnerability is related to a side channel in modular exponentiation that could potentially expose an RSA private key when used in a secure enclave. This vulnerability was discovered by researchers from Georgia Institute of Technology (Sangho Lee, Ming-Wei Shih, Prasun Gera, Taesoo Kim, and Hyesoon Kim) and Microsoft Research (Marcus Peinado), and was reported by Raoul Strackx from Fortanix (GitHub Issue).

Technical details

The vulnerability stems from a timing side-channel in the modular exponentiation implementation. The issue occurs because the front-end of the processor fetches instructions with a 16-byte well-aligned window, and the time to resume an instruction depends on its location within this fetch window and instructions near it. This timing difference can be exploited even in balanced branches, allowing attackers to determine control flow in SGX enclaves by precisely timing interrupt latency (GitHub Release).

Impact

The primary impact of this vulnerability is the potential disclosure of RSA private keys used within secure enclaves. An attacker with access to precise timing and memory access information, typically an untrusted operating system attacking a secure enclave, could potentially extract the private key material (GitHub Release).

Mitigation and workarounds

The vulnerability was fixed in Mbed TLS version 2.23.0 and backported to version 2.16.7. Users are recommended to upgrade to these or later versions. For Debian systems, the fix was included in version 2.16.9-0~deb10u1 (Debian Advisory).

Additional resources


SourceThis report was generated using AI

Related Mbed TLS vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-47917CRITICAL9.8
  • Mbed TLSMbed TLS
  • mbedtls
NoYesJul 20, 2025
CVE-2025-48965HIGH7.5
  • Mbed TLSMbed TLS
  • dolphin-emu-debugsource
NoYesJul 20, 2025
CVE-2025-54764MEDIUM6.2
  • Mbed TLSMbed TLS
  • mbedtls
NoYesOct 20, 2025
CVE-2025-59438MEDIUM5.3
  • Mbed TLSMbed TLS
  • mbedtls-doc
NoYesOct 21, 2025
CVE-2025-49087LOW3.7
  • Mbed TLSMbed TLS
  • mbedtls
NoYesJul 20, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management