Heap-based buffer overflow in mbed TLS - CVE-2023-45199
Published: September 23, 2024
Vulnerability details
The vulnerability allows a remote attacker to execute arbitrary code on the target system.
The vulnerability exists due to a boundary error in TLS handshake parsing with ECDH. A remote attacker can send specially crafted input to the application, trigger a heap-based buffer overflow and execute arbitrary code on the target system.
A TLS 1.2 server configured with MBEDTLS_USE_PSA_CRYPTO and with support for a cipher suite using ECDH and a signature is vulnerable.
Affected software
Gentoo Linux
net-libs/mbedtls
How to mitigate CVE-2023-45199
net-libs/mbedtls - update to 2.28.7