Use of Uninitialized Resource Affecting armmbed/mbedtls package, versions [,2.28.10)[3.0.0,3.6.3)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.05% (14th 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-UNMANAGED-ARMMBEDMBEDTLS-9673797
  • published7 Apr 2025
  • disclosed23 Mar 2025
  • creditUnknown

Introduced: 23 Mar 2025

NewCVE-2025-27810  (opens in a new tab)
CWE-908  (opens in a new tab)

How to fix?

Upgrade armmbed/mbedtls to version 2.28.10, 3.6.3 or higher.

Overview

Affected versions of this package are vulnerable to Use of Uninitialized Resource in the mbedtls_ssl_write_finished() function, which may access uninitialized stack memory. An attacker can time a failure in a different component to coincide with the composition of the Finished message, and thereby violate the guarantee of the TLS handshake.

CVSS Base Scores

version 4.0
version 3.1