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.

Published: 2024-09-05 Last update: 2026-06-05 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2024-45157 is rated Low Risk (31.3/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.12%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Exploit prediction scoring system (EPSS) score for CVE-2024-45157

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-05-15 0.16% 0.12% -0.04%
2 2026-02-23 0.05% 0.16% +0.11%
3 2026-01-25 0.05%

Full EPSS history (10 records total)

Common vulnerability scoring system (CVSS) metrics for CVE-2024-45157

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
5.1 3.1 MEDIUM
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N Click to expand
Attack vector (AV:L)
They already need access on the box, or another person has to do something wrong; it’s not a remote drive-by.
Attack complexity (AC:H)
Even with access, the exploit needs extra luck, timing, or a fussy environment to actually work.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:N)
Service keeps running; no real outage angle.
1.4 3.6 [email protected]
5.1 3.1 MEDIUM
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N Click to expand
Attack vector (AV:L)
They already need access on the box, or another person has to do something wrong; it’s not a remote drive-by.
Attack complexity (AC:H)
Even with access, the exploit needs extra luck, timing, or a fussy environment to actually work.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:N)
Nobody has to click “OK” or open a trap file; it can work without a victim helping.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:H)
Serious risk that confidential data gets exposed in a big way.
Integrity (I:N)
Data isn’t meaningfully altered or forged.
Availability (A:N)
Service keeps running; no real outage angle.
1.4 3.6 134c704f-9b21-4f2e-91b3-4a467353bcc0

Weakness enumeration for CVE-2024-45157

OS Trackers for CVE-2024-45157

vendor priority summary link
alpine CVE-2024-45157: 2 source package rows (mbedtls, mbedtls2); 11 state rows across 11 repos (3.17-main, 3.18-main, 3.19-main, 3.20-main, 3.21-community, 3.21-main, 3.22-community, 3.22-main, 3.23-community, edge-community, edge-main); fixed 11, open 0. https://security.alpinelinux.org/vuln/CVE-2024-45157
debian unimportant CVE-2024-45157 unimportant priority: Debian including 1 source packages (mbedtls), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 4, open 1. https://security-tracker.debian.org/tracker/CVE-2024-45157
ubuntu negligible CVE-2024-45157 negligible priority: Ubuntu including 1 source packages (mbedtls), 9 status rows across 9 suites (bionic, focal, jammy, noble, oracular, plucky, questing, upstream, xenial): not-affected 5, needed 2, ignored 1, released 1. https://ubuntu.com/security/CVE-2024-45157

Affected software / configurations for CVE-2024-45157

Vendor Product Version Raw CPE
trustedfirmware mbed_tls >= 2.26.0, < 2.28.9 cpe:2.3:a:trustedfirmware:mbed_tls:*:*:*:*:*:*:*:*
trustedfirmware mbed_tls >= 3.2.0, < 3.6.1 cpe:2.3:a:trustedfirmware:mbed_tls:*:*:*:*:*:*:*:*

References for CVE-2024-45157

cvelogic Threat Intelligence