Advisory

GO-2023-1570

Also known as: BIT-golang-2022-41724, CVE-2022-41724

Summary

Panic on large handshake records in crypto/tls

Details

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

Severity

Not rated by the source.

Dates

Published
2023-02-16 22:24 UTC
Modified
2026-02-04 02:57 UTC

Affected packages and fixes

stdlib

Go · All systems

Affected

  • introduced 0, fixed 1.19.6, introduced 1.20.0-0, fixed 1.20.1 (semver)

Fixed versions

1.19.6, 1.20.1

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences