CVE-2018-8970: High severity OpenBSD LibreSSL vulnerability
The intx509paramsethosts function in lib/libcrypto/x509/x509vpm.c in LibreSSL 2.7.0 before 2.7.1 does not support a certain special case of a zero name length, which causes silent omission of hostname verification, and consequently allows man-in-the-middle attackers to spoof servers and obtain sensitive information via a crafted certificate. NOTE: the LibreSSL documentation indicates that this special case is supported, but the BoringSSL documentation does not.
Affected Software
Remediation
Event History
Frequently Asked Questions
What is CVE-2018-8970?
CVE-2018-8970 is a vulnerability in the LibreSSL library that allows man-in-the-middle attackers to spoof servers and obtain sensitive information.
What is the severity of CVE-2018-8970?
The severity of CVE-2018-8970 is high with a CVSS score of 7.4.
How does CVE-2018-8970 work?
CVE-2018-8970 occurs due to a special case of a zero name length in the int_x509_param_set_hosts function, which causes silent omission of hostname verification.
Which software versions are affected by CVE-2018-8970?
OpenBSD LibreSSL version 2.7.0 is affected by CVE-2018-8970.
How can I fix CVE-2018-8970?
To fix CVE-2018-8970, upgrade to LibreSSL version 2.7.1 or later.