Use of a Broken or Risky Cryptographic Algorithm Affecting armmbed/mbedtls package, versions [,2.16.11)[2.17.0,2.27.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.06% (27th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Use of a Broken or Risky Cryptographic Algorithm vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-ARMMBEDMBEDTLS-3244956
  • published23 Jan 2023
  • disclosed23 Jan 2023
  • creditZili Kou, Wenjian He, Sharad Sinha, and Wei Zhang

Introduced: 23 Jan 2023

CVE-2021-36647  (opens in a new tab)
CWE-327  (opens in a new tab)

How to fix?

Upgrade armmbed/mbedtls to version 2.16.11, 2.27.0 or higher.

Overview

Affected versions of this package are vulnerable to Use of a Broken or Risky Cryptographic Algorithm in the function mbedtls_mpi_exp_mod() in lignum.c, which 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.

References

CVSS Scores

version 3.1