CVEfocus › CVE database › CVE-2024-45157

CVE-2024-45157

CVSS 5.1 MediumEPSS 0.3% (higher than 18% of CVEs)Published 2024-09-05Updated 2025-03-14Assigner: mitre

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.

CWE-696

What to do

Fixed builds are available from Alpine, Debian: see the table below for the fixed version per release.

Ubuntu has not shipped a fix for every release yet.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

15Fixed
2Fix pending
1Will not fix
2Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 26.04mbedtlsNot affected
vulnerable_code_not_present
Ubuntu 25.10mbedtlsNot affected
vulnerable_code_not_present
Ubuntu 24.04mbedtlsFix pendingUBUNTU-CVE-2024-45157
Ubuntu 22.04mbedtlsFix pendingUBUNTU-CVE-2024-45157
Debian 14mbedtlsFixed3.6.2-1DEBIAN-CVE-2024-45157
Debian 13mbedtlsFixed3.6.2-1DEBIAN-CVE-2024-45157
Debian 12mbedtlsWill not fix
Debian rates this unimportant for its packages (a minor issue, or one that doesn't affect Debian's build), so no security update is planned.
DEBIAN-CVE-2024-45157
Alpine Linux 3.24mbedtlsFixed3.6.1-r0ALPINE-CVE-2024-45157
Alpine Linux 3.24mbedtls2Fixed2.28.10-r0ALPINE-CVE-2024-45157
Alpine Linux 3.24mbedtls3Fixed3.6.1-r0ALPINE-CVE-2024-45157
Alpine Linux 3.23mbedtlsFixed3.6.1-r0ALPINE-CVE-2024-45157
Alpine Linux 3.23mbedtls2Fixed2.28.10-r0ALPINE-CVE-2024-45157
Alpine Linux 3.22mbedtlsFixed3.6.1-r0ALPINE-CVE-2024-45157
Alpine Linux 3.22mbedtls2Fixed2.28.10-r0ALPINE-CVE-2024-45157
Alpine Linux 3.21mbedtlsFixed3.6.1-r0ALPINE-CVE-2024-45157
Alpine Linux 3.21mbedtls2Fixed2.28.10-r0ALPINE-CVE-2024-45157
Alpine Linux 3.20mbedtlsFixed3.6.1-r0ALPINE-CVE-2024-45157
Alpine Linux 3.19mbedtlsFixed2.28.9-r0ALPINE-CVE-2024-45157
Alpine Linux 3.18mbedtlsFixed2.28.9-r0ALPINE-CVE-2024-45157
Alpine Linux 3.17mbedtlsFixed2.28.9-r0ALPINE-CVE-2024-45157

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.