CVE-2021-34558
Panic on certain certificates in crypto/tls
6.5
MEDIUM
CVSS 3.1
EPSS 0.92%
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.
How to fix CVE-2021-34558
To remediate CVE-2021-34558, upgrade the affected package to a fixed version below.
- —upgrade to 1.15.14 or later
- —upgrade to 1.15.9-6 or later
- —upgrade to 1.15.14 or later
Is CVE-2021-34558 being exploited?
Low — EPSS is 0.9%, meaning exploitation activity has not been observed at scale.
Affected packages (3)
- from 0, < 1.15.14, >= 1.16.0, < 1.16.6
- from 0, < 1.15.9-6
- from 0, < 1.15.14, >= 1.16.0-0, < 1.16.6
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H |