blob: 3d44ef1186a6d66ab87b87c3e7b7d91567ae0e3c [file] [log] [blame]
{
"schema_version": "1.3.1",
"id": "GO-2023-2375",
"modified": "0001-01-01T00:00:00Z",
"published": "0001-01-01T00:00:00Z",
"aliases": [
"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.\n\nIn 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": [
{
"package": {
"name": "stdlib",
"ecosystem": "Go"
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.20.0"
}
]
}
],
"ecosystem_specific": {
"imports": [
{
"path": "crypto/tls",
"symbols": [
"Conn.Handshake",
"Conn.HandshakeContext",
"Conn.Read",
"Conn.Write",
"Dial",
"DialWithDialer",
"Dialer.Dial",
"Dialer.DialContext",
"rsaKeyAgreement.generateClientKeyExchange",
"rsaKeyAgreement.processClientKeyExchange"
]
}
]
}
}
],
"references": [
{
"type": "REPORT",
"url": "https://go.dev/issue/20654"
},
{
"type": "FIX",
"url": "https://go.dev/cl/326012/26"
},
{
"type": "WEB",
"url": "https://groups.google.com/g/golang-announce/c/QMK8IQALDvA"
},
{
"type": "ARTICLE",
"url": "https://people.redhat.com/~hkario/marvin/"
}
],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2023-2375",
"review_status": "REVIEWED"
}
}