| { |
| "dataType": "CVE_RECORD", |
| "dataVersion": "5.0", |
| "cveMetadata": { |
| "cveId": "CVE-2023-45287" |
| }, |
| "containers": { |
| "cna": { |
| "providerMetadata": { |
| "orgId": "1bb62c36-49e3-4200-9d77-64a1400537cc" |
| }, |
| "title": "Before Go 1.20, the RSA based key exchange methods in crypto/tls may exhibit a timing side channel", |
| "descriptions": [ |
| { |
| "lang": "en", |
| "value": "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": [ |
| { |
| "vendor": "Go standard library", |
| "product": "crypto/tls", |
| "collectionURL": "https://pkg.go.dev", |
| "packageName": "crypto/tls", |
| "versions": [ |
| { |
| "version": "0", |
| "lessThan": "1.20.0", |
| "status": "affected", |
| "versionType": "semver" |
| } |
| ], |
| "programRoutines": [ |
| { |
| "name": "rsaKeyAgreement.processClientKeyExchange" |
| }, |
| { |
| "name": "rsaKeyAgreement.generateClientKeyExchange" |
| }, |
| { |
| "name": "Conn.Handshake" |
| }, |
| { |
| "name": "Conn.HandshakeContext" |
| }, |
| { |
| "name": "Conn.Read" |
| }, |
| { |
| "name": "Conn.Write" |
| }, |
| { |
| "name": "Dial" |
| }, |
| { |
| "name": "DialWithDialer" |
| }, |
| { |
| "name": "Dialer.Dial" |
| }, |
| { |
| "name": "Dialer.DialContext" |
| } |
| ], |
| "defaultStatus": "unaffected" |
| } |
| ], |
| "problemTypes": [ |
| { |
| "descriptions": [ |
| { |
| "lang": "en", |
| "description": "CWE-208: Observable Timing Discrepancy" |
| } |
| ] |
| } |
| ], |
| "references": [ |
| { |
| "url": "https://go.dev/issue/20654" |
| }, |
| { |
| "url": "https://go.dev/cl/326012/26" |
| }, |
| { |
| "url": "https://groups.google.com/g/golang-announce/c/QMK8IQALDvA" |
| }, |
| { |
| "url": "https://people.redhat.com/~hkario/marvin/" |
| }, |
| { |
| "url": "https://pkg.go.dev/vuln/GO-2023-2375" |
| }, |
| { |
| "url": "https://security.netapp.com/advisory/ntap-20240112-0005/" |
| } |
| ] |
| } |
| } |
| } |