Missing Cryptographic Step Affecting armmbed/mbedtls package, versions [2.26.0,2.28.9) [3.0.0,3.6.1)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team

    Threat Intelligence

    EPSS
    0.05% (22nd 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 ID SNYK-UNMANAGED-ARMMBEDMBEDTLS-7919066
  • published 6 Sep 2024
  • disclosed 5 Sep 2024
  • credit Unknown

How to fix?

Upgrade armmbed/mbedtls to version 2.28.9, 3.6.1 or higher.

Overview

Affected versions of this package are vulnerable to Missing Cryptographic Step due to the incorrectly documented algorithm selection mechanism. An attacker can bypass security restrictions by exploiting the misconfiguration in the cryptographic algorithm selection process.

Workaround

To use HMAC_DRBG as the pseudorandom generator in the PSA subsystem, make sure that the compile-time option MBEDTLS_CTR_DRBG_C is disabled.

CVSS Scores

version 4.0
version 3.1
Expand this section

Snyk

Recommended
6.3 medium
  • Attack Vector (AV)
    Network
  • Attack Complexity (AC)
    High
  • Attack Requirements (AT)
    None
  • Privileges Required (PR)
    None
  • User Interaction (UI)
    None
  • Confidentiality (VC)
    Low
  • Integrity (VI)
    Low
  • Availability (VA)
    None
  • Confidentiality (SC)
    None
  • Integrity (SI)
    None
  • Availability (SA)
    None