CVE-2024-45157

Source
https://cve.org/CVERecord?id=CVE-2024-45157
Import Source
https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-45157.json
JSON Data
https://api.test.osv.dev/v1/vulns/CVE-2024-45157
Downstream
Related
Published
2024-09-05T00:00:00Z
Modified
2026-06-15T12:20:58.729132254Z
Severity
  • 5.1 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
Summary
[none]
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 MBEDTLSPSAHMACDRBGMDTYPE does not cause the PSA subsystem to use HMACDRBG: it uses HMACDRBG only when MBEDTLSPSACRYPTOEXTERNALRNG and MBEDTLSCTRDRBGC are disabled.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/45xxx/CVE-2024-45157.json",
    "cna_assigner": "mitre"
}
References

Affected packages

Git / github.com/mbed-tls/mbedtls

Affected ranges

Type
GIT
Repo
https://github.com/mbed-tls/mbedtls
Events
Database specific
{
    "extracted_events": [
        {
            "introduced": "2.26.0"
        },
        {
            "fixed": "2.28.9"
        },
        {
            "introduced": "3.2.0"
        },
        {
            "fixed": "3.6.1"
        }
    ],
    "cpe": "cpe:2.3:a:trustedfirmware:mbed_tls:*:*:*:*:*:*:*:*",
    "source": "CPE_RANGE"
}

Affected versions

mbedtls-2.*
mbedtls-2.26.0
mbedtls-2.28.4
v2.*
v2.26.0
v2.28.4

Database specific

source
"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2024-45157.json"