Vulnerability in Golang Go
CVE-2021-34558
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.
Vulnerability class: Improper Certificate Validation
Published · last modified .
CVSS v3 metric
CVSS v3 base score 6.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H.
EPSS exploit prediction
EPSS 0.070, 94.3th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
1 public repository with exploit or proof-of-concept code for this CVE:
- alexzorin/cve-2021-34558 (45 stars, last pushed 2021-07-13)
Also mentioned in 16 other repositories (0day404/vulnerability-poc, 20142995/sectool, agadecki/malware-cryptominer-container, …). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- groups.google.com/g/golang-announce (Mailing List, Third Party Advisory)
- golang.org/doc/devel/release (Release Notes, Vendor Advisory)
- FEDORA-2021-25c0011e78 (vendor-advisory)
- FEDORA-2021-1bfb61f77c (vendor-advisory)
- FEDORA-2021-3a55403080 (vendor-advisory)
- FEDORA-2021-47d259d3cf (vendor-advisory)
- FEDORA-2021-6ac9b98f9e (vendor-advisory)
- FEDORA-2021-07e4d20196 (vendor-advisory)
- FEDORA-2021-ffa749f7f7 (vendor-advisory)
- FEDORA-2021-54f88bebd4 (vendor-advisory)
This CVE has public exploit evidence. See the latest CVEs with public exploits.