Integer overflow in mbed TLS - CVE-2024-23775

 

Integer overflow in mbed TLS - CVE-2024-23775

Published: February 7, 2024


Vulnerability identifier: #VU86232
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-2024-23775
CWE-ID: CWE-190
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 integer overflow in mbedtls_x509_set_extension(). A remote attacker can pass specially crafted data to the application, trigger an integer overflow and perform a denial of service (DoS) attack.


Affected software

mbed TLS
Gentoo Linux
Fedora
Ubuntu
mbedtls (Ubuntu package)
net-libs/mbedtls
mbedtls

How to mitigate CVE-2024-23775

Install updates from vendor's website.

mbed TLS - addressed in versions 2.28.7, 3.5.2
mbedtls (Ubuntu package) - addressed in versions 2.8.0-1ubuntu0.1~esm1, 2.16.4-1ubuntu2+esm1, 2.28.0-1ubuntu0.1~esm1, 2.28.8-1ubuntu0.1~esm1
net-libs/mbedtls - update to 2.28.7
mbedtls - addressed in versions 2.28.7-1.el8, 2.28.7-1.el9, 2.28.7-1.fc38, 2.28.7-1.fc39

External References

Related Security Bulletins