Vulnerability · Published Sep 5, 2024 · Assigned by mitre

CVE-2024-45157

Medium 5.1

In plain English

A medium-severity security flaw in the mbedtls package (Alpine). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 15% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)5.1Medium
Exploit odds (30 days)0.2%top 85.1% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

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.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Alpine:v3.20mbedtls3.6.1-r0ALPINE-CVE-2024-45157
Alpine:v3.21mbedtls3.6.1-r0ALPINE-CVE-2024-45157
Alpine:v3.22mbedtls3.6.1-r0ALPINE-CVE-2024-45157
Alpine:v3.23mbedtls3.6.1-r0ALPINE-CVE-2024-45157
Alpine:v3.24mbedtls3.6.1-r0ALPINE-CVE-2024-45157
Alpine:v3.21mbedtls22.28.10-r0ALPINE-CVE-2024-45157
Alpine:v3.22mbedtls22.28.10-r0ALPINE-CVE-2024-45157
Alpine:v3.23mbedtls22.28.10-r0ALPINE-CVE-2024-45157
Alpine:v3.24mbedtls22.28.10-r0ALPINE-CVE-2024-45157
Alpine:v3.24mbedtls33.6.1-r0ALPINE-CVE-2024-45157
Debian:12mbedtlsno fix listedDEBIAN-CVE-2024-45157
Debian:13mbedtls3.6.2-1DEBIAN-CVE-2024-45157
Debian:14mbedtls3.6.2-1DEBIAN-CVE-2024-45157

Affected products (as reported)

VendorProductVersions
n/a n/a n/a

Weakness: CWE-696 · Vector: CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

References