Improper Isolation or Compartmentalization Affecting armmbed/mbedtls package, versions [,2.28.8)[3.0.0,3.6.0)


Severity

Recommended
0.0
medium
0
10

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

Threat Intelligence

EPSS
0.05% (18th 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-6513783
  • published29 Mar 2024
  • disclosed29 Mar 2024
  • creditUnknown

Introduced: 29 Mar 2024

CVE-2024-28960  (opens in a new tab)
CWE-653  (opens in a new tab)

How to fix?

Upgrade armmbed/mbedtls to version 2.28.8, 3.6.0 or higher.

Overview

Affected versions of this package are vulnerable to Improper Isolation or Compartmentalization due to insecure handling of shared memory in the PSA Crypto APIs. An attacker can compromise data confidentiality and integrity by exploiting the mishandling of shared memory between the client application and the crypto server.

Note:

This is only exploitable if products use Mbed TLS to provide an implementation of the PSA Crypto API with domain isolation between API callers ("client application") and the API implementation ("crypto server"), where communication is done through shared memory. Applications that use Mbed TLS as a library inside their own process space are not affected.

CVSS Scores

version 3.1