{"id":"ALPINE-CVE-2021-34558","details":"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.","modified":"2026-11-03T06:32:40.496739955Z","published":"2021-07-15T14:15:19.660Z","upstream":["CVE-2021-34558"],"references":[{"type":"ADVISORY","url":"https://security.alpinelinux.org/vuln/CVE-2021-34558"}],"affected":[{"package":{"name":"go","ecosystem":"Alpine:v3.13","purl":"pkg:apk/alpine/go?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.16.0"},{"fixed":"1.15.14-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-34558.json"}},{"package":{"name":"go","ecosystem":"Alpine:v3.14","purl":"pkg:apk/alpine/go?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.16.0"},{"fixed":"1.16.6-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-34558.json"}},{"package":{"name":"go","ecosystem":"Alpine:v3.15","purl":"pkg:apk/alpine/go?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.16.0"},{"fixed":"1.16.6-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-34558.json"}},{"package":{"name":"go","ecosystem":"Alpine:v3.16","purl":"pkg:apk/alpine/go?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.16.0"},{"fixed":"1.16.6-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-34558.json"}},{"package":{"name":"go","ecosystem":"Alpine:v3.17","purl":"pkg:apk/alpine/go?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.16.0"},{"fixed":"1.16.6-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-34558.json"}},{"package":{"name":"go","ecosystem":"Alpine:v3.18","purl":"pkg:apk/alpine/go?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.16.0"},{"fixed":"1.16.6-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-34558.json"}},{"package":{"name":"go","ecosystem":"Alpine:v3.19","purl":"pkg:apk/alpine/go?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.16.0"},{"fixed":"1.16.6-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-34558.json"}},{"package":{"name":"go","ecosystem":"Alpine:v3.20","purl":"pkg:apk/alpine/go?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.16.0"},{"fixed":"1.16.6-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-34558.json"}},{"package":{"name":"go","ecosystem":"Alpine:v3.21","purl":"pkg:apk/alpine/go?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.16.0"},{"fixed":"1.16.6-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-34558.json"}},{"package":{"name":"go","ecosystem":"Alpine:v3.22","purl":"pkg:apk/alpine/go?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.16.0"},{"fixed":"1.16.6-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-34558.json"}},{"package":{"name":"go","ecosystem":"Alpine:v3.23","purl":"pkg:apk/alpine/go?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.16.0"},{"fixed":"1.16.6-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-34558.json"}},{"package":{"name":"go","ecosystem":"Alpine:v3.24","purl":"pkg:apk/alpine/go?arch=source"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.16.0"},{"fixed":"1.16.6-r0"}]}],"ecosystem_specific":{},"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/alpine/ALPINE-CVE-2021-34558.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"}]}