User Enumeration Affecting mbedtls package, versions [,2.28.4)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.35% (58th 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-10077645
  • published8 May 2025
  • disclosed14 Jul 2021
  • creditUnknown

Introduced: 14 Jul 2021

CVE-2021-24119  (opens in a new tab)
CWE-203  (opens in a new tab)

How to fix?

Upgrade mbedtls to version 2.28.4 or higher.

Overview

Affected versions of this package are vulnerable to User Enumeration. In Trusted Firmware Mbed TLS 2.24.0, a side-channel vulnerability in base64 PEM file decoding allows system-level (administrator) attackers to obtain information about secret RSA keys via a controlled-channel and side-channel attack on software running in isolated environments that can be single stepped, especially Intel SGX.

CVSS Base Scores

version 3.1