Skip to content

Commit 68d97fd

Browse files
rolandshoemakergopherbot
authored andcommitted
data/reports: add GO-2025-4175
- data/reports/GO-2025-4175.yaml Updates #4175 Change-Id: Ieaedccb020cc67edfb4f444d2267c032907b96e6 Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/726060 Auto-Submit: Roland Shoemaker <[email protected]> Reviewed-by: Nicholas Husin <[email protected]> Reviewed-by: Nicholas Husin <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]>
1 parent e134486 commit 68d97fd

File tree

3 files changed

+170
-0
lines changed

3 files changed

+170
-0
lines changed

data/cve/v5/GO-2025-4175.json

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
{
2+
"dataType": "CVE_RECORD",
3+
"dataVersion": "5.0",
4+
"cveMetadata": {
5+
"cveId": "CVE-2025-61727"
6+
},
7+
"containers": {
8+
"cna": {
9+
"providerMetadata": {
10+
"orgId": "1bb62c36-49e3-4200-9d77-64a1400537cc"
11+
},
12+
"title": "Improper application of excluded DNS name constraints when verifying wildcard names in crypto/x509",
13+
"descriptions": [
14+
{
15+
"lang": "en",
16+
"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."
17+
}
18+
],
19+
"affected": [
20+
{
21+
"vendor": "Go standard library",
22+
"product": "crypto/x509",
23+
"collectionURL": "https://pkg.go.dev",
24+
"packageName": "crypto/x509",
25+
"versions": [
26+
{
27+
"version": "0",
28+
"lessThan": "1.24.11",
29+
"status": "affected",
30+
"versionType": "semver"
31+
},
32+
{
33+
"version": "1.25.0",
34+
"lessThan": "1.25.5",
35+
"status": "affected",
36+
"versionType": "semver"
37+
}
38+
],
39+
"programRoutines": [
40+
{
41+
"name": "Certificate.Verify"
42+
}
43+
],
44+
"defaultStatus": "unaffected"
45+
}
46+
],
47+
"problemTypes": [
48+
{
49+
"descriptions": [
50+
{
51+
"lang": "en",
52+
"description": "CWE-295: Improper Certificate Validation"
53+
}
54+
]
55+
}
56+
],
57+
"references": [
58+
{
59+
"url": "https://go.dev/cl/723900"
60+
},
61+
{
62+
"url": "https://go.dev/issue/76442"
63+
},
64+
{
65+
"url": "https://groups.google.com/g/golang-announce/c/8FJoBkPddm4"
66+
},
67+
{
68+
"url": "https://pkg.go.dev/vuln/GO-2025-4175"
69+
}
70+
]
71+
}
72+
}
73+
}

data/osv/GO-2025-4175.json

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
{
2+
"schema_version": "1.3.1",
3+
"id": "GO-2025-4175",
4+
"modified": "0001-01-01T00:00:00Z",
5+
"published": "0001-01-01T00:00:00Z",
6+
"aliases": [
7+
"CVE-2025-61727"
8+
],
9+
"summary": "Improper application of excluded DNS name constraints when verifying wildcard names in crypto/x509",
10+
"details": "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.",
11+
"affected": [
12+
{
13+
"package": {
14+
"name": "stdlib",
15+
"ecosystem": "Go"
16+
},
17+
"ranges": [
18+
{
19+
"type": "SEMVER",
20+
"events": [
21+
{
22+
"introduced": "0"
23+
},
24+
{
25+
"fixed": "1.24.11"
26+
},
27+
{
28+
"introduced": "1.25.0"
29+
},
30+
{
31+
"fixed": "1.25.5"
32+
}
33+
]
34+
}
35+
],
36+
"ecosystem_specific": {
37+
"imports": [
38+
{
39+
"path": "crypto/x509",
40+
"symbols": [
41+
"Certificate.Verify"
42+
]
43+
}
44+
]
45+
}
46+
}
47+
],
48+
"references": [
49+
{
50+
"type": "FIX",
51+
"url": "https://go.dev/cl/723900"
52+
},
53+
{
54+
"type": "REPORT",
55+
"url": "https://go.dev/issue/76442"
56+
},
57+
{
58+
"type": "WEB",
59+
"url": "https://groups.google.com/g/golang-announce/c/8FJoBkPddm4"
60+
}
61+
],
62+
"database_specific": {
63+
"url": "https://pkg.go.dev/vuln/GO-2025-4175",
64+
"review_status": "REVIEWED"
65+
}
66+
}

data/reports/GO-2025-4175.yaml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
id: GO-2025-4175
2+
modules:
3+
- module: std
4+
versions:
5+
- fixed: 1.24.11
6+
- introduced: 1.25.0
7+
- fixed: 1.25.5
8+
vulnerable_at: 1.25.4
9+
packages:
10+
- package: crypto/x509
11+
symbols:
12+
- Certificate.Verify
13+
summary: |-
14+
Improper application of excluded DNS name constraints when verifying wildcard
15+
names in crypto/x509
16+
description: |-
17+
An excluded subdomain constraint in a certificate chain does not restrict the
18+
usage of wildcard SANs in the leaf certificate. For example a constraint that
19+
excludes the subdomain test.example.com does not prevent a leaf certificate from
20+
claiming the SAN *.example.com.
21+
references:
22+
- fix: https://go.dev/cl/723900
23+
- report: https://go.dev/issue/76442
24+
- web: https://groups.google.com/g/golang-announce/c/8FJoBkPddm4
25+
cve_metadata:
26+
id: CVE-2025-61727
27+
cwe: 'CWE-295: Improper Certificate Validation'
28+
source:
29+
id: go-security-team
30+
created: 2025-12-02T12:29:34.303548-08:00
31+
review_status: REVIEWED

0 commit comments

Comments
 (0)