Live threats

All CVEs / Golang

CVE-2022-41724Golang Go

High 7.5 No auth needed

Priority
60
CVSS 3.1
7.5
EPSS
1.1%
probability of exploitation in 30 days · percentile 66
Auth required
No
Published
Feb 28, 2023
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-400
SSVC (CISA)
Exploitation: none · Automatable: yes · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

What happens

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).

Original NVD text.

What to do

  1. Apply the vendor's security update for Go.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Go stdlib < 1.19.6 1.19.6 go get stdlib@v1.19.6
Go stdlib ≥ 1.20.0-0 < 1.20.1 1.20.1 go get stdlib@v1.20.1

Per OSV / GitHub Advisories (GO-2023-1570). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
golanggo< 1.19.6
golanggo1.20.0
golanggo1.20.0
golanggo1.20.0
golanggo1.20.0

Official advisories

Also: Red Hat (+10)

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.