blob: 9814055095d5fbd7fd4df59eebd2a39de5486ab5 [file]
{
"schema_version": "1.3.1",
"id": "GO-2025-4013",
"modified": "0001-01-01T00:00:00Z",
"published": "0001-01-01T00:00:00Z",
"aliases": [
"CVE-2025-58188",
"CVE-2025-58188"
],
"summary": "Panic when validating certificates with DSA public keys in crypto/x509",
"details": "Validating certificate chains which contain DSA public keys can cause programs to panic, due to a interface cast that assumes they implement the Equal method.\n\nThis affects programs which validate arbitrary certificate chains.",
"affected": [
{
"package": {
"name": "stdlib",
"ecosystem": "Go"
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.24.8"
},
{
"introduced": "1.25.0"
},
{
"fixed": "1.25.2"
}
]
}
],
"ecosystem_specific": {
"imports": [
{
"path": "crypto/x509",
"symbols": [
"Certificate.Verify",
"alreadyInChain"
]
}
]
}
}
],
"references": [
{
"type": "FIX",
"url": "https://go.dev/cl/709853"
},
{
"type": "REPORT",
"url": "https://go.dev/issue/75675"
},
{
"type": "WEB",
"url": "https://groups.google.com/g/golang-announce/c/4Emdl2iQ_bI"
}
],
"credits": [
{
"name": "Jakub Ciolek"
}
],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2025-4013",
"review_status": "REVIEWED"
}
}