Out-of-bounds read in mbed TLS - CVE-2022-46393

 

Out-of-bounds read in mbed TLS - CVE-2022-46393

Published: September 23, 2024


Vulnerability identifier: #VU97654
CSH Severity: Medium
CVSS v4: 8.7 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2022-46393
CWE-ID: CWE-125
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to heap-based buffer overread in DTLS if MBEDTLS_SSL_DTLS_CONNECTION_ID is enabled and MBEDTLS_SSL_CID_IN_LEN_MAX > 2 * MBEDTLS_SSL_CID_OUT_LEN_MAX. A remote attacker can perform a denial of service attack.


Affected software

mbed TLS
Gentoo Linux
Fedora
mbedtls
net-libs/mbedtls

How to mitigate CVE-2022-46393

Install update from vendor's website.

mbed TLS - addressed in versions 2.28.2, 3.3.0
mbedtls - addressed in versions 2.28.2-1.el8, 2.28.2-1.el9, 2.28.2-1.fc36, 2.28.2-1.fc37
net-libs/mbedtls - update to 2.28.7

External References

Related Security Bulletins