Out-of-bounds Write Affecting gnutls package, versions [,3.6.15)


Severity

Recommended
0.0
high
0
10

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

Threat Intelligence

EPSS
0.54% (78th 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 Learn

Learn about Out-of-bounds Write vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-UNMANAGED-GNUTLS-2374612
  • published26 Jan 2022
  • disclosed4 Sept 2020
  • creditUnknown

Introduced: 4 Sep 2020

CVE-2020-24659  (opens in a new tab)
CWE-476  (opens in a new tab)
CWE-787  (opens in a new tab)

How to fix?

Upgrade gnutls to version 3.6.15 or higher.

Overview

Affected versions of this package are vulnerable to Out-of-bounds Write. An issue was discovered in GnuTLS before 3.6.15. A server can trigger a NULL pointer dereference in a TLS 1.3 client if a no_renegotiation alert is sent with unexpected timing, and then an invalid second handshake occurs. The crash happens in the application's error handling path, where the gnutls_deinit function is called after detecting a handshake failure.

CVSS Base Scores

version 3.1