CVE-2022-41724 (GCVE-0-2022-41724)

Vulnerability from cvelistv5 – Published: 2023-02-28 17:19 – Updated: 2025-03-07 17:57
VLAI
Title
Panic on large handshake records in crypto/tls
Summary
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
No CVSS data available.
SSVC
Exploitation: none Automatable: yes Technical Impact: partial
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2025-03-07 17:56 UTC
CWE
  • CWE-400 - Uncontrolled Resource Consumption
Assigner
Go CNA under the Google root
CNA scorecard E 42/100 over 75 records in the last 180 days details
Impacted products
Vendor Product Version CPE status
Go standard library crypto/tls Affected: 0 , < 1.19.6 (semver)
Affected: 1.20.0-0 , < 1.20.1 (semver)
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "providerMetadata": {
          "dateUpdated": "2024-08-03T12:49:43.929Z",
          "orgId": "af854a3a-2127-422b-91ae-364da2661108",
          "shortName": "CVE"
        },
        "references": [
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://go.dev/issue/58001"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://go.dev/cl/468125"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://groups.google.com/g/golang-announce/c/V0aBFqaFs_E"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://pkg.go.dev/vuln/GO-2023-1570"
          },
          {
            "tags": [
              "x_transferred"
            ],
            "url": "https://security.gentoo.org/glsa/202311-09"
          }
        ],
        "title": "CVE Program Container"
      },
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2022-41724",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "yes"
                  },
                  {
                    "Technical Impact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2025-03-07T17:56:50.422222Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2025-03-07T17:57:05.605Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "collectionURL": "https://pkg.go.dev",
          "defaultStatus": "unaffected",
          "packageName": "crypto/tls",
          "product": "crypto/tls",
          "programRoutines": [
            {
              "name": "handshakeMessage.marshal"
            },
            {
              "name": "Conn.writeRecord"
            },
            {
              "name": "Conn.readHandshake"
            },
            {
              "name": "Conn.handleRenegotiation"
            },
            {
              "name": "Conn.handlePostHandshakeMessage"
            },
            {
              "name": "Conn.handleKeyUpdate"
            },
            {
              "name": "Conn.clientHandshake"
            },
            {
              "name": "Conn.loadSession"
            },
            {
              "name": "clientHandshakeState.handshake"
            },
            {
              "name": "clientHandshakeState.doFullHandshake"
            },
            {
              "name": "clientHandshakeState.readFinished"
            },
            {
              "name": "clientHandshakeState.readSessionTicket"
            },
            {
              "name": "clientHandshakeState.sendFinished"
            },
            {
              "name": "clientHandshakeStateTLS13.handshake"
            },
            {
              "name": "clientHandshakeStateTLS13.sendDummyChangeCipherSpec"
            },
            {
              "name": "clientHandshakeStateTLS13.processHelloRetryRequest"
            },
            {
              "name": "clientHandshakeStateTLS13.readServerParameters"
            },
            {
              "name": "clientHandshakeStateTLS13.readServerCertificate"
            },
            {
              "name": "clientHandshakeStateTLS13.readServerFinished"
            },
            {
              "name": "clientHandshakeStateTLS13.sendClientCertificate"
            },
            {
              "name": "clientHandshakeStateTLS13.sendClientFinished"
            },
            {
              "name": "clientHelloMsg.marshal"
            },
            {
              "name": "clientHelloMsg.marshalWithoutBinders"
            },
            {
              "name": "clientHelloMsg.updateBinders"
            },
            {
              "name": "serverHelloMsg.marshal"
            },
            {
              "name": "encryptedExtensionsMsg.marshal"
            },
            {
              "name": "endOfEarlyDataMsg.marshal"
            },
            {
              "name": "keyUpdateMsg.marshal"
            },
            {
              "name": "newSessionTicketMsgTLS13.marshal"
            },
            {
              "name": "certificateRequestMsgTLS13.marshal"
            },
            {
              "name": "certificateMsg.marshal"
            },
            {
              "name": "certificateMsgTLS13.marshal"
            },
            {
              "name": "serverKeyExchangeMsg.marshal"
            },
            {
              "name": "certificateStatusMsg.marshal"
            },
            {
              "name": "serverHelloDoneMsg.marshal"
            },
            {
              "name": "clientKeyExchangeMsg.marshal"
            },
            {
              "name": "finishedMsg.marshal"
            },
            {
              "name": "certificateRequestMsg.marshal"
            },
            {
              "name": "certificateVerifyMsg.marshal"
            },
            {
              "name": "newSessionTicketMsg.marshal"
            },
            {
              "name": "helloRequestMsg.marshal"
            },
            {
              "name": "Conn.readClientHello"
            },
            {
              "name": "serverHandshakeState.doResumeHandshake"
            },
            {
              "name": "serverHandshakeState.doFullHandshake"
            },
            {
              "name": "serverHandshakeState.readFinished"
            },
            {
              "name": "serverHandshakeState.sendSessionTicket"
            },
            {
              "name": "serverHandshakeState.sendFinished"
            },
            {
              "name": "serverHandshakeStateTLS13.checkForResumption"
            },
            {
              "name": "serverHandshakeStateTLS13.sendDummyChangeCipherSpec"
            },
            {
              "name": "serverHandshakeStateTLS13.doHelloRetryRequest"
            },
            {
              "name": "serverHandshakeStateTLS13.sendServerParameters"
            },
            {
              "name": "serverHandshakeStateTLS13.sendServerCertificate"
            },
            {
              "name": "serverHandshakeStateTLS13.sendServerFinished"
            },
            {
              "name": "serverHandshakeStateTLS13.sendSessionTickets"
            },
            {
              "name": "serverHandshakeStateTLS13.readClientCertificate"
            },
            {
              "name": "serverHandshakeStateTLS13.readClientFinished"
            },
            {
              "name": "cipherSuiteTLS13.expandLabel"
            },
            {
              "name": "sessionState.marshal"
            },
            {
              "name": "sessionStateTLS13.marshal"
            },
            {
              "name": "Conn.Handshake"
            },
            {
              "name": "Conn.HandshakeContext"
            },
            {
              "name": "Conn.Read"
            },
            {
              "name": "Conn.Write"
            },
            {
              "name": "ConnectionState.ExportKeyingMaterial"
            },
            {
              "name": "Dial"
            },
            {
              "name": "DialWithDialer"
            },
            {
              "name": "Dialer.Dial"
            },
            {
              "name": "Dialer.DialContext"
            }
          ],
          "vendor": "Go standard library",
          "versions": [
            {
              "lessThan": "1.19.6",
              "status": "affected",
              "version": "0",
              "versionType": "semver"
            },
            {
              "lessThan": "1.20.1",
              "status": "affected",
              "version": "1.20.0-0",
              "versionType": "semver"
            }
          ]
        }
      ],
      "credits": [
        {
          "lang": "en",
          "value": "Marten Seemann"
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "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 \u003e= RequestClientCert)."
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "description": "CWE-400: Uncontrolled Resource Consumption",
              "lang": "en"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2023-11-25T11:09:30.560Z",
        "orgId": "1bb62c36-49e3-4200-9d77-64a1400537cc",
        "shortName": "Go"
      },
      "references": [
        {
          "url": "https://go.dev/issue/58001"
        },
        {
          "url": "https://go.dev/cl/468125"
        },
        {
          "url": "https://groups.google.com/g/golang-announce/c/V0aBFqaFs_E"
        },
        {
          "url": "https://pkg.go.dev/vuln/GO-2023-1570"
        },
        {
          "url": "https://security.gentoo.org/glsa/202311-09"
        }
      ],
      "title": "Panic on large handshake records in crypto/tls"
    }
  },
  "cveMetadata": {
    "assignerOrgId": "1bb62c36-49e3-4200-9d77-64a1400537cc",
    "assignerShortName": "Go",
    "cveId": "CVE-2022-41724",
    "datePublished": "2023-02-28T17:19:44.420Z",
    "dateReserved": "2022-09-28T17:00:06.611Z",
    "dateUpdated": "2025-03-07T17:57:05.605Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.1",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2022-41724",
      "date": "2026-10-13",
      "epss": "0.01111",
      "percentile": "0.65077"
    },
    "microsoft_vex": {
      "current_release_date": "2026-09-17T01:47:50.000Z",
      "cve": "CVE-2022-41724",
      "id": "msrc_CVE-2022-41724",
      "initial_release_date": "2025-09-04T01:14:18.000Z",
      "product_status:fixed": "9",
      "product_status:known_affected": "10",
      "product_status:known_not_affected": "9",
      "source": "Microsoft CSAF VEX",
      "status": "final",
      "title": "Panic on large handshake records in crypto/tls",
      "url": "https://msrc.microsoft.com/csaf/vex/2025/msrc_cve-2022-41724.json",
      "version": "6"
    },
    "nvd": {
      "cve": {
        "affected": [
          {
            "affectedData": [
              {
                "collectionURL": "https://pkg.go.dev",
                "defaultStatus": "unaffected",
                "packageName": "crypto/tls",
                "product": "crypto/tls",
                "programRoutines": [
                  {
                    "name": "handshakeMessage.marshal"
                  },
                  {
                    "name": "Conn.writeRecord"
                  },
                  {
                    "name": "Conn.readHandshake"
                  },
                  {
                    "name": "Conn.handleRenegotiation"
                  },
                  {
                    "name": "Conn.handlePostHandshakeMessage"
                  },
                  {
                    "name": "Conn.handleKeyUpdate"
                  },
                  {
                    "name": "Conn.clientHandshake"
                  },
                  {
                    "name": "Conn.loadSession"
                  },
                  {
                    "name": "clientHandshakeState.handshake"
                  },
                  {
                    "name": "clientHandshakeState.doFullHandshake"
                  },
                  {
                    "name": "clientHandshakeState.readFinished"
                  },
                  {
                    "name": "clientHandshakeState.readSessionTicket"
                  },
                  {
                    "name": "clientHandshakeState.sendFinished"
                  },
                  {
                    "name": "clientHandshakeStateTLS13.handshake"
                  },
                  {
                    "name": "clientHandshakeStateTLS13.sendDummyChangeCipherSpec"
                  },
                  {
                    "name": "clientHandshakeStateTLS13.processHelloRetryRequest"
                  },
                  {
                    "name": "clientHandshakeStateTLS13.readServerParameters"
                  },
                  {
                    "name": "clientHandshakeStateTLS13.readServerCertificate"
                  },
                  {
                    "name": "clientHandshakeStateTLS13.readServerFinished"
                  },
                  {
                    "name": "clientHandshakeStateTLS13.sendClientCertificate"
                  },
                  {
                    "name": "clientHandshakeStateTLS13.sendClientFinished"
                  },
                  {
                    "name": "clientHelloMsg.marshal"
                  },
                  {
                    "name": "clientHelloMsg.marshalWithoutBinders"
                  },
                  {
                    "name": "clientHelloMsg.updateBinders"
                  },
                  {
                    "name": "serverHelloMsg.marshal"
                  },
                  {
                    "name": "encryptedExtensionsMsg.marshal"
                  },
                  {
                    "name": "endOfEarlyDataMsg.marshal"
                  },
                  {
                    "name": "keyUpdateMsg.marshal"
                  },
                  {
                    "name": "newSessionTicketMsgTLS13.marshal"
                  },
                  {
                    "name": "certificateRequestMsgTLS13.marshal"
                  },
                  {
                    "name": "certificateMsg.marshal"
                  },
                  {
                    "name": "certificateMsgTLS13.marshal"
                  },
                  {
                    "name": "serverKeyExchangeMsg.marshal"
                  },
                  {
                    "name": "certificateStatusMsg.marshal"
                  },
                  {
                    "name": "serverHelloDoneMsg.marshal"
                  },
                  {
                    "name": "clientKeyExchangeMsg.marshal"
                  },
                  {
                    "name": "finishedMsg.marshal"
                  },
                  {
                    "name": "certificateRequestMsg.marshal"
                  },
                  {
                    "name": "certificateVerifyMsg.marshal"
                  },
                  {
                    "name": "newSessionTicketMsg.marshal"
                  },
                  {
                    "name": "helloRequestMsg.marshal"
                  },
                  {
                    "name": "Conn.readClientHello"
                  },
                  {
                    "name": "serverHandshakeState.doResumeHandshake"
                  },
                  {
                    "name": "serverHandshakeState.doFullHandshake"
                  },
                  {
                    "name": "serverHandshakeState.readFinished"
                  },
                  {
                    "name": "serverHandshakeState.sendSessionTicket"
                  },
                  {
                    "name": "serverHandshakeState.sendFinished"
                  },
                  {
                    "name": "serverHandshakeStateTLS13.checkForResumption"
                  },
                  {
                    "name": "serverHandshakeStateTLS13.sendDummyChangeCipherSpec"
                  },
                  {
                    "name": "serverHandshakeStateTLS13.doHelloRetryRequest"
                  },
                  {
                    "name": "serverHandshakeStateTLS13.sendServerParameters"
                  },
                  {
                    "name": "serverHandshakeStateTLS13.sendServerCertificate"
                  },
                  {
                    "name": "serverHandshakeStateTLS13.sendServerFinished"
                  },
                  {
                    "name": "serverHandshakeStateTLS13.sendSessionTickets"
                  },
                  {
                    "name": "serverHandshakeStateTLS13.readClientCertificate"
                  },
                  {
                    "name": "serverHandshakeStateTLS13.readClientFinished"
                  },
                  {
                    "name": "cipherSuiteTLS13.expandLabel"
                  },
                  {
                    "name": "sessionState.marshal"
                  },
                  {
                    "name": "sessionStateTLS13.marshal"
                  },
                  {
                    "name": "Conn.Handshake"
                  },
                  {
                    "name": "Conn.HandshakeContext"
                  },
                  {
                    "name": "Conn.Read"
                  },
                  {
                    "name": "Conn.Write"
                  },
                  {
                    "name": "ConnectionState.ExportKeyingMaterial"
                  },
                  {
                    "name": "Dial"
                  },
                  {
                    "name": "DialWithDialer"
                  },
                  {
                    "name": "Dialer.Dial"
                  },
                  {
                    "name": "Dialer.DialContext"
                  }
                ],
                "vendor": "Go standard library",
                "versions": [
                  {
                    "lessThan": "1.19.6",
                    "status": "affected",
                    "version": "0",
                    "versionType": "semver"
                  },
                  {
                    "lessThan": "1.20.1",
                    "status": "affected",
                    "version": "1.20.0-0",
                    "versionType": "semver"
                  }
                ]
              }
            ],
            "source": "security@golang.org"
          }
        ],
        "configurations": [
          {
            "nodes": [
              {
                "cpeMatch": [
                  {
                    "criteria": "cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*",
                    "matchCriteriaId": "2219CF76-6D17-487E-9B67-BC49E4743528",
                    "versionEndExcluding": "1.19.6",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:golang:go:1.20.0:-:*:*:*:*:*:*",
                    "matchCriteriaId": "B78574DF-045C-4A26-B0F5-8C082B24D9FD",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:golang:go:1.20.0:rc1:*:*:*:*:*:*",
                    "matchCriteriaId": "1A10A0A9-4C2C-42FF-AB8C-52D023BE1445",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:golang:go:1.20.0:rc2:*:*:*:*:*:*",
                    "matchCriteriaId": "AE127A27-C103-4F60-AE36-8AF1C92ADEA9",
                    "vulnerable": true
                  },
                  {
                    "criteria": "cpe:2.3:a:golang:go:1.20.0:rc3:*:*:*:*:*:*",
                    "matchCriteriaId": "E40BF33F-3AE7-4CF3-8E29-E92B94243CFA",
                    "vulnerable": true
                  }
                ],
                "negate": false,
                "operator": "OR"
              }
            ]
          }
        ],
        "cveTags": [],
        "descriptions": [
          {
            "lang": "en",
            "value": "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 \u003e= RequestClientCert)."
          }
        ],
        "id": "CVE-2022-41724",
        "lastModified": "2026-06-17T05:03:43.110",
        "metrics": {
          "cvssMetricV31": [
            {
              "cvssData": {
                "attackComplexity": "LOW",
                "attackVector": "NETWORK",
                "availabilityImpact": "HIGH",
                "baseScore": 7.5,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "NONE",
                "integrityImpact": "NONE",
                "privilegesRequired": "NONE",
                "scope": "UNCHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H",
                "version": "3.1"
              },
              "exploitabilityScore": 3.9,
              "impactScore": 3.6,
              "source": "nvd@nist.gov",
              "type": "Primary"
            }
          ],
          "ssvcV203": [
            {
              "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "ssvcData": {
                "id": "CVE-2022-41724",
                "options": [
                  {
                    "exploitation": "none"
                  },
                  {
                    "automatable": "yes"
                  },
                  {
                    "technicalImpact": "partial"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2025-03-07T17:56:50.422222Z",
                "version": "2.0.3"
              }
            }
          ]
        },
        "published": "2023-02-28T18:15:10.043",
        "references": [
          {
            "source": "security@golang.org",
            "tags": [
              "Patch",
              "Release Notes"
            ],
            "url": "https://go.dev/cl/468125"
          },
          {
            "source": "security@golang.org",
            "tags": [
              "Issue Tracking",
              "Patch",
              "Vendor Advisory"
            ],
            "url": "https://go.dev/issue/58001"
          },
          {
            "source": "security@golang.org",
            "tags": [
              "Mailing List",
              "Vendor Advisory"
            ],
            "url": "https://groups.google.com/g/golang-announce/c/V0aBFqaFs_E"
          },
          {
            "source": "security@golang.org",
            "tags": [
              "Vendor Advisory"
            ],
            "url": "https://pkg.go.dev/vuln/GO-2023-1570"
          },
          {
            "source": "security@golang.org",
            "url": "https://security.gentoo.org/glsa/202311-09"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "tags": [
              "Patch",
              "Release Notes"
            ],
            "url": "https://go.dev/cl/468125"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "tags": [
              "Issue Tracking",
              "Patch",
              "Vendor Advisory"
            ],
            "url": "https://go.dev/issue/58001"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "tags": [
              "Mailing List",
              "Vendor Advisory"
            ],
            "url": "https://groups.google.com/g/golang-announce/c/V0aBFqaFs_E"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "tags": [
              "Vendor Advisory"
            ],
            "url": "https://pkg.go.dev/vuln/GO-2023-1570"
          },
          {
            "source": "af854a3a-2127-422b-91ae-364da2661108",
            "url": "https://security.gentoo.org/glsa/202311-09"
          }
        ],
        "sourceIdentifier": "security@golang.org",
        "vulnStatus": "Modified",
        "weaknesses": [
          {
            "description": [
              {
                "lang": "en",
                "value": "CWE-400"
              }
            ],
            "source": "nvd@nist.gov",
            "type": "Primary"
          }
        ]
      }
    },
    "redhat_vex": {
      "aggregate_severity": "Moderate",
      "current_release_date": "2026-10-13T08:20:12+00:00",
      "cve": "CVE-2022-41724",
      "id": "CVE-2022-41724",
      "initial_release_date": "2022-01-01T00:00:00+00:00",
      "product_status:fixed": "1726",
      "product_status:known_affected": "85",
      "product_status:known_not_affected": "2714",
      "source": "Red Hat CSAF VEX",
      "status": "final",
      "title": "golang: crypto/tls: large handshake records may cause panics",
      "url": "https://security.access.redhat.com/data/csaf/v2/vex/2022/cve-2022-41724.json",
      "version": "3"
    },
    "vulnrichment": {
      "containers": {
        "adp": [
          {
            "providerMetadata": {
              "dateUpdated": "2024-08-03T12:49:43.929Z",
              "orgId": "af854a3a-2127-422b-91ae-364da2661108",
              "shortName": "CVE"
            },
            "references": [
              {
                "tags": [
                  "x_transferred"
                ],
                "url": "https://go.dev/issue/58001"
              },
              {
                "tags": [
                  "x_transferred"
                ],
                "url": "https://go.dev/cl/468125"
              },
              {
                "tags": [
                  "x_transferred"
                ],
                "url": "https://groups.google.com/g/golang-announce/c/V0aBFqaFs_E"
              },
              {
                "tags": [
                  "x_transferred"
                ],
                "url": "https://pkg.go.dev/vuln/GO-2023-1570"
              },
              {
                "tags": [
                  "x_transferred"
                ],
                "url": "https://security.gentoo.org/glsa/202311-09"
              }
            ],
            "title": "CVE Program Container"
          },
          {
            "metrics": [
              {
                "other": {
                  "content": {
                    "id": "CVE-2022-41724",
                    "options": [
                      {
                        "Exploitation": "none"
                      },
                      {
                        "Automatable": "yes"
                      },
                      {
                        "Technical Impact": "partial"
                      }
                    ],
                    "role": "CISA Coordinator",
                    "timestamp": "2025-03-07T17:56:50.422222Z",
                    "version": "2.0.3"
                  },
                  "type": "ssvc"
                }
              }
            ],
            "providerMetadata": {
              "dateUpdated": "2025-03-07T17:56:59.380Z",
              "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
              "shortName": "CISA-ADP"
            },
            "title": "CISA ADP Vulnrichment"
          }
        ],
        "cna": {
          "affected": [
            {
              "collectionURL": "https://pkg.go.dev",
              "defaultStatus": "unaffected",
              "packageName": "crypto/tls",
              "product": "crypto/tls",
              "programRoutines": [
                {
                  "name": "handshakeMessage.marshal"
                },
                {
                  "name": "Conn.writeRecord"
                },
                {
                  "name": "Conn.readHandshake"
                },
                {
                  "name": "Conn.handleRenegotiation"
                },
                {
                  "name": "Conn.handlePostHandshakeMessage"
                },
                {
                  "name": "Conn.handleKeyUpdate"
                },
                {
                  "name": "Conn.clientHandshake"
                },
                {
                  "name": "Conn.loadSession"
                },
                {
                  "name": "clientHandshakeState.handshake"
                },
                {
                  "name": "clientHandshakeState.doFullHandshake"
                },
                {
                  "name": "clientHandshakeState.readFinished"
                },
                {
                  "name": "clientHandshakeState.readSessionTicket"
                },
                {
                  "name": "clientHandshakeState.sendFinished"
                },
                {
                  "name": "clientHandshakeStateTLS13.handshake"
                },
                {
                  "name": "clientHandshakeStateTLS13.sendDummyChangeCipherSpec"
                },
                {
                  "name": "clientHandshakeStateTLS13.processHelloRetryRequest"
                },
                {
                  "name": "clientHandshakeStateTLS13.readServerParameters"
                },
                {
                  "name": "clientHandshakeStateTLS13.readServerCertificate"
                },
                {
                  "name": "clientHandshakeStateTLS13.readServerFinished"
                },
                {
                  "name": "clientHandshakeStateTLS13.sendClientCertificate"
                },
                {
                  "name": "clientHandshakeStateTLS13.sendClientFinished"
                },
                {
                  "name": "clientHelloMsg.marshal"
                },
                {
                  "name": "clientHelloMsg.marshalWithoutBinders"
                },
                {
                  "name": "clientHelloMsg.updateBinders"
                },
                {
                  "name": "serverHelloMsg.marshal"
                },
                {
                  "name": "encryptedExtensionsMsg.marshal"
                },
                {
                  "name": "endOfEarlyDataMsg.marshal"
                },
                {
                  "name": "keyUpdateMsg.marshal"
                },
                {
                  "name": "newSessionTicketMsgTLS13.marshal"
                },
                {
                  "name": "certificateRequestMsgTLS13.marshal"
                },
                {
                  "name": "certificateMsg.marshal"
                },
                {
                  "name": "certificateMsgTLS13.marshal"
                },
                {
                  "name": "serverKeyExchangeMsg.marshal"
                },
                {
                  "name": "certificateStatusMsg.marshal"
                },
                {
                  "name": "serverHelloDoneMsg.marshal"
                },
                {
                  "name": "clientKeyExchangeMsg.marshal"
                },
                {
                  "name": "finishedMsg.marshal"
                },
                {
                  "name": "certificateRequestMsg.marshal"
                },
                {
                  "name": "certificateVerifyMsg.marshal"
                },
                {
                  "name": "newSessionTicketMsg.marshal"
                },
                {
                  "name": "helloRequestMsg.marshal"
                },
                {
                  "name": "Conn.readClientHello"
                },
                {
                  "name": "serverHandshakeState.doResumeHandshake"
                },
                {
                  "name": "serverHandshakeState.doFullHandshake"
                },
                {
                  "name": "serverHandshakeState.readFinished"
                },
                {
                  "name": "serverHandshakeState.sendSessionTicket"
                },
                {
                  "name": "serverHandshakeState.sendFinished"
                },
                {
                  "name": "serverHandshakeStateTLS13.checkForResumption"
                },
                {
                  "name": "serverHandshakeStateTLS13.sendDummyChangeCipherSpec"
                },
                {
                  "name": "serverHandshakeStateTLS13.doHelloRetryRequest"
                },
                {
                  "name": "serverHandshakeStateTLS13.sendServerParameters"
                },
                {
                  "name": "serverHandshakeStateTLS13.sendServerCertificate"
                },
                {
                  "name": "serverHandshakeStateTLS13.sendServerFinished"
                },
                {
                  "name": "serverHandshakeStateTLS13.sendSessionTickets"
                },
                {
                  "name": "serverHandshakeStateTLS13.readClientCertificate"
                },
                {
                  "name": "serverHandshakeStateTLS13.readClientFinished"
                },
                {
                  "name": "cipherSuiteTLS13.expandLabel"
                },
                {
                  "name": "sessionState.marshal"
                },
                {
                  "name": "sessionStateTLS13.marshal"
                },
                {
                  "name": "Conn.Handshake"
                },
                {
                  "name": "Conn.HandshakeContext"
                },
                {
                  "name": "Conn.Read"
                },
                {
                  "name": "Conn.Write"
                },
                {
                  "name": "ConnectionState.ExportKeyingMaterial"
                },
                {
                  "name": "Dial"
                },
                {
                  "name": "DialWithDialer"
                },
                {
                  "name": "Dialer.Dial"
                },
                {
                  "name": "Dialer.DialContext"
                }
              ],
              "vendor": "Go standard library",
              "versions": [
                {
                  "lessThan": "1.19.6",
                  "status": "affected",
                  "version": "0",
                  "versionType": "semver"
                },
                {
                  "lessThan": "1.20.1",
                  "status": "affected",
                  "version": "1.20.0-0",
                  "versionType": "semver"
                }
              ]
            }
          ],
          "credits": [
            {
              "lang": "en",
              "value": "Marten Seemann"
            }
          ],
          "descriptions": [
            {
              "lang": "en",
              "value": "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 \u003e= RequestClientCert)."
            }
          ],
          "problemTypes": [
            {
              "descriptions": [
                {
                  "description": "CWE-400: Uncontrolled Resource Consumption",
                  "lang": "en"
                }
              ]
            }
          ],
          "providerMetadata": {
            "dateUpdated": "2023-11-25T11:09:30.560Z",
            "orgId": "1bb62c36-49e3-4200-9d77-64a1400537cc",
            "shortName": "Go"
          },
          "references": [
            {
              "url": "https://go.dev/issue/58001"
            },
            {
              "url": "https://go.dev/cl/468125"
            },
            {
              "url": "https://groups.google.com/g/golang-announce/c/V0aBFqaFs_E"
            },
            {
              "url": "https://pkg.go.dev/vuln/GO-2023-1570"
            },
            {
              "url": "https://security.gentoo.org/glsa/202311-09"
            }
          ],
          "title": "Panic on large handshake records in crypto/tls"
        }
      },
      "cveMetadata": {
        "assignerOrgId": "1bb62c36-49e3-4200-9d77-64a1400537cc",
        "assignerShortName": "Go",
        "cveId": "CVE-2022-41724",
        "datePublished": "2023-02-28T17:19:44.420Z",
        "dateReserved": "2022-09-28T17:00:06.611Z",
        "dateUpdated": "2025-03-07T17:57:05.605Z",
        "state": "PUBLISHED"
      },
      "dataType": "CVE_RECORD",
      "dataVersion": "5.1"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline

Sightings and recorded dates, grouped by day · UTC

JSON
Events included in the timeline

Loading timeline…


    Loading…

    Loading…

    Loading…

    Related by attack behaviour

    Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.