Skip to content

Commit 8539ee1

Browse files
committed
data/reports: add GO-2025-3749 (crypto/x509)
- data/reports/GO-2025-3749.yaml Fixes #3749 Change-Id: I59092f2d7232c587651b7be69808bbdc4fe81b88 Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/680535 LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Damien Neil <[email protected]>
1 parent 14a161a commit 8539ee1

File tree

3 files changed

+180
-0
lines changed

3 files changed

+180
-0
lines changed

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

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
{
2+
"dataType": "CVE_RECORD",
3+
"dataVersion": "5.0",
4+
"cveMetadata": {
5+
"cveId": "CVE-2025-22874"
6+
},
7+
"containers": {
8+
"cna": {
9+
"providerMetadata": {
10+
"orgId": "1bb62c36-49e3-4200-9d77-64a1400537cc"
11+
},
12+
"title": "Usage of ExtKeyUsageAny disables policy validation in crypto/x509",
13+
"descriptions": [
14+
{
15+
"lang": "en",
16+
"value": "Calling Verify with a VerifyOptions.KeyUsages that contains ExtKeyUsageAny unintentionally disabledpolicy validation. This only affected certificate chains which contain policy graphs, which are rather uncommon."
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.23.10",
29+
"status": "affected",
30+
"versionType": "semver"
31+
},
32+
{
33+
"version": "1.24.0-0",
34+
"lessThan": "1.24.4",
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/670375"
60+
},
61+
{
62+
"url": "https://go.dev/issue/73612"
63+
},
64+
{
65+
"url": "https://groups.google.com/g/golang-announce/c/ufZ8WpEsA3A"
66+
},
67+
{
68+
"url": "https://pkg.go.dev/vuln/GO-2025-3749"
69+
}
70+
],
71+
"credits": [
72+
{
73+
"lang": "en",
74+
"value": "Krzysztof Skrzętnicki (@Tener) of Teleport"
75+
}
76+
]
77+
}
78+
}
79+
}

data/osv/GO-2025-3749.json

Lines changed: 71 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,71 @@
1+
{
2+
"schema_version": "1.3.1",
3+
"id": "GO-2025-3749",
4+
"modified": "0001-01-01T00:00:00Z",
5+
"published": "0001-01-01T00:00:00Z",
6+
"aliases": [
7+
"CVE-2025-22874"
8+
],
9+
"summary": "Usage of ExtKeyUsageAny disables policy validation in crypto/x509",
10+
"details": "Calling Verify with a VerifyOptions.KeyUsages that contains ExtKeyUsageAny unintentionally disabledpolicy validation. This only affected certificate chains which contain policy graphs, which are rather uncommon.",
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.23.10"
26+
},
27+
{
28+
"introduced": "1.24.0-0"
29+
},
30+
{
31+
"fixed": "1.24.4"
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/670375"
52+
},
53+
{
54+
"type": "REPORT",
55+
"url": "https://go.dev/issue/73612"
56+
},
57+
{
58+
"type": "WEB",
59+
"url": "https://groups.google.com/g/golang-announce/c/ufZ8WpEsA3A"
60+
}
61+
],
62+
"credits": [
63+
{
64+
"name": "Krzysztof Skrzętnicki (@Tener) of Teleport"
65+
}
66+
],
67+
"database_specific": {
68+
"url": "https://pkg.go.dev/vuln/GO-2025-3749",
69+
"review_status": "REVIEWED"
70+
}
71+
}

data/reports/GO-2025-3749.yaml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
id: GO-2025-3749
2+
modules:
3+
- module: std
4+
versions:
5+
- fixed: 1.23.10
6+
- introduced: 1.24.0-0
7+
- fixed: 1.24.4
8+
vulnerable_at: 1.24.3
9+
packages:
10+
- package: crypto/x509
11+
symbols:
12+
- Certificate.Verify
13+
summary: Usage of ExtKeyUsageAny disables policy validation in crypto/x509
14+
description: |-
15+
Calling Verify with a VerifyOptions.KeyUsages that contains ExtKeyUsageAny
16+
unintentionally disabledpolicy validation. This only affected certificate chains
17+
which contain policy graphs, which are rather uncommon.
18+
credits:
19+
- Krzysztof Skrzętnicki (@Tener) of Teleport
20+
references:
21+
- fix: https://go.dev/cl/670375
22+
- report: https://go.dev/issue/73612
23+
- web: https://groups.google.com/g/golang-announce/c/ufZ8WpEsA3A
24+
cve_metadata:
25+
id: CVE-2025-22874
26+
cwe: 'CWE-295: Improper Certificate Validation'
27+
source:
28+
id: go-security-team
29+
created: 2025-06-10T12:16:59.819845-04:00
30+
review_status: REVIEWED

0 commit comments

Comments
 (0)