Medium
CVE-2021-34558 affecting package golang 1.27.1-1
Type: advisorySources: OSV
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.
- Products
- golang
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-34558
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 30 Oct 2026, 14:03 UTC · Revision 1
Source evidence
CVE-2021-34558 affecting package golang 1.27.1-1
core-osv · Original sourcePublished 15 Jul 2021, 14:15 UTC
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.
osv:AZL-105167
golang
Fixed versions: Not specified
Complete source record
{
"id": "ca32ea23e558537fb4902282be6665edb0f9f95460c71ede308a4b19369612ac",
"url": "https://osv.dev/vulnerability/AZL-105167",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-34558 affecting package golang 1.27.1-1",
"summary": "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.",
"evidence": "osv:AZL-105167",
"products": [
{
"name": {
"value": "golang",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": []
}
],
"severity": "medium",
"structured": {
"id": "AZL-105167",
"aliases": [
"AZL-105167"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "1.27.0"
},
{
"last_affected": "1.27.1-1"
}
]
}
],
"package": {
"name": "golang",
"purl": "pkg:rpm/azure-linux/golang",
"ecosystem": "Azure Linux:3"
},
"database_specific": {
"source": "https://github.com/microsoft/AzureLinuxVulnerabilityData/blob/main/osv/AZL-105167.json"
}
}
],
"modified": "2026-10-15T05:37:09Z",
"provider": "osv",
"upstream": [
"CVE-2021-34558"
],
"references": [
"https://nvd.nist.gov/vuln/detail/CVE-2021-34558"
]
},
"related_cves": [
{
"value": "CVE-2021-34558",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 321272,
"published_at": "2021-07-15T14:15:19+00:00"
}