Skip to content

Commit 9a9ccd8

Browse files
neildgopherbot
authored andcommitted
data/reports: add GO-2025-4011
- data/reports/GO-2025-4011.yaml Fixes #4011 Change-Id: I3fa36e9dfc18c9fb7fed04c49533ee75a52f03ce Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/715922 LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Roland Shoemaker <[email protected]> Auto-Submit: Damien Neil <[email protected]>
1 parent 6cc7780 commit 9a9ccd8

File tree

3 files changed

+193
-0
lines changed

3 files changed

+193
-0
lines changed

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

Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
{
2+
"dataType": "CVE_RECORD",
3+
"dataVersion": "5.0",
4+
"cveMetadata": {
5+
"cveId": "CVE-2025-58185"
6+
},
7+
"containers": {
8+
"cna": {
9+
"providerMetadata": {
10+
"orgId": "1bb62c36-49e3-4200-9d77-64a1400537cc"
11+
},
12+
"title": "Parsing DER payload can cause memory exhaustion in encoding/asn1",
13+
"descriptions": [
14+
{
15+
"lang": "en",
16+
"value": "Parsing a maliciously crafted DER payload could allocate large amounts of memory, causing memory exhaustion."
17+
}
18+
],
19+
"affected": [
20+
{
21+
"vendor": "Go standard library",
22+
"product": "encoding/asn1",
23+
"collectionURL": "https://pkg.go.dev",
24+
"packageName": "encoding/asn1",
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": "parseSequenceOf"
42+
},
43+
{
44+
"name": "Unmarshal"
45+
},
46+
{
47+
"name": "UnmarshalWithParams"
48+
}
49+
],
50+
"defaultStatus": "unaffected"
51+
}
52+
],
53+
"problemTypes": [
54+
{
55+
"descriptions": [
56+
{
57+
"lang": "en",
58+
"description": "CWE-400: Uncontrolled Resource Consumption"
59+
}
60+
]
61+
}
62+
],
63+
"references": [
64+
{
65+
"url": "https://go.dev/issue/75671"
66+
},
67+
{
68+
"url": "https://go.dev/cl/709856"
69+
},
70+
{
71+
"url": "https://groups.google.com/g/golang-announce/c/4Emdl2iQ_bI"
72+
},
73+
{
74+
"url": "https://pkg.go.dev/vuln/GO-2025-4011"
75+
}
76+
],
77+
"credits": [
78+
{
79+
"lang": "en",
80+
"value": "Jakub Ciolek"
81+
}
82+
]
83+
}
84+
}
85+
}

data/osv/GO-2025-4011.json

Lines changed: 74 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
{
2+
"schema_version": "1.3.1",
3+
"id": "GO-2025-4011",
4+
"modified": "0001-01-01T00:00:00Z",
5+
"published": "0001-01-01T00:00:00Z",
6+
"aliases": [
7+
"CVE-2025-58185",
8+
"CVE-2025-58185"
9+
],
10+
"summary": "Parsing DER payload can cause memory exhaustion in encoding/asn1",
11+
"details": "Parsing a maliciously crafted DER payload could allocate large amounts of memory, causing memory exhaustion.",
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": "encoding/asn1",
41+
"symbols": [
42+
"Unmarshal",
43+
"UnmarshalWithParams",
44+
"parseSequenceOf"
45+
]
46+
}
47+
]
48+
}
49+
}
50+
],
51+
"references": [
52+
{
53+
"type": "REPORT",
54+
"url": "https://go.dev/issue/75671"
55+
},
56+
{
57+
"type": "FIX",
58+
"url": "https://go.dev/cl/709856"
59+
},
60+
{
61+
"type": "WEB",
62+
"url": "https://groups.google.com/g/golang-announce/c/4Emdl2iQ_bI"
63+
}
64+
],
65+
"credits": [
66+
{
67+
"name": "Jakub Ciolek"
68+
}
69+
],
70+
"database_specific": {
71+
"url": "https://pkg.go.dev/vuln/GO-2025-4011",
72+
"review_status": "REVIEWED"
73+
}
74+
}

data/reports/GO-2025-4011.yaml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
id: GO-2025-4011
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: encoding/asn1
11+
symbols:
12+
- parseSequenceOf
13+
derived_symbols:
14+
- Unmarshal
15+
- UnmarshalWithParams
16+
summary: Parsing DER payload can cause memory exhaustion in encoding/asn1
17+
description: |-
18+
Parsing a maliciously crafted DER payload could allocate large amounts of
19+
memory, causing memory exhaustion.
20+
cves:
21+
- CVE-2025-58185
22+
credits:
23+
- Jakub Ciolek
24+
references:
25+
- report: https://go.dev/issue/75671
26+
- fix: https://go.dev/cl/709856
27+
- web: https://groups.google.com/g/golang-announce/c/4Emdl2iQ_bI
28+
cve_metadata:
29+
id: CVE-2025-58185
30+
cwe: 'CWE-400: Uncontrolled Resource Consumption'
31+
source:
32+
id: go-security-team
33+
created: 2025-10-28T18:29:04.626368-07:00
34+
review_status: REVIEWED

0 commit comments

Comments
 (0)