CVE-2023-45287 Before Go 1.20, the RSA based key exchange methods in crypto/tls may exhibit a timing side channel
HighCVSS 7.5
EPSS 1.3%
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- UbuntuDebian
Description
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.
Upgrade path
6 packages: 3 fixed, 3 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/golang-1.19(Debian 12) | = 1.19.8-2; = 1.19.9-1; = 1.19.10-1; = 1.19.10-2 +9 more | No fix listed | No fix yet |
| ubuntu/golang-1.20(Ubuntu 20.04) | = 1.20.3-1ubuntu0.1~20.04; = 1.20.3-1ubuntu0.1~20.04.1; All versions | No fix listed | No fix yet |
| ubuntu/golang-1.20(Ubuntu 22.04) | = 1.20.3-1ubuntu0.1~22.04; = 1.20.3-1ubuntu0.1~22.04.1; All versions | No fix listed | No fix yet |
| crypto/tls(Go) | < 1.20.0 | 1.20.0 | Fixed |
| golang go | < 1.20.0 | 1.20.0 | Fixed |
| stdlib(Go) | < 1.20.0 | 1.20.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| stdlib(Go) | < 1.20.0 | 1.20.0 |
| debian/golang-1.19(Debian:12) | All versions | No fix listed |
| debian/golang-1.19(Debian:12) | = 1.19.10-1 | No fix listed |
| debian/golang-1.19(Debian:12) | = 1.19.10-2 | No fix listed |
| debian/golang-1.19(Debian:12) | = 1.19.11-1 | No fix listed |
| debian/golang-1.19(Debian:12) | = 1.19.12-1 | No fix listed |
| debian/golang-1.19(Debian:12) | = 1.19.12-2 | No fix listed |
| debian/golang-1.19(Debian:12) | = 1.19.12-2~bpo11+1 | No fix listed |
| debian/golang-1.19(Debian:12) | = 1.19.12-2~bpo12+1 | No fix listed |
| debian/golang-1.19(Debian:12) | = 1.19.13-1 | No fix listed |
| debian/golang-1.19(Debian:12) | = 1.19.13-1~bpo11+1 | No fix listed |
| debian/golang-1.19(Debian:12) | = 1.19.13-1~bpo12+1 | No fix listed |
| debian/golang-1.19(Debian:12) | = 1.19.8-2 | No fix listed |
| debian/golang-1.19(Debian:12) | = 1.19.9-1 | No fix listed |
| crypto/tls(Go) | < 1.20.0 | 1.20.0 |
| ubuntu/golang-1.20(Ubuntu:22.04) | All versions | No fix listed |
| golang go | < 1.20.0 | 1.20.0 |
| ubuntu/golang-1.20(Ubuntu:20.04) | All versions | No fix listed |
| ubuntu/golang-1.20(Ubuntu:20.04) | = 1.20.3-1ubuntu0.1~20.04 | No fix listed |
| ubuntu/golang-1.20(Ubuntu:20.04) | = 1.20.3-1ubuntu0.1~20.04.1 | No fix listed |
| ubuntu/golang-1.20(Ubuntu:22.04) | = 1.20.3-1ubuntu0.1~22.04 | No fix listed |
| ubuntu/golang-1.20(Ubuntu:22.04) | = 1.20.3-1ubuntu0.1~22.04.1 | No fix listed |
References
- go.dev issue-tracking
- go.dev issue-tracking patch
- groups.google.com issue-tracking mailing-list release-notes
- people.redhat.com issue-tracking technical-description third-party-advisory
- Debian Security Tracker CVE-2023-45287 vendor-advisory
- pkg.go.dev issue-tracking vendor-advisory
- security.netapp.com
- Ubuntu CVE tracker issue-tracking vendor-advisory
- www.cve.org issue-tracking