CVE-2021-34558

medium

Description

The crypto/tls package of Go through 1.16.5 does not properly assert that the type of public key in an X.509 certificate matches the expected type when doing a RSA based key exchange, allowing a malicious TLS server to cause a TLS client to panic.

References

https://groups.google.com/g/golang-announce

https://groups.google.com/g/golang-announce/c/n9FxMelZGAQ

https://golang.org/doc/devel/release#go1.16.minor

https://lists.fedoraproject.org/archives/list/[email protected]/message/3BA7MFVXRBEKRTLSLYDICTYCGEMK2HZ7/

https://lists.fedoraproject.org/archives/list/[email protected]/message/D7FRFM7WWR2JCT6NORQ7AO6B453OMI3I/

https://lists.fedoraproject.org/archives/list/[email protected]/message/WXJ2MVMAHOIGRH37ZSFYC4EVWLJFL2EQ/

https://lists.fedoraproject.org/archives/list/[email protected]/message/JYIUSR4YP52PWG7YE7AA3DZ5OSURNFJB/

https://lists.fedoraproject.org/archives/list/[email protected]/message/ITRXPCHUCJGXCX2CUEPKZRRTB27GG4ZB/

https://lists.fedoraproject.org/archives/list/[email protected]/message/3XBQUFVI5TMV4KMKI7GKA223LHGPQISE/

https://lists.fedoraproject.org/archives/list/[email protected]/message/LBMLUQMN6XRKPVOI5XFFBP4XSR7RNTYR/

https://lists.fedoraproject.org/archives/list/[email protected]/message/6BTC3JQUASFN5U2XA4UZIGAPZQBD5JSS/

https://security.netapp.com/advisory/ntap-20210813-0005/

https://lists.fedoraproject.org/archives/list/[email protected]/message/NLOGBB7XBBRB3J5FDPW5KWHSH7IRF64W/

https://www.oracle.com/security-alerts/cpuoct2021.html

https://www.oracle.com/security-alerts/cpujan2022.html

https://security.gentoo.org/glsa/202208-02

Details

Source: MITRE

Published: 2021-07-15

Updated: 2022-08-04

Type: CWE-295

Risk Information

CVSS v2

Base Score: 2.6

Vector: AV:N/AC:H/Au:N/C:N/I:N/A:P

Impact Score: 2.9

Exploitability Score: 4.9

Severity: LOW

CVSS v3

Base Score: 6.5

Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H

Impact Score: 3.6

Exploitability Score: 2.8

Severity: MEDIUM