{"cve":"CVE-2021-34558","nvd":{"published":"2021-07-15T14:15:19.660","modified":"2026-06-17T03:56:07.257","status":"Modified","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H","score":6.5},"cwes":["CWE-295"],"references":["https://golang.org/doc/devel/release#go1.16.minor","https://groups.google.com/g/golang-announce","https://groups.google.com/g/golang-announce/c/n9FxMelZGAQ","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3BA7MFVXRBEKRTLSLYDICTYCGEMK2HZ7/","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3XBQUFVI5TMV4KMKI7GKA223LHGPQISE/"],"products":["fedoraproject:fedora","golang:go","netapp:cloud_insights_telegraf","netapp:storagegrid","netapp:trident","oracle:timesten_in-memory_database"],"source":"nvd","synced_at":"2026-10-19T21:21:13.713336758+00:00"},"epss":{"cve":"CVE-2021-34558","score":0.06975,"percentile":0.94138,"date":"2026-11-01"},"kev":null,"osv":[{"id":"GO-2021-0243","url":"https://osv.dev/vulnerability/GO-2021-0243","summary":"Panic on certain certificates in crypto/tls","modified":"2024-05-20T16:03:47Z","packages":[{"ecosystem":"Go","name":"stdlib","purl":"pkg:golang/stdlib","ranges":["<1.15.14",">=1.16.0-0 <1.16.6"],"fixed":["1.15.14","1.16.6"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}