blob: 53727cde7a075c162f2d8d5e3528f395d76af753 [file]
{
"dataType": "CVE_RECORD",
"dataVersion": "5.0",
"cveMetadata": {
"cveId": "CVE-2025-61727"
},
"containers": {
"cna": {
"providerMetadata": {
"orgId": "1bb62c36-49e3-4200-9d77-64a1400537cc"
},
"title": "Improper application of excluded DNS name constraints when verifying wildcard names in crypto/x509",
"descriptions": [
{
"lang": "en",
"value": "An excluded subdomain constraint in a certificate chain does not restrict the usage of wildcard SANs in the leaf certificate. For example a constraint that excludes the subdomain test.example.com does not prevent a leaf certificate from claiming the SAN *.example.com."
}
],
"affected": [
{
"vendor": "Go standard library",
"product": "crypto/x509",
"collectionURL": "https://pkg.go.dev",
"packageName": "crypto/x509",
"versions": [
{
"version": "0",
"lessThan": "1.24.11",
"status": "affected",
"versionType": "semver"
},
{
"version": "1.25.0",
"lessThan": "1.25.5",
"status": "affected",
"versionType": "semver"
}
],
"programRoutines": [
{
"name": "Certificate.Verify"
}
],
"defaultStatus": "unaffected"
}
],
"problemTypes": [
{
"descriptions": [
{
"lang": "en",
"description": "CWE-295: Improper Certificate Validation"
}
]
}
],
"references": [
{
"url": "https://go.dev/cl/723900"
},
{
"url": "https://go.dev/issue/76442"
},
{
"url": "https://groups.google.com/g/golang-announce/c/8FJoBkPddm4"
},
{
"url": "https://pkg.go.dev/vuln/GO-2025-4175"
}
]
}
}
}