cve.bz

CVE-2024-45157 trustedfirmware mbed tls: Incorrect Behavior Order

5.1 mediumEPSS 0.2%

Medium (5.1) in trustedfirmware mbed tls. EPSS 0.2% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

5.1 medium
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS
0.2% (unchanged from 0.2% a week ago; 0.2% 30 days ago) estimated probability of exploitation activity in the next 30 days; 15th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: partial, assessed 2024-09-05. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-696 Incorrect Behavior Order
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2024-45157 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2024-45157?via=ask-ai-copy and https://cve.bz/cve/CVE-2024-45157?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2024-45157 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
trustedfirmware:mbed_tlsfrom 2.26.0 before 2.28.9
trustedfirmware:mbed_tlsfrom 3.2.0 before 3.6.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12mbedtlsno fix listedDEBIAN-CVE-2024-45157
Debian13, 14mbedtls3.6.2-1DEBIAN-CVE-2024-45157
UbuntuPro:22.04:LTS, Pro:24.04:LTSmbedtlsno fix listedUBUNTU-CVE-2024-45157
openSUSELeap 16.0mbedtls-22.28.10-bp160.1.1openSUSE-SU-2026:21145-1
openSUSETumbleweedmbedtls-22.28.9-1.1openSUSE-SU-2024:14304-1
Alpinev3.17, v3.18, v3.19mbedtls2.28.9-r0ALPINE-CVE-2024-45157
Alpinev3.20, v3.21, v3.22 and 1 morembedtls3.6.1-r0ALPINE-CVE-2024-45157
Alpinev3.21, v3.22, v3.23 and 1 morembedtls22.28.10-r0ALPINE-CVE-2024-45157
Alpinev3.24mbedtls, mbedtls33.6.1-r0ALPINE-CVE-2024-45157

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · openSUSE · Alpine.

Attack patterns (CAPEC)

  • CAPEC-463 Padding Oracle Crypto Attack Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON