Vulnerability Report: GO-2023-2375
- CVE-2023-45287
- Affects: crypto/tls
- Published: Dec 05, 2023
- Modified: May 20, 2024
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
-
PathVersionsSymbols
-
before go1.20.0
Aliases
References
- https://go.dev/issue/20654
- https://go.dev/cl/326012/26
- https://groups.google.com/g/golang-announce/c/QMK8IQALDvA
- https://people.redhat.com/~hkario/marvin/
- https://vuln.go.dev/ID/GO-2023-2375.json
Feedback
See anything missing or incorrect?
Suggest an edit to this report.