CVE catalog

CVE-2024-45159

mbedtls: CVE-2024-45159

[CVE catalog]

Severity
Low
Published
Source
[NVD] · [CVE record]
EPSS
0.39% · Oct 25, 2026

An issue was discovered in Mbed TLS 3.x before 3.6.1. With TLS 1.3, when a server enables optional authentication of the client, if the client-provided certificate does not have appropriate values in if keyUsage or extKeyUsage extensions, then the return value of mbedtls_ssl_get_verify_result() would incorrectly have the MBEDTLS_X509_BADCERT_KEY_USAGE and MBEDTLS_X509_BADCERT_KEY_USAGE bits clear. As a result, an attacker that had a certificate valid for uses other than TLS client authentication would nonetheless be able to use it for TLS client authentication. Only TLS 1.3 servers were affected, and only with optional authentication (with required authentication, the handshake would be aborted with a fatal alert).

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianmbedtlssid3.6.7-3not affected
Debianmbedtlsforky3.6.7-3not affected
Debianmbedtlstrixie3.6.6-0.1~deb13u1not affected
Debianmbedtlsbookworm2.28.3-1not affected
Alpinembedtls3.203.6.1-r0fixed
Alpinembedtls3.213.6.1-r0fixed
Alpinembedtls3.223.6.1-r0fixed
Alpinembedtls3.233.6.1-r0fixed
Alpinembedtls3.243.6.1-r0fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
DebianmbedtlssourcesidNot affectedunimportantNot reportedNot reported
DebianmbedtlssourceforkyNot affectedunimportantNot reportedNot reported
DebianmbedtlssourcetrixieNot affectedunimportantNot reportedNot reported
DebianmbedtlssourcebookwormNot affectedunimportantNot reportedNot reported
Alpinembedtlsapk3.203.6.1-r0Not reportedALPINE-CVE-2024-45159Not reported
Alpinembedtlsapk3.213.6.1-r0Not reportedALPINE-CVE-2024-45159Not reported
Alpinembedtlsapk3.223.6.1-r0Not reportedALPINE-CVE-2024-45159Not reported
Alpinembedtlsapk3.233.6.1-r0Not reportedALPINE-CVE-2024-45159Not reported
Alpinembedtlsapk3.243.6.1-r0Not reportedALPINE-CVE-2024-45159Not reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [libmbedcrypto7]Not affected

    Source package: [mbedtls]

    Details (2)
    • 2.28.3-1 · amd64 · bookworm

      Not affected

      dsa · mbedtls · debian · bookworm

    • 2.28.3-1 · arm64 · bookworm

      Not affected

      dsa · mbedtls · debian · bookworm

  • [libmbedtls14]Not affected

    Source package: [mbedtls]

    Details (2)
    • 2.28.3-1 · amd64 · bookworm

      Not affected

      dsa · mbedtls · debian · bookworm

    • 2.28.3-1 · arm64 · bookworm

      Not affected

      dsa · mbedtls · debian · bookworm

  • [libmbedtls-dev]Not affected

    Source package: [mbedtls]

    Details (2)
    • 2.28.3-1 · amd64 · bookworm

      Not affected

      dsa · mbedtls · debian · bookworm

    • 2.28.3-1 · arm64 · bookworm

      Not affected

      dsa · mbedtls · debian · bookworm

  • [libmbedtls-doc]Not affected

    Source package: [mbedtls]

    Details (2)
    • 2.28.3-1 · all · bookworm

      Not affected

      dsa · mbedtls · debian · bookworm

    • 2.28.3-1 · all · bookworm

      Not affected

      dsa · mbedtls · debian · bookworm

  • [libmbedx509-1]Not affected

    Source package: [mbedtls]

    Details (2)
    • 2.28.3-1 · amd64 · bookworm

      Not affected

      dsa · mbedtls · debian · bookworm

    • 2.28.3-1 · arm64 · bookworm

      Not affected

      dsa · mbedtls · debian · bookworm

Observed:

References