GO-2026-4337
Unexpected session resumption in crypto/tls
En bref
- Publiée
- Mise à jour
- CVE
- CVE-2025-68121
- Alias
- BIT-golang-2025-68121
Description
During session resumption in crypto/tls, if the underlying Config has its ClientCAs or RootCAs fields mutated between the initial handshake and the resumed handshake, the resumed handshake may succeed when it should have failed. This may happen when a user calls Config.Clone and mutates the returned Config, or uses Config.GetConfigForClient. This can cause a client to resume a session with a server that it would not have resumed with during the initial handshake, or cause a server to resume a session with a client that it would not have resumed with during the initial handshake.
Paquets affectés
| Paquet | Versions |
|---|---|
| Go · stdlib | introduced 0, fixed 1.24.13, introduced 1.25.0-0, fixed 1.25.7, introduced 1.26.0-rc.1, fixed 1.26.0-rc.3 |
Références
- https://groups.google.com/g/golang-announce/c/K09ubi9FQFk WEB
- https://go.dev/cl/737700 FIX
- https://go.dev/issue/77217 REPORT
Sources
| Source | Licence |
|---|---|
| OSV.dev | CC-BY 4.0 — Go Vulnerability Database |