Skip to content

CVE-2021-36647 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 pre...

MediumCVSS 4.7 EPSS 0.17%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: partial
Technology
UbuntuDebian

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.

Upgrade path

9 packages: 6 fixed, 3 with no fix yet.

PackageAffectedFixed inStatus
ubuntu/mbedtls(Ubuntu 16.04) = 2.1.2-1; = 2.2.0-1; = 2.2.1-1; = 2.2.1-2 +4 more No fix listed No fix yet
ubuntu/mbedtls(Ubuntu Pro 18.04) = 2.5.1-1ubuntu1; = 2.6.0-1; = 2.7.0-2; = 2.8.0-1 +2 more No fix listed No fix yet
ubuntu/mbedtls(Ubuntu Pro 20.04) = 2.16.2-1; = 2.16.3-1; = 2.16.4-1ubuntu2; = 2.16.4-1ubuntu2+esm1 +1 more No fix listed No fix yet
Arm Ltd mbed tls < 2.16.11; >= 2.17.0, < 2.27.0 2.16.11, 2.27.0 Fixed
debian/mbedtls(Debian 12) < 2.16.11-0.1 2.16.11-0.1 Fixed
debian/mbedtls(Debian 13) < 2.16.11-0.1 2.16.11-0.1 Fixed
debian/mbedtls(Debian 14) < 2.16.11-0.1 2.16.11-0.1 Fixed
Microsoft cbl mariner < 1.0.1-6; < 2.0.9-1 1.0.1-6, 2.0.9-1 Fixed
TrustedFirmware Mbed TLS >= 2.28.0, < 3.0.0 3.0.0 Fixed

Affected products

ProductAffected versionsFixed in
Microsoft cbl mariner < 2.0.9-1 2.0.9-1
Microsoft cbl mariner < 1.0.1-6 1.0.1-6
debian/mbedtls(Debian:12) < 2.16.11-0.1 2.16.11-0.1
debian/mbedtls(Debian:13) < 2.16.11-0.1 2.16.11-0.1
debian/mbedtls(Debian:14) < 2.16.11-0.1 2.16.11-0.1
Arm Ltd mbed tls < 2.16.11 2.16.11
Arm Ltd mbed tls >= 2.17.0, < 2.27.0 2.27.0
TrustedFirmware Mbed TLS >= 2.28.0, < 3.0.0 3.0.0
ubuntu/mbedtls(Ubuntu:16.04) All versions No fix listed
ubuntu/mbedtls(Ubuntu:16.04) = 2.1.2-1 No fix listed
ubuntu/mbedtls(Ubuntu:16.04) = 2.2.0-1 No fix listed
ubuntu/mbedtls(Ubuntu:16.04) = 2.2.1-1 No fix listed
ubuntu/mbedtls(Ubuntu:16.04) = 2.2.1-2 No fix listed
ubuntu/mbedtls(Ubuntu:16.04) = 2.2.1-2ubuntu0.1 No fix listed
ubuntu/mbedtls(Ubuntu:16.04) = 2.2.1-2ubuntu0.2 No fix listed
ubuntu/mbedtls(Ubuntu:16.04) = 2.2.1-2ubuntu0.3 No fix listed
ubuntu/mbedtls(Ubuntu:Pro:18.04) All versions No fix listed
ubuntu/mbedtls(Ubuntu:Pro:18.04) = 2.5.1-1ubuntu1 No fix listed
ubuntu/mbedtls(Ubuntu:Pro:18.04) = 2.6.0-1 No fix listed
ubuntu/mbedtls(Ubuntu:Pro:18.04) = 2.7.0-2 No fix listed
ubuntu/mbedtls(Ubuntu:Pro:18.04) = 2.8.0-1 No fix listed
ubuntu/mbedtls(Ubuntu:Pro:18.04) = 2.8.0-1ubuntu0.1~esm1 No fix listed
ubuntu/mbedtls(Ubuntu:Pro:20.04) All versions No fix listed
ubuntu/mbedtls(Ubuntu:Pro:20.04) = 2.16.2-1 No fix listed
ubuntu/mbedtls(Ubuntu:Pro:20.04) = 2.16.3-1 No fix listed
Show 2 more
ProductAffected versionsFixed in
ubuntu/mbedtls(Ubuntu:Pro:20.04) = 2.16.4-1ubuntu2 No fix listed
ubuntu/mbedtls(Ubuntu:Pro:20.04) = 2.16.4-1ubuntu2+esm1 No fix listed

References