[security] Go 1.13.7 and Go 1.12.16 are released

Hi gophers,

We have just released Go 1.13.7 and Go 1.12.16 to address recently reported security issues. We recommend that all users update to one of these releases (if you’re not sure which, choose Go 1.13.7).

  • X.509 certificate validation bypass on Windows 10

A Windows vulnerability allows attackers to spoof valid certificate chains when the system root store is in use. These releases include a mitigation for Go applications, but it’s strongly recommended that affected users install the Windows security update to protect their system.
This issue is CVE-2020-0601 and Go issue golang.org/issue/36834.

On 32-bit architectures, a malformed input to crypto/x509 or the ASN.1 parsing functions of golang.org/x/crypto/cryptobyte can lead to a panic.
The malformed certificate can be delivered via a crypto/tls connection to a client, or to a server that accepts client certificates. net/http clients can be made to crash by an HTTPS server, while net/http servers that accept client certificates will recover the panic and are unaffected.
Thanks to Project Wycheproof for providing the test cases that led to the discovery of this issue.
The issue is CVE-2020-7919 and Go issue golang.org/issue/36837.
This is also fixed in version v0.0.0-20200124225646-8b5121be2f68 of golang.org/x/crypto/cryptobyte.

The upcoming Go 1.14rc1 release will also include the fixes above.

Downloads are available at https://golang.org/dl for all supported platforms.

Thank you,

🐕
Katie and Dmitri on behalf of the Go team

1 Like