Heap-based Buffer Overflow Affecting armmbed/mbedtls package, versions [,2.28.2)[3.0.0,3.3.0)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.32% (71st 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-5488378
  • published16 Dec 2022
  • disclosed16 Dec 2022
  • creditUnknown

Introduced: 16 Dec 2022

CVE-2022-46393  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade armmbed/mbedtls to version 2.28.2, 3.3.0 or higher.

Overview

Affected versions of this package are vulnerable to Heap-based Buffer Overflow in DTLS if MBEDTLS_SSL_DTLS_CONNECTION_ID is enabled and MBEDTLS_SSL_CID_IN_LEN_MAX > 2 * MBEDTLS_SSL_CID_OUT_LEN_MAX.

CVSS Scores

version 3.1