Advisory

GO-2023-2375

Also known as: BIT-golang-2023-45287, CVE-2023-45287

Summary

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

Details

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.

Severity

Not rated by the source.

Dates

Published
2023-12-05 16:16 UTC
Modified
2026-02-04 03:57 UTC

Affected packages and fixes

stdlib

Go · All systems

Affected

  • introduced 0, fixed 1.20.0 (semver)

Fixed versions

1.20.0

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences