4.7
MEDIUM
CVE-2021-36647
Mbed TLS Exposes RSA Private Keys in SGX Secure Enclave
Description

Use of a Broken or Risky Cryptographic Algorithm in the function mbedtls_mpi_exp_mod() in lignum.c in Mbed TLS Mbed TLS all versions before 3.0.0, 2.27.0 or 2.16.11 allows attackers with access to precise enough timing and memory access information (typically an untrusted operating system attacking a secure enclave such as SGX or the TrustZone secure world) to recover the private keys used in RSA.

INFO

Published Date :

Jan. 17, 2023, 9:15 p.m.

Last Modified :

Nov. 21, 2024, 6:13 a.m.

Remotely Exploitable :

No

Impact Score :

3.6

Exploitability Score :

1.0
Public PoC/Exploit Available at Github

CVE-2021-36647 has a 1 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2021-36647 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Arm mbed_tls
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2021-36647.

URL Resource
https://github.com/ARMmbed/mbedtls/releases/ Third Party Advisory
https://kouzili.com/Load-Step.pdf Third Party Advisory
https://tls.mbed.org/tech-updates/security-advisories/mbedtls-security-advisory-2021-07-1 Vendor Advisory
https://github.com/ARMmbed/mbedtls/releases/ Third Party Advisory
https://kouzili.com/Load-Step.pdf Third Party Advisory
https://tls.mbed.org/tech-updates/security-advisories/mbedtls-security-advisory-2021-07-1 Vendor Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

Prototype of the precise TrustZone execution control framework for exploring side-channel attacks.

Makefile Shell C Assembly Python

Updated: 7 months, 3 weeks ago
4 stars 0 fork 0 watcher
Born at : Jan. 26, 2022, 12:20 p.m. This repo has been linked 1 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2021-36647 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2021-36647 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by af854a3a-2127-422b-91ae-364da2661108

    Nov. 21, 2024

    Action Type Old Value New Value
    Added Reference https://github.com/ARMmbed/mbedtls/releases/
    Added Reference https://kouzili.com/Load-Step.pdf
    Added Reference https://tls.mbed.org/tech-updates/security-advisories/mbedtls-security-advisory-2021-07-1
  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • Initial Analysis by [email protected]

    Jan. 27, 2023

    Action Type Old Value New Value
    Added CVSS V3.1 NIST AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
    Changed Reference Type https://github.com/ARMmbed/mbedtls/releases/ No Types Assigned https://github.com/ARMmbed/mbedtls/releases/ Third Party Advisory
    Changed Reference Type https://kouzili.com/Load-Step.pdf No Types Assigned https://kouzili.com/Load-Step.pdf Third Party Advisory
    Changed Reference Type https://tls.mbed.org/tech-updates/security-advisories/mbedtls-security-advisory-2021-07-1 No Types Assigned https://tls.mbed.org/tech-updates/security-advisories/mbedtls-security-advisory-2021-07-1 Vendor Advisory
    Added CWE NIST CWE-327
    Added CPE Configuration OR *cpe:2.3:a:arm:mbed_tls:*:*:*:*:*:*:*:* versions up to (excluding) 2.16.11 *cpe:2.3:a:arm:mbed_tls:*:*:*:*:*:*:*:* versions from (including) 2.17.0 up to (excluding) 2.27.0 *cpe:2.3:a:arm:mbed_tls:*:*:*:*:*:*:*:* versions from (including) 2.28.0 up to (excluding) 3.0.0
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2021-36647 is associated with the following CWEs:

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.06 }} 0.00%

score

0.23903

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability