CVE-2024-45157

NameCVE-2024-45157
DescriptionAn 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
mbedtls (PTS)stretch (security), stretch (lts), stretch2.4.2-1+deb9u4vulnerable
buster (security), buster, buster (lts)2.16.9-0~deb10u1fixed
bullseye2.16.9-0.1vulnerable
bookworm2.28.3-1vulnerable
trixie2.28.8-1vulnerable
sid3.6.2-3vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
mbedtlssourcestretch(unfixed)end-of-life
mbedtlssourcebuster(not affected)
mbedtlssource(unstable)(unfixed)unimportant

Notes

No code fix, not a documentation change
https://mbed-tls.readthedocs.io/en/latest/security-advisories/mbedtls-security-advisory-2024-08-1/
[buster] - mbedtls <not-affected> (Vulnerable code introducde in 2.26.0)

Search for package or bug name: Reporting problems