{"id":"ALPINE-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-09-15T08:17:48.478151156Z","published":"2024-09-05T19:15:12.960Z","upstream":["CVE-2024-45157"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2024-45157"}],"affected":[{"package":{"name":"mbedtls","ecosystem":"Alpine:v3.17","purl":"pkg:apk/alpine/mbedtls?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.28.9-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2024-45157.json"}},{"package":{"name":"mbedtls","ecosystem":"Alpine:v3.18","purl":"pkg:apk/alpine/mbedtls?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.28.9-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2024-45157.json"}},{"package":{"name":"mbedtls","ecosystem":"Alpine:v3.19","purl":"pkg:apk/alpine/mbedtls?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.28.9-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2024-45157.json"}},{"package":{"name":"mbedtls","ecosystem":"Alpine:v3.20","purl":"pkg:apk/alpine/mbedtls?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.6.1-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2024-45157.json"}},{"package":{"name":"mbedtls","ecosystem":"Alpine:v3.21","purl":"pkg:apk/alpine/mbedtls?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.6.1-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2024-45157.json"}},{"package":{"name":"mbedtls","ecosystem":"Alpine:v3.22","purl":"pkg:apk/alpine/mbedtls?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.6.1-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2024-45157.json"}},{"package":{"name":"mbedtls","ecosystem":"Alpine:v3.23","purl":"pkg:apk/alpine/mbedtls?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.6.1-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2024-45157.json"}},{"package":{"name":"mbedtls","ecosystem":"Alpine:v3.24","purl":"pkg:apk/alpine/mbedtls?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.6.1-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2024-45157.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"}]}