Uncaught Exception Affecting std/crypto/tls package, versions <1.15.14>=1.16.0-0 <1.16.6


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
6.98% (94th 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-14565353
  • published6 Jan 2026
  • disclosed17 Feb 2022
  • creditImre Rad

Introduced: 17 Feb 2022

CVE-2021-34558  (opens in a new tab)
CWE-248  (opens in a new tab)

How to fix?

Upgrade std/crypto/tls to version 1.15.14, 1.16.6 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:
via the crypto/tls process. An attacker can cause a panic and potentially disrupt service by providing a certificate of an incorrect type for the negotiated parameters during a TLS handshake. This can also impact HTTPS requests made by affected clients.

CVSS Base Scores

version 4.0
version 3.1