6.5
MEDIUM
CVE-2021-34558
Go Crypto TLS Invalid Public Key Type Assertion
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.

INFO

Published Date :

July 15, 2021, 2:15 p.m.

Last Modified :

Nov. 7, 2023, 3:36 a.m.

Remotely Exploitable :

Yes !

Impact Score :

3.6

Exploitability Score :

2.8
Public PoC/Exploit Available at Github

CVE-2021-34558 has a 9 public PoC/Exploit available at Github. Go to the Public Exploits tab to see the list.

Affected Products

The following products are affected by CVE-2021-34558 vulnerability. Even if cvefeed.io is aware of the exact versions of the products that are affected, the information is not represented in the table below.

ID Vendor Product Action
1 Netapp trident
2 Netapp storagegrid
3 Netapp cloud_insights_telegraf
1 Fedoraproject fedora
1 Golang go
1 Oracle timesten_in-memory_database
References to Advisories, Solutions, and Tools

Here, you will find a curated list of external links that provide in-depth information, practical solutions, and valuable tools related to CVE-2021-34558.

URL Resource
https://golang.org/doc/devel/release#go1.16.minor Release Notes Vendor Advisory
https://groups.google.com/g/golang-announce Mailing List Third Party Advisory
https://groups.google.com/g/golang-announce/c/n9FxMelZGAQ Mailing List Release Notes Third Party Advisory
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/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6BTC3JQUASFN5U2XA4UZIGAPZQBD5JSS/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/D7FRFM7WWR2JCT6NORQ7AO6B453OMI3I/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ITRXPCHUCJGXCX2CUEPKZRRTB27GG4ZB/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JYIUSR4YP52PWG7YE7AA3DZ5OSURNFJB/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LBMLUQMN6XRKPVOI5XFFBP4XSR7RNTYR/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NLOGBB7XBBRB3J5FDPW5KWHSH7IRF64W/
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WXJ2MVMAHOIGRH37ZSFYC4EVWLJFL2EQ/
https://security.gentoo.org/glsa/202208-02 Third Party Advisory
https://security.netapp.com/advisory/ntap-20210813-0005/ Third Party Advisory
https://www.oracle.com/security-alerts/cpujan2022.html Patch Third Party Advisory
https://www.oracle.com/security-alerts/cpuoct2021.html Patch Third Party Advisory

We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).

None

CSS HTML JavaScript

Updated: 7 months, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : Feb. 2, 2024, 2:11 p.m. This repo has been linked 494 different CVEs too.

None

Dockerfile

Updated: 10 months, 2 weeks ago
0 stars 0 fork 0 watcher
Born at : Oct. 31, 2023, 7:09 p.m. This repo has been linked 49 different CVEs too.

poc集合(持续更新ing)

Updated: 4 months, 1 week ago
4 stars 0 fork 0 watcher
Born at : July 30, 2023, 1:30 a.m. This repo has been linked 154 different CVEs too.

A Common Vulnerability PoC Knowledge Base一个普遍漏洞POC知识库

vulnerability

Updated: 2 months ago
17 stars 6 fork 6 watcher
Born at : June 24, 2023, 3:12 p.m. This repo has been linked 232 different CVEs too.

None

Dockerfile

Updated: 4 months, 3 weeks ago
0 stars 1 fork 1 watcher
Born at : March 27, 2023, 3:07 p.m. This repo has been linked 49 different CVEs too.

Container image with malware and crypto miner for testing purposes

container crypto cryptominer dockerfile eicar image malware test xmrig

Dockerfile

Updated: 1 week, 1 day ago
40 stars 20 fork 20 watcher
Born at : Nov. 4, 2022, 9:16 a.m. This repo has been linked 49 different CVEs too.

None

Go

Updated: 9 months ago
47 stars 3 fork 3 watcher
Born at : July 13, 2021, 6:15 a.m. This repo has been linked 1 different CVEs too.

Automatic monitor github cve using Github Actions

Python

Updated: 2 years, 11 months ago
0 stars 56 fork 56 watcher
Born at : April 7, 2021, 11:16 a.m. This repo has been linked 1007 different CVEs too.

平常看到好的渗透hacking工具和多领域效率工具的集合

web hacking awesome-list hacker hacking-tool kali-scripts hacking-tools pentesting-tools pentest-scripts bounty-hunters bug-bounty bugbounty bugbounty-tool

Updated: 1 week, 3 days ago
985 stars 180 fork 180 watcher
Born at : June 12, 2020, 9:16 a.m. This repo has been linked 91 different CVEs too.

Results are limited to the first 15 repositories due to potential performance issues.

The following list is the news that have been mention CVE-2021-34558 vulnerability anywhere in the article.

The following table lists the changes that have been made to the CVE-2021-34558 vulnerability over time.

Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.

  • CVE Modified by [email protected]

    May. 14, 2024

    Action Type Old Value New Value
  • CVE Modified by [email protected]

    Nov. 07, 2023

    Action Type Old Value New Value
    Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/D7FRFM7WWR2JCT6NORQ7AO6B453OMI3I/ [No types assigned]
    Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3BA7MFVXRBEKRTLSLYDICTYCGEMK2HZ7/ [No types assigned]
    Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/JYIUSR4YP52PWG7YE7AA3DZ5OSURNFJB/ [No types assigned]
    Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/WXJ2MVMAHOIGRH37ZSFYC4EVWLJFL2EQ/ [No types assigned]
    Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/LBMLUQMN6XRKPVOI5XFFBP4XSR7RNTYR/ [No types assigned]
    Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3XBQUFVI5TMV4KMKI7GKA223LHGPQISE/ [No types assigned]
    Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/6BTC3JQUASFN5U2XA4UZIGAPZQBD5JSS/ [No types assigned]
    Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/ITRXPCHUCJGXCX2CUEPKZRRTB27GG4ZB/ [No types assigned]
    Added Reference MITRE https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/NLOGBB7XBBRB3J5FDPW5KWHSH7IRF64W/ [No types assigned]
    Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/3BA7MFVXRBEKRTLSLYDICTYCGEMK2HZ7/
    Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/D7FRFM7WWR2JCT6NORQ7AO6B453OMI3I/
    Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/WXJ2MVMAHOIGRH37ZSFYC4EVWLJFL2EQ/
    Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/JYIUSR4YP52PWG7YE7AA3DZ5OSURNFJB/
    Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/ITRXPCHUCJGXCX2CUEPKZRRTB27GG4ZB/
    Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/3XBQUFVI5TMV4KMKI7GKA223LHGPQISE/
    Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/LBMLUQMN6XRKPVOI5XFFBP4XSR7RNTYR/
    Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/6BTC3JQUASFN5U2XA4UZIGAPZQBD5JSS/
    Removed Reference MITRE https://lists.fedoraproject.org/archives/list/[email protected]/message/NLOGBB7XBBRB3J5FDPW5KWHSH7IRF64W/
  • Modified Analysis by [email protected]

    Aug. 04, 2022

    Action Type Old Value New Value
    Changed Reference Type https://security.gentoo.org/glsa/202208-02 No Types Assigned https://security.gentoo.org/glsa/202208-02 Third Party Advisory
    Changed CPE Configuration OR *cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* versions up to (including) 1.16.5 OR *cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* versions up to (excluding) 1.15.14 *cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* versions from (including) 1.16.0 up to (excluding) 1.16.6
  • CVE Modified by [email protected]

    Aug. 04, 2022

    Action Type Old Value New Value
    Added Reference https://security.gentoo.org/glsa/202208-02 [No Types Assigned]
  • Modified Analysis by [email protected]

    Mar. 01, 2022

    Action Type Old Value New Value
    Changed Reference Type https://www.oracle.com/security-alerts/cpujan2022.html No Types Assigned https://www.oracle.com/security-alerts/cpujan2022.html Patch, Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:a:oracle:timesten_in-memory_database:*:*:*:*:*:*:*:* versions up to (excluding) 21.1.1.1.0
  • CVE Modified by [email protected]

    Feb. 07, 2022

    Action Type Old Value New Value
    Added Reference https://www.oracle.com/security-alerts/cpujan2022.html [No Types Assigned]
  • Modified Analysis by [email protected]

    Dec. 10, 2021

    Action Type Old Value New Value
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/NLOGBB7XBBRB3J5FDPW5KWHSH7IRF64W/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/NLOGBB7XBBRB3J5FDPW5KWHSH7IRF64W/ Mailing List, Third Party Advisory
    Changed Reference Type https://www.oracle.com/security-alerts/cpuoct2021.html No Types Assigned https://www.oracle.com/security-alerts/cpuoct2021.html Patch, Third Party Advisory
  • CVE Modified by [email protected]

    Oct. 20, 2021

    Action Type Old Value New Value
    Added Reference https://www.oracle.com/security-alerts/cpuoct2021.html [No Types Assigned]
  • CVE Modified by [email protected]

    Oct. 10, 2021

    Action Type Old Value New Value
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/NLOGBB7XBBRB3J5FDPW5KWHSH7IRF64W/ [No Types Assigned]
  • Modified Analysis by [email protected]

    Sep. 20, 2021

    Action Type Old Value New Value
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/3BA7MFVXRBEKRTLSLYDICTYCGEMK2HZ7/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/3BA7MFVXRBEKRTLSLYDICTYCGEMK2HZ7/ Mailing List, Third Party Advisory
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/3XBQUFVI5TMV4KMKI7GKA223LHGPQISE/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/3XBQUFVI5TMV4KMKI7GKA223LHGPQISE/ Mailing List, Third Party Advisory
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/6BTC3JQUASFN5U2XA4UZIGAPZQBD5JSS/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/6BTC3JQUASFN5U2XA4UZIGAPZQBD5JSS/ Mailing List, Third Party Advisory
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/D7FRFM7WWR2JCT6NORQ7AO6B453OMI3I/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/D7FRFM7WWR2JCT6NORQ7AO6B453OMI3I/ Mailing List, Third Party Advisory
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/ITRXPCHUCJGXCX2CUEPKZRRTB27GG4ZB/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/ITRXPCHUCJGXCX2CUEPKZRRTB27GG4ZB/ Mailing List, Third Party Advisory
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/JYIUSR4YP52PWG7YE7AA3DZ5OSURNFJB/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/JYIUSR4YP52PWG7YE7AA3DZ5OSURNFJB/ Mailing List, Third Party Advisory
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/LBMLUQMN6XRKPVOI5XFFBP4XSR7RNTYR/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/LBMLUQMN6XRKPVOI5XFFBP4XSR7RNTYR/ Mailing List, Third Party Advisory
    Changed Reference Type https://lists.fedoraproject.org/archives/list/[email protected]/message/WXJ2MVMAHOIGRH37ZSFYC4EVWLJFL2EQ/ No Types Assigned https://lists.fedoraproject.org/archives/list/[email protected]/message/WXJ2MVMAHOIGRH37ZSFYC4EVWLJFL2EQ/ Mailing List, Third Party Advisory
    Changed Reference Type https://security.netapp.com/advisory/ntap-20210813-0005/ No Types Assigned https://security.netapp.com/advisory/ntap-20210813-0005/ Third Party Advisory
    Added CPE Configuration OR *cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* *cpe:2.3:o:fedoraproject:fedora:34:*:*:*:*:*:*:*
    Added CPE Configuration OR *cpe:2.3:a:netapp:cloud_insights_telegraf:-:*:*:*:*:*:*:* *cpe:2.3:a:netapp:storagegrid:-:*:*:*:*:*:*:* *cpe:2.3:a:netapp:trident:-:*:*:*:*:*:*:*
  • CVE Modified by [email protected]

    Aug. 13, 2021

    Action Type Old Value New Value
    Added Reference https://security.netapp.com/advisory/ntap-20210813-0005/ [No Types Assigned]
  • CVE Modified by [email protected]

    Aug. 11, 2021

    Action Type Old Value New Value
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/ITRXPCHUCJGXCX2CUEPKZRRTB27GG4ZB/ [No Types Assigned]
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/3XBQUFVI5TMV4KMKI7GKA223LHGPQISE/ [No Types Assigned]
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/LBMLUQMN6XRKPVOI5XFFBP4XSR7RNTYR/ [No Types Assigned]
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/6BTC3JQUASFN5U2XA4UZIGAPZQBD5JSS/ [No Types Assigned]
  • CVE Modified by [email protected]

    Aug. 04, 2021

    Action Type Old Value New Value
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/WXJ2MVMAHOIGRH37ZSFYC4EVWLJFL2EQ/ [No Types Assigned]
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/JYIUSR4YP52PWG7YE7AA3DZ5OSURNFJB/ [No Types Assigned]
  • CVE Modified by [email protected]

    Jul. 30, 2021

    Action Type Old Value New Value
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/3BA7MFVXRBEKRTLSLYDICTYCGEMK2HZ7/ [No Types Assigned]
    Added Reference https://lists.fedoraproject.org/archives/list/[email protected]/message/D7FRFM7WWR2JCT6NORQ7AO6B453OMI3I/ [No Types Assigned]
  • Initial Analysis by [email protected]

    Jul. 30, 2021

    Action Type Old Value New Value
    Added CVSS V2 Metadata Victim must voluntarily interact with attack mechanism
    Added CVSS V2 NIST (AV:N/AC:H/Au:N/C:N/I:N/A:P)
    Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
    Changed Reference Type https://golang.org/doc/devel/release#go1.16.minor No Types Assigned https://golang.org/doc/devel/release#go1.16.minor Release Notes, Vendor Advisory
    Changed Reference Type https://groups.google.com/g/golang-announce No Types Assigned https://groups.google.com/g/golang-announce Mailing List, Third Party Advisory
    Changed Reference Type https://groups.google.com/g/golang-announce/c/n9FxMelZGAQ No Types Assigned https://groups.google.com/g/golang-announce/c/n9FxMelZGAQ Mailing List, Release Notes, Third Party Advisory
    Added CWE NIST CWE-295
    Added CPE Configuration OR *cpe:2.3:a:golang:go:*:*:*:*:*:*:*:* versions up to (including) 1.16.5
EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days. Following chart shows the EPSS score history of the vulnerability.
CWE - Common Weakness Enumeration

While CVE identifies specific instances of vulnerabilities, CWE categorizes the common flaws or weaknesses that can lead to vulnerabilities. CVE-2021-34558 is associated with the following CWEs:

Common Attack Pattern Enumeration and Classification (CAPEC)

Common Attack Pattern Enumeration and Classification (CAPEC) stores attack patterns, which are descriptions of the common attributes and approaches employed by adversaries to exploit the CVE-2021-34558 weaknesses.

Exploit Prediction

EPSS is a daily estimate of the probability of exploitation activity being observed over the next 30 days.

0.26 }} 0.01%

score

0.65106

percentile

CVSS31 - Vulnerability Scoring System
Attack Vector
Attack Complexity
Privileges Required
User Interaction
Scope
Confidentiality
Integrity
Availability