{"id":"UBUNTU-CVE-2024-45157","details":"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.","modified":"2026-04-22T18:20:04.256129Z","published":"2024-09-05T19:15:00Z","upstream":["CVE-2024-45157"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2024-45157"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2024-45157"},{"type":"REPORT","url":"https://mbed-tls.readthedocs.io/en/latest/security-advisories/mbedtls-security-advisory-2024-08-1/"},{"type":"REPORT","url":"https://mbed-tls.readthedocs.io/en/latest/security-advisories/"},{"type":"REPORT","url":"https://github.com/Mbed-TLS/mbedtls/releases/"}],"affected":[{"package":{"name":"mbedtls","ecosystem":"Ubuntu:Pro:22.04:LTS","purl":"pkg:deb/ubuntu/mbedtls@2.28.0-1ubuntu0.1~esm1?arch=source&distro=esm-apps/jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.16.9-0.1ubuntu1","2.16.11-0.1ubuntu1","2.16.11-0.3","2.28.0-1","2.28.0-1build1","2.28.0-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_version":"2.28.0-1ubuntu0.1~esm1","binary_name":"libmbedcrypto7"},{"binary_name":"libmbedtls14","binary_version":"2.28.0-1ubuntu0.1~esm1"},{"binary_name":"libmbedx509-1","binary_version":"2.28.0-1ubuntu0.1~esm1"}],"priority_reason":"issue in documentation and not in behavior"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-45157.json"}},{"package":{"name":"mbedtls","ecosystem":"Ubuntu:Pro:24.04:LTS","purl":"pkg:deb/ubuntu/mbedtls@2.28.8-1ubuntu0.1~esm1?arch=source&distro=esm-apps/noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.28.3-1","2.28.6-1ubuntu1","2.28.7-1ubuntu1","2.28.7-1.1ubuntu1","2.28.8-1","2.28.8-1ubuntu0.1~esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"libmbedcrypto7t64","binary_version":"2.28.8-1ubuntu0.1~esm1"},{"binary_name":"libmbedtls14t64","binary_version":"2.28.8-1ubuntu0.1~esm1"},{"binary_name":"libmbedx509-1t64","binary_version":"2.28.8-1ubuntu0.1~esm1"}],"priority_reason":"issue in documentation and not in behavior"},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2024/UBUNTU-CVE-2024-45157.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"type":"Ubuntu","score":"negligible"}]}