CVE-2018-8970 Security feature bypass in n/a

High 7.4 Published Updated

Man-in-the-middle attackers can bypass hostname verification in LibreSSL to spoof servers and obtain sensitive information via crafted certificates.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2018-8970?

CVE-2018-8970 is a high-severity vulnerability in n/a, published on 24 Mar 2018. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

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.

Weakness: CWE-295

Which versions are affected by CVE-2018-8970?

It affects 1 product.

Products include Openbsd Libressl.

How do I fix CVE-2018-8970?

Upgrade to a fixed version.

Is CVE-2018-8970 being exploited?

There is no known exploitation of CVE-2018-8970 in the wild and no public exploit code.

Public exploit code: 1 proofs of concept on GitHub.

Sources

Also known as GHSA-7gr4-mrjx-cjx9.

Is CVE-2018-8970 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free