Access Restriction Bypass Affecting gnutls package, versions [,3.4.15)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.39% (74th 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-GNUTLS-2374584
  • published26 Jan 2022
  • disclosed27 Sept 2016
  • creditUnknown

Introduced: 27 Sep 2016

CVE-2016-7444  (opens in a new tab)
CWE-264  (opens in a new tab)

How to fix?

Upgrade gnutls to version 3.4.15 or higher.

Overview

Affected versions of this package are vulnerable to Access Restriction Bypass. The gnutls_ocsp_resp_check_crt function in lib/x509/ocsp.c in GnuTLS before 3.4.15 and 3.5.x before 3.5.4 does not verify the serial length of an OCSP response, which might allow remote attackers to bypass an intended certificate validation mechanism via vectors involving trailing bytes left by gnutls_malloc.

CVSS Base Scores

version 3.1