CVE-2024-45157
CVE-2024-45157 is a medium-severity vulnerability in Trustedfirmware Mbed Tls with a CVSS 3.x base score of 5.1. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-696.
Key facts
- Severity: Medium (CVSS 3.x base score 5.1)
- EPSS exploit prediction: 0% (15th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2024-41337
- Weakness: CWE-696
- Affected product: Trustedfirmware Mbed Tls
- Published:
- Last modified:
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.
Frequently asked questions
- What is CVE-2024-45157?
- 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.
- How severe is CVE-2024-45157?
- CVE-2024-45157 has a CVSS 3.x base score of 5.1, rated medium severity. It is exploitable over local access with high attack complexity, requires no privileges and no user interaction. Impact on confidentiality is high, integrity none, and availability none.
- Is CVE-2024-45157 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (15th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2024-45157?
- CVE-2024-45157 affects Trustedfirmware Mbed Tls. See the affected-products list for the exact vulnerable versions.
- How do I fix CVE-2024-45157?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
- Does CVE-2024-45157 have an EU (EUVD) identifier?
- Yes. CVE-2024-45157 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-41337.
- When was CVE-2024-45157 published?
- CVE-2024-45157 was published on 2024-09-05 and last updated on 2026-06-17.
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/
Affected products (1)
- cpe:2.3:a:trustedfirmware:mbed_tls:*:*:*:*:*:*:*:*
More vulnerabilities in Trustedfirmware Mbed Tls
- CVE-2026-34877 — Critical (CVSS 9.8): An issue was discovered in Mbed TLS versions from 2.19.0 up to 3.6.5, Mbed TLS 4.0.0. Insufficient protection of…
- CVE-2026-34875 — Critical (CVSS 9.8): An issue was discovered in Mbed TLS through 3.6.5 and TF-PSA-Crypto 1.0.0. A buffer overflow can occur in public key…
- CVE-2024-49195 — Critical (CVSS 9.8): Mbed TLS 3.5.x through 3.6.x before 3.6.2 has a buffer underrun in pkwrite when writing an opaque key pair
- CVE-2024-45159 — Critical (CVSS 9.8): An issue was discovered in Mbed TLS 3.x before 3.6.1. With TLS 1.3, when a server enables optional authentication of…
- CVE-2024-45158 — Critical (CVSS 9.8): An issue was discovered in Mbed TLS 3.6 before 3.6.1. A stack buffer overflow in mbedtls_ecdsa_der_to_raw() and…
- CVE-2023-45199 — Critical (CVSS 9.8): Mbed TLS 3.2.x through 3.4.x before 3.5 has a Buffer Overflow that can lead to remote Code execution.
All CVEs affecting Trustedfirmware Mbed Tls →
Other CWE-696 vulnerabilities
- CVE-2026-45033 — High (CVSS 7.8): GitHub Copilot CLI brings AI-powered coding assistance directly to your command line. Prior to 1.0.43, a security…
- CVE-2025-31485 — High (CVSS 7.5): API Platform Core is a system to create hypermedia-driven REST and GraphQL APIs. Prior to 4.0.22 and 3.4.17, a GraphQL…
- CVE-2021-22569 — High (CVSS 7.5): An issue in protobuf-java allowed the interleaving of com.google.protobuf.UnknownFieldSet fields in such a way that…
- CVE-2021-31379 — High (CVSS 7.5): An Incorrect Behavior Order vulnerability in the MAP-E automatic tunneling mechanism of Juniper Networks Junos OS…
- CVE-2026-35637 — High (CVSS 7.3): OpenClaw before 2026.3.22 performs cite expansion before completing channel and DM authorization checks, allowing cite…
- CVE-2024-24853 — High (CVSS 7.2): Incorrect behavior order in transition between executive monitor and SMI transfer monitor (STM) in some Intel(R)…