Use of a Risky Cryptographic Algorithm Affecting armmbed/mbedtls package, versions [2.7.0,2.7.15)[2.16.0,2.16.6)


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 Risky Cryptographic Algorithm vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-ARMMBEDMBEDTLS-2368691
  • published26 Jan 2022
  • disclosed15 Apr 2020
  • creditUnknown

Introduced: 15 Apr 2020

CVE-2020-10932  (opens in a new tab)
CWE-327  (opens in a new tab)

How to fix?

Upgrade armmbed/mbedtls to version 2.7.15, 2.16.6 or higher.

Overview

Affected versions of this package are vulnerable to Use of a Risky Cryptographic Algorithm. An issue was discovered in Arm Mbed TLS before 2.16.6 and 2.7.x before 2.7.15. An attacker that can get precise enough side-channel measurements can recover the long-term ECDSA private key by (1) reconstructing the projective coordinate of the result of scalar multiplication by exploiting side channels in the conversion to affine coordinates; (2) using an attack described by Naccache, Smart, and Stern in 2003 to recover a few bits of the ephemeral scalar from those projective coordinates via several measurements; and (3) using a lattice attack to get from there to the long-term ECDSA private key used for the signatures. Typically an attacker would have sufficient access when attacking an SGX enclave and controlling the untrusted OS.

References

CVSS Scores

version 3.1