Skip to main content
← All vulnerabilities
CVE-2023-45287GO-2023-2375BIT-GOLANG-2023-45287

Before Go 1.20, the RSA based key exchange methods in crypto/tls may exhibit a timing side channel

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 1.20.0
None on Exploit-DB, Metasploit or GitHub

Summary

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.

Timeline

  1. CVE published
  2. Record last updated

Affected versions

  • crypto/tls

    fixed in 1.20.0

  • stdlibGo

    fixed in 1.20.0

References 6

go.dev

groups.google.com

people.redhat.com

pkg.go.dev

security.netapp.com