Uncaught Exception Affecting std/crypto/tls package, versions <1.19.6>=1.20.0-0 <1.20.1


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
1.11% (62nd 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-GOLANG-STDCRYPTOTLS-14545635
  • published6 Jan 2026
  • disclosed16 Feb 2023
  • creditMarten Seemann

Introduced: 16 Feb 2023

CVE-2022-41724  (opens in a new tab)
CWE-248  (opens in a new tab)

How to fix?

Upgrade std/crypto/tls to version 1.19.6, 1.20.1 or higher.

Overview

std/crypto/tls is a Go standard library package std/crypto/tls

Affected versions of this package are vulnerable to Uncaught Exception.

Go Vulnerability Report:
Large handshake records may cause panics in crypto/tls.Both clients and servers may send large TLS handshake records which cause servers and clients, respectively, to panic when attempting to construct responses.This affects all TLS 1.3 clients, TLS 1.2 clients which explicitly enable session resumption (by setting Config.ClientSessionCache to a non-nil value), and TLS 1.3 servers which request client certificates (by setting Config.ClientAuth >= RequestClientCert).

CVSS Base Scores

version 4.0
version 3.1