cve.bz

CVE-2021-34558

6.5 mediumEPSS 7.0%

Medium (6.5). EPSS 7.0% chance of exploitation in the next 30 days. Fixed in stdlib 1.15.14, 1.16.6.

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.

Severity

CVSS 3.1

6.5 medium
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
EPSS
7.0% chance of exploitation in the next 30 days; higher than 94% of CVEs (scores of 2026-10-31)
CWE
CWE-295
Published
Modified
Record from
the NVD, synced

Affected

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GO-2021-0243Gostdlib<1.15.14
>=1.16.0-0 <1.16.6
1.15.14, 1.16.6

References

Check your stackJSON