Improper Certificate Validation Affecting libressl package, versions [2.5.1,2.5.4)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.04% (63rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-LIBRESSL-2369336
  • published26 Jan 2022
  • disclosed27 Apr 2017
  • creditUnknown

Introduced: 27 Apr 2017

CVE-2017-8301  (opens in a new tab)
CWE-295  (opens in a new tab)

How to fix?

Upgrade libressl to version 2.5.4 or higher.

Overview

Affected versions of this package are vulnerable to Improper Certificate Validation. 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.

CVSS Base Scores

version 3.1