Remote code execution in mbed TLS - CVE-2018-0488

 

Remote code execution in mbed TLS - CVE-2018-0488

Published: March 13, 2018 / Updated: March 13, 2018


Vulnerability identifier: #VU10943
CSH Severity: High
CVSS v4: 9.3 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N]
CVE-ID: CVE-2018-0488
CWE-ID: CWE-20
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

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

The weakness exists due to improper processing of crafted packets when using the truncated HMAC extension and CBC. A remote attacker can send a specially crafted input and execute arbitrary code.

Successful exploitation of the vulnerability may result in system compromise.

Affected software

mbed TLS
Debian Linux
Gentoo Linux
Fedora
mbedtls (Ubuntu package)
mbedtls (Alpine package)
mbedtls

How to mitigate CVE-2018-0488

Update to versions 1.3.22, 2.1.10 or 2.7.0.

mbedtls (Ubuntu package) - update to 2.2.1-2ubuntu0.3
mbedtls (Alpine package) - update to 2.7.0-r0
mbedtls - addressed in versions 2.7.0-1.el6, 2.7.0-1.el7, 2.7.0-1.fc26, 2.7.0-1.fc27

External References

Related Security Bulletins