Code Injection in mbed TLS - CVE-2015-5291

 

Code Injection in mbed TLS - CVE-2015-5291

Published: November 2, 2015 / Updated: July 23, 2020


Vulnerability identifier: #VU31777
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N]
CVE-ID: CVE-2015-5291
CWE-ID: CWE-94
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to execute arbitrary code on the target system.

The vulnerability exists due to improper input validation in a long hostname to the server name indication (SNI) extension, which is not properly handled when creating a ClientHello message. NOTE: this identifier has been SPLIT per ADT3 due to different affected version ranges. See CVE-2015-8036 for the session ticket issue that was introduced in 1.3.0. A remote attacker can send a specially crafted request and execute arbitrary code on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.


Affected software

mbed TLS
Gentoo Linux
Fedora
Opensuse
mbedtls

How to mitigate CVE-2015-5291

Update to version 2.1.2.

mbed TLS - update to 2.1.2
mbedtls - addressed in versions 1.3.14-1.el5, 1.3.14-1.el6, 1.3.14-1.el7, 1.3.14-1.fc21, 1.3.14-1.fc22, 2.1.2-1.fc23

External References

Related Security Bulletins