Go standard library crypto/tls
Unexpected session resumption in crypto/tls
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.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 1.24.13
- >= 1.25.0-0, < 1.25.7
- >= 1.26.0-rc.1, < 1.26.0-rc.3
Fixed in 1.24.13, 1.25.7, 1.26.0-rc.3
Mitigation
Upgrade crypto/tls to 1.24.13 or 1.25.7 or 1.26.0-rc.3 or later.
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.