Cryptographic issues in LibreSSL - CVE-2018-8970

 

Cryptographic issues in LibreSSL - CVE-2018-8970

Published: September 4, 2018


Vulnerability identifier: #VU14600
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2018-8970
CWE-ID: CWE-310
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: OpenBSD
Affected software:
LibreSSL

Detailed vulnerability description

The vulnerability allows a remote attacker to perform a spoofing attack.

The vulnerability exists due to the int_x509_param_set_hosts() function in lib/libcrypto/x509/x509_vpm.c does not correctly handle a case where hostname lenght is zero that leads to silent hostname omission during domain name verification  process.

A remote unauthenticated attacker can create a specially crafted certificate, perform a man-in-the-middle (MitM) attack and gain access to sensitive information.


How to mitigate CVE-2018-8970

Install updates from vendor's website.

Sources