What’s Vulnerable › Vulnerabilities
CVE-2024-45157
- Severity: medium (CVSS 5.1 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2024-09-05 · updated 2026-06-17
- Weakness: CWE-696
Description
An issue was discovered in Mbed TLS before 2.28.9 and 3.x before 3.6.1, in which the user-selected algorithm is not used. Unlike previously documented, enabling MBEDTLS_PSA_HMAC_DRBG_MD_TYPE does not cause the PSA subsystem to use HMAC_DRBG: it uses HMAC_DRBG only when MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG and MBEDTLS_CTR_DRBG_C are disabled.
Affected products
- TrustedFirmware Mbed TLS: from 2.26.0 before 2.28.9; from 3.2.0 before 3.6.1 — fixed in 2.28.9, 3.6.1
How to fix
Upgrade to a fixed version: TrustedFirmware Mbed TLS 2.28.9, 3.6.1. Check the vendor advisory for mitigations.
References
- https://github.com/Mbed-TLS/mbedtls/releases/
- https://mbed-tls.readthedocs.io/en/latest/security-advisories/
- https://mbed-tls.readthedocs.io/en/latest/security-advisories/mbedtls-security-advisory-2024-08-1/
Get alerted when CVE-2024-45157 or the next vulnerability affects your stack