CVE-2022-41724
Panic on large handshake records in crypto/tls
Reported by go · Published February 28, 2023
crypto/tls is fixed in 1.20.1 and 1.19.6 (Go Modules)
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).
Fixed versions
Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.
| Package | Ecosystem | Fixed in |
|---|---|---|
| stdlib | Go Modules | 1.20.1, 1.19.6 |
| crypto/tls | Go Modules | 1.20.1, 1.19.6 |
| kubeflow-katib | Chainguard | 0.19.0-r40, 0.19.0-r31 |
| golang-docs | Amazon Linux | 1.20.5-1.amzn2.0.2, 1.19.8-1.amzn2023.0.1 |
| golang-bin | Amazon Linux | 1.20.5-1.amzn2.0.2, 1.19.8-1.amzn2023.0.1 |
| golang-src | Amazon Linux | 1.20.5-1.amzn2.0.2, 1.19.8-1.amzn2023.0.1 |
| falco | Wolfi | 0.37.1-r0 |
| go | Alpine | 1.20.1-r0, 1.19.6-r0 |
| falco | Chainguard | 0.37.1-r0 |
| golang-misc | Amazon Linux | 1.20.5-1.amzn2.0.2, 1.19.8-1.amzn2023.0.1 |
| golang-tests | Amazon Linux | 1.20.5-1.amzn2.0.2, 1.19.8-1.amzn2023.0.1 |
| golang | Bitnami | 1.20.1, 1.19.6 |
6 more packages have a fixed version. See every fix in Lookup.
Affected products
| Vendor | Product | Versions |
|---|---|---|
| Go standard library | crypto/tls | 0, 1.20.0-0 |
| chainguard | kubeflow-katib | 0, 0 |
| amazon:2 | golang-docs | 0 |
| golang | go | |
| amazon:2023 | golang-bin | 0 |
| amazon:2023 | golang-src | 0 |
| wolfi | falco | 0 |
| alpine | go | 0, 0 |
| Go standard library | crypto/tls | 0, 1.20.0-0 |
| amazon:2023 | golang-docs | 0 |
| amazon:2 | golang-bin | 0 |
| chainguard | falco | 0 |
| amazon:2 | golang-misc | 0 |
| amazon:2023 | golang-tests | 0 |
| amazon:2 | golang-tests | 0 |
| amazon:2 | golang-src | 0 |
| amazon:2023 | golang-misc | 0 |
| amazon:2023 | golang-race | 0 |
| wolfi | kubeflow-katib | 0, 0 |
| amazon:2023 | golang-shared | 0 |
…and 3 more
Timeline
- Feb 16, 2023 CVE Published
- Mar 1, 2023 EPSS Score (30 in total, the first dated here)
- Mar 10, 2026 Security Advisory (92 in total, the first dated here)
- Jun 15, 2026 Coalition ESS Score
- Nov 21, 2026 Distribution Patch (87 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2022-41724
vulnetix vdb fixes CVE-2022-41724
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2022-41724/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart