7.4
CWE
295
Advisory Published
Updated

CVE-2018-8970

First published: Sat Mar 24 2018(Updated: )

The int_x509_param_set_hosts function in lib/libcrypto/x509/x509_vpm.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.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Openbsd Libressl=2.7.0

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203