Skip to content

Commit 9003a17

Browse files
neildgopherbot
authored andcommitted
data/reports: add GO-2025-4013
- data/reports/GO-2025-4013.yaml Fixes #4013 Change-Id: Ia6ff0f9f345e510d7687ac3ccce445d8e5e4d65e Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/715981 Auto-Submit: Damien Neil <[email protected]> Reviewed-by: Roland Shoemaker <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]>
1 parent 28f31c8 commit 9003a17

File tree

3 files changed

+190
-0
lines changed

3 files changed

+190
-0
lines changed

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

Lines changed: 82 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
{
2+
"dataType": "CVE_RECORD",
3+
"dataVersion": "5.0",
4+
"cveMetadata": {
5+
"cveId": "CVE-2025-58188"
6+
},
7+
"containers": {
8+
"cna": {
9+
"providerMetadata": {
10+
"orgId": "1bb62c36-49e3-4200-9d77-64a1400537cc"
11+
},
12+
"title": "Panic when validating certificates with DSA public keys in crypto/x509",
13+
"descriptions": [
14+
{
15+
"lang": "en",
16+
"value": "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. This affects programs which validate arbitrary certificate chains."
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.8",
29+
"status": "affected",
30+
"versionType": "semver"
31+
},
32+
{
33+
"version": "1.25.0",
34+
"lessThan": "1.25.2",
35+
"status": "affected",
36+
"versionType": "semver"
37+
}
38+
],
39+
"programRoutines": [
40+
{
41+
"name": "alreadyInChain"
42+
},
43+
{
44+
"name": "Certificate.Verify"
45+
}
46+
],
47+
"defaultStatus": "unaffected"
48+
}
49+
],
50+
"problemTypes": [
51+
{
52+
"descriptions": [
53+
{
54+
"lang": "en",
55+
"description": "CWE-248: Uncaught Exception"
56+
}
57+
]
58+
}
59+
],
60+
"references": [
61+
{
62+
"url": "https://go.dev/cl/709853"
63+
},
64+
{
65+
"url": "https://go.dev/issue/75675"
66+
},
67+
{
68+
"url": "https://groups.google.com/g/golang-announce/c/4Emdl2iQ_bI"
69+
},
70+
{
71+
"url": "https://pkg.go.dev/vuln/GO-2025-4013"
72+
}
73+
],
74+
"credits": [
75+
{
76+
"lang": "en",
77+
"value": "Jakub Ciolek"
78+
}
79+
]
80+
}
81+
}
82+
}

data/osv/GO-2025-4013.json

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
{
2+
"schema_version": "1.3.1",
3+
"id": "GO-2025-4013",
4+
"modified": "0001-01-01T00:00:00Z",
5+
"published": "0001-01-01T00:00:00Z",
6+
"aliases": [
7+
"CVE-2025-58188",
8+
"CVE-2025-58188"
9+
],
10+
"summary": "Panic when validating certificates with DSA public keys in crypto/x509",
11+
"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.",
12+
"affected": [
13+
{
14+
"package": {
15+
"name": "stdlib",
16+
"ecosystem": "Go"
17+
},
18+
"ranges": [
19+
{
20+
"type": "SEMVER",
21+
"events": [
22+
{
23+
"introduced": "0"
24+
},
25+
{
26+
"fixed": "1.24.8"
27+
},
28+
{
29+
"introduced": "1.25.0"
30+
},
31+
{
32+
"fixed": "1.25.2"
33+
}
34+
]
35+
}
36+
],
37+
"ecosystem_specific": {
38+
"imports": [
39+
{
40+
"path": "crypto/x509",
41+
"symbols": [
42+
"Certificate.Verify",
43+
"alreadyInChain"
44+
]
45+
}
46+
]
47+
}
48+
}
49+
],
50+
"references": [
51+
{
52+
"type": "FIX",
53+
"url": "https://go.dev/cl/709853"
54+
},
55+
{
56+
"type": "REPORT",
57+
"url": "https://go.dev/issue/75675"
58+
},
59+
{
60+
"type": "WEB",
61+
"url": "https://groups.google.com/g/golang-announce/c/4Emdl2iQ_bI"
62+
}
63+
],
64+
"credits": [
65+
{
66+
"name": "Jakub Ciolek"
67+
}
68+
],
69+
"database_specific": {
70+
"url": "https://pkg.go.dev/vuln/GO-2025-4013",
71+
"review_status": "REVIEWED"
72+
}
73+
}

data/reports/GO-2025-4013.yaml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
id: GO-2025-4013
2+
modules:
3+
- module: std
4+
versions:
5+
- fixed: 1.24.8
6+
- introduced: 1.25.0
7+
- fixed: 1.25.2
8+
vulnerable_at: 1.25.1
9+
packages:
10+
- package: crypto/x509
11+
symbols:
12+
- alreadyInChain
13+
derived_symbols:
14+
- Certificate.Verify
15+
summary: Panic when validating certificates with DSA public keys in crypto/x509
16+
description: |-
17+
Validating certificate chains which contain DSA public keys can cause programs
18+
to panic, due to a interface cast that assumes they implement the Equal method.
19+
20+
This affects programs which validate arbitrary certificate chains.
21+
cves:
22+
- CVE-2025-58188
23+
credits:
24+
- Jakub Ciolek
25+
references:
26+
- fix: https://go.dev/cl/709853
27+
- report: https://go.dev/issue/75675
28+
- web: https://groups.google.com/g/golang-announce/c/4Emdl2iQ_bI
29+
cve_metadata:
30+
id: CVE-2025-58188
31+
cwe: 'CWE-248: Uncaught Exception'
32+
source:
33+
id: go-security-team
34+
created: 2025-10-28T18:36:09.818369-07:00
35+
review_status: REVIEWED

0 commit comments

Comments
 (0)