Before Go 1.20, the RSA based key exchange methods in crypto/tls may exhibit a timing side channel
Summary
Before Go 1.20, the RSA based key exchange methods in crypto/tls may exhibit a timing side channel
Original description
The description as published by the source.
Before Go 1.20, the RSA based TLS key exchanges used the math/big library, which is not constant time. RSA blinding was applied to prevent timing attacks, but analysis shows this may not have been fully effective. In particular it appears as if the removal of PKCS#1 padding may leak timing information, which in turn could be used to recover session key bits. In Go 1.20, the crypto/tls library switched to a fully constant time RSA implementation, which we do not believe exhibits any timing side channels.
Affected packages
Fix status by distribution
Fixed packages published by each distribution for this CVE
- Debian DEBIAN-CVE-2023-45287 golang-1.15
References
- advisory people.redhat.com
- advisory pkg.go.dev
- report go.dev
- report go.dev
- web groups.google.com
- web security.netapp.com
- web nvd.nist.gov