User Enumeration Affecting mbedtls package, versions [,2.23.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.07% (23rd 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 IDSNYK-CONAN-MBEDTLS-10077647
  • published8 May 2025
  • disclosed2 Sept 2020
  • creditUnknown

Introduced: 2 Sep 2020

CVE-2020-16150  (opens in a new tab)
CWE-203  (opens in a new tab)

How to fix?

Upgrade mbedtls to version 2.23.0 or higher.

Overview

Affected versions of this package are vulnerable to User Enumeration. A Lucky 13 timing side channel in mbedtls_ssl_decrypt_buf in library/ssl_msg.c in Trusted Firmware Mbed TLS through 2.23.0 allows an attacker to recover secret key information. This affects CBC mode because of a computed time difference based on a padding length.

CVSS Base Scores

version 3.1