RSA private-key disclosure via secret-dependent branching
Published Jul 19, 2021 · Updated Dec 3, 2025
Side-channel information disclosure in Arm Mbed TLS before 2.23.0 allows local users to recover RSA private keys from secure enclaves. The mpi_montmul routine branches on secret-dependent comparison results, letting interrupt-resume timing reveal the control-flow path taken during modular exponentiation. Exploitation requires OS-level control of precise interrupts against an SGX enclave and enough observations to reconstruct the enclave's RSA key.
Summary
What happened
Side-channel information disclosure in Arm Mbed TLS before 2.23.0 allows local users to recover RSA private keys from secure enclaves. The mpi_montmul routine branches on secret-dependent comparison results, letting interrupt-resume timing reveal the control-flow path taken during modular exponentiation. Exploitation requires OS-level control of precise interrupts against an SGX enclave and enough observations to reconstruct the enclave's RSA key.
The record
- CVE
- CVE-2020-36421
- Published
- Jul 19, 2021
- Updated
- Dec 3, 2025
- Vendor
- Unknown vendor
- Product
- Unknown product
- Classifications
- CWE-203, T1552.004
- Attack vector
- local
- Privileges
- admin
Timeline
How it unfolded
- Jul 19, 2021CVE publishedPublication date reported by the CVE source.
- Dec 3, 2025Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
What conditions does exploitation require?
What is affected?
Affected products and versions are unavailable in this record.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
- Frontal Attack SGX demonstrationproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo