Heap-based Buffer Overflow Affecting armmbed/mbedtls package, versions [,2.28.7)[3.0.0,3.5.2)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.06% (30th 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-6244826
  • published13 Feb 2024
  • disclosed31 Jan 2024
  • creditJonathan Winzig

Introduced: 31 Jan 2024

CVE-2024-23775  (opens in a new tab)
CWE-122  (opens in a new tab)

How to fix?

Upgrade armmbed/mbedtls to version 2.28.7, 3.5.2 or higher.

Overview

Affected versions of this package are vulnerable to Heap-based Buffer Overflow via the mbedtls_x509_set_extension function. An attacker can cause a segfault by sending crafted input to trigger an integer overflow.

CVSS Scores

version 3.1