aboutsummaryrefslogtreecommitdiff
path: root/VERSION
diff options
context:
space:
mode:
authorRoland Shoemaker <roland@golang.org>2021-06-09 11:31:27 -0700
committerDmitri Shuralyov <dmitshur@golang.org>2021-07-12 17:19:01 +0000
commit58bc454a11d4b3dbc03f44dfcabb9068a9c076f4 (patch)
tree97ddcddbde31cb5d26bfc74e2a22ff8661d92244 /VERSION
parentfb052db03a37deb29afc5abbbcd141e5299280df (diff)
downloadgo-58bc454a11d4b3dbc03f44dfcabb9068a9c076f4.tar.gz
go-58bc454a11d4b3dbc03f44dfcabb9068a9c076f4.zip
[release-branch.go1.16] crypto/tls: test key type when casting
When casting the certificate public key in generateClientKeyExchange, check the type is appropriate. This prevents a panic when a server agrees to a RSA based key exchange, but then sends an ECDSA (or other) certificate. Updates #47143 Fixes #47145 Fixes CVE-2021-34558 Thanks to Imre Rad for reporting this issue. Change-Id: Iabccacca6052769a605cccefa1216a9f7b7f6aea Reviewed-on: https://team-review.git.corp.google.com/c/golang/go-private/+/1116723 Reviewed-by: Filippo Valsorda <valsorda@google.com> Reviewed-by: Katie Hockman <katiehockman@google.com> Reviewed-on: https://go-review.googlesource.com/c/go/+/334029 Trust: Filippo Valsorda <filippo@golang.org> Run-TryBot: Filippo Valsorda <filippo@golang.org> Reviewed-by: Dmitri Shuralyov <dmitshur@golang.org> TryBot-Result: Go Bot <gobot@golang.org>
Diffstat (limited to 'VERSION')
0 files changed, 0 insertions, 0 deletions