CVE-2021-36647
JSON

4.7medium

Use of a Broken or Risky Cryptographic Algorithm in the function mbedtlsmpiexpmod() in lignum.c in Mbed TLS Mbed TLS all versions before 3.…

Severity
4.7medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.17% (higher than 6% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
mitre

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.

Affected

Product or packageVersionsReported by
Unspecified productn/aCVE List
arm mbed_tlsbefore 2.16.11, from 2.17.0 before 2.27.0NVD
trustedfirmware mbed_tlsfrom 2.28.0 before 3.0.0NVD

All scores

CISA-ADP4.7medium CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
NVD4.7medium CVSS:3.1CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N

Classification

CWE-327

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

NVD (es)

Uso de un algoritmo criptográfico roto o riesgoso en la función mbedtls_mpi_exp_mod() en lignum.c en Mbed TLS Mbed TLS todas las versiones anteriores a 3.0.0, 2.27.0 o 2.16.11 permite a los atacantes acceder a información de tiempo y acceso a memoria suficientemente precisa (normalmente un sistema operativo que no es de confianza que ataca un enclave seguro como SGX o el mundo seguro TrustZone) para recuperar las claves privadas utilizadas en RSA.

References

Sources

SourceRecordLicence
CVE ListCVE-2021-36647 changed 2025-11-03CVE Terms of Use
NVDCVE-2021-36647 changed 2026-06-17Public domain