PT-2021-7637 · Arm+2 · Mbed Tls+2

Published

2021-07-07

·

Updated

2025-06-30

·

CVE-2021-36647

CVSS v3.1

4.7

Medium

VectorAV:L/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
Name of the Vulnerable Software and Affected Versions Mbed TLS versions prior to 3.0.0 Mbed TLS versions prior to 2.27.0 Mbed TLS versions prior to 2.16.11
Description The issue is related to the use of a broken or risky cryptographic algorithm in the mbedtls mpi exp mod() function in lignum.c in Mbed TLS. This allows attackers with access to precise enough timing and memory access information, typically an untrusted operating system attacking a secure enclave, to recover the private keys used in RSA.
Recommendations For versions prior to 3.0.0, update to version 3.0.0 or later. For versions prior to 2.27.0, update to version 2.27.0 or later. For versions prior to 2.16.11, update to version 2.16.11 or later. As a temporary workaround, consider restricting access to the mbedtls mpi exp mod() function in lignum.c until a patch is available.

Fix

Use of a Broken Cryptographic Algorithm

Weakness Enumeration

Related Identifiers

ALT-PU-2021-2163
ALT-PU-2021-2172
ALT-PU-2021-2234
AZL-13023
AZL-47713
BDU:2023-00604
CVE-2021-36647
DLA-4236-1

Affected Products

Alt Linux
Debian
Mbed Tls