CVE-2017-8301 Security feature bypass in n/a

Medium 5.3 Published Updated

Attackers can bypass TLS certificate verification in LibreSSL when using specific callback configurations, allowing man-in-the-middle attacks.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2017-8301?

CVE-2017-8301 is a medium-severity vulnerability in n/a, published on 27 Apr 2017. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

LibreSSL 2.5.1 to 2.5.3 lacks TLS certificate verification if SSL_get_verify_result is relied upon for a later check of a verification result, in a use case where a user-provided verification callback returns 1, as demonstrated by acceptance of invalid certificates by nginx.

Weakness: CWE-295

Which versions are affected by CVE-2017-8301?

It affects 1 product.

Products include Openbsd Libressl.

How do I fix CVE-2017-8301?

Upgrade to a fixed version.

Is CVE-2017-8301 being exploited?

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

Sources

Also known as ALPINE-CVE-2017-8301, GHSA-phvv-c9gw-v54h.

Is CVE-2017-8301 in your software?

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

Check your SBOMs for free