Skip to content

Commit 12b69bc

Browse files
neildgopherbot
authored andcommitted
data/reports: add GO-2025-4006
- data/reports/GO-2025-4006.yaml Fixes #4006 Change-Id: Iec5459f319508d200459602a7c6f1920ee284ba7 Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/715880 LUCI-TryBot-Result: Go LUCI <[email protected]> Reviewed-by: Roland Shoemaker <[email protected]> Auto-Submit: Damien Neil <[email protected]>
1 parent 2762538 commit 12b69bc

File tree

3 files changed

+209
-0
lines changed

3 files changed

+209
-0
lines changed

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

Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
{
2+
"dataType": "CVE_RECORD",
3+
"dataVersion": "5.0",
4+
"cveMetadata": {
5+
"cveId": "CVE-2025-61725"
6+
},
7+
"containers": {
8+
"cna": {
9+
"providerMetadata": {
10+
"orgId": "1bb62c36-49e3-4200-9d77-64a1400537cc"
11+
},
12+
"title": "Excessive CPU consumption in ParseAddress in net/mail",
13+
"descriptions": [
14+
{
15+
"lang": "en",
16+
"value": "The ParseAddress function constructeds domain-literal address components through repeated string concatenation. When parsing large domain-literal components, this can cause excessive CPU consumption."
17+
}
18+
],
19+
"affected": [
20+
{
21+
"vendor": "Go standard library",
22+
"product": "net/mail",
23+
"collectionURL": "https://pkg.go.dev",
24+
"packageName": "net/mail",
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": "addrParser.consumeDomainLiteral"
42+
},
43+
{
44+
"name": "AddressParser.Parse"
45+
},
46+
{
47+
"name": "AddressParser.ParseList"
48+
},
49+
{
50+
"name": "Header.AddressList"
51+
},
52+
{
53+
"name": "ParseAddress"
54+
},
55+
{
56+
"name": "ParseAddressList"
57+
}
58+
],
59+
"defaultStatus": "unaffected"
60+
}
61+
],
62+
"problemTypes": [
63+
{
64+
"descriptions": [
65+
{
66+
"lang": "en",
67+
"description": "CWE-407: Inefficient Algorithmic Complexity"
68+
}
69+
]
70+
}
71+
],
72+
"references": [
73+
{
74+
"url": "https://go.dev/cl/709860"
75+
},
76+
{
77+
"url": "https://go.dev/issue/75680"
78+
},
79+
{
80+
"url": "https://groups.google.com/g/golang-announce/c/4Emdl2iQ_bI"
81+
},
82+
{
83+
"url": "https://pkg.go.dev/vuln/GO-2025-4006"
84+
}
85+
],
86+
"credits": [
87+
{
88+
"lang": "en",
89+
"value": "Philippe Antoine (Catena cyber)"
90+
}
91+
]
92+
}
93+
}
94+
}

data/osv/GO-2025-4006.json

Lines changed: 77 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,77 @@
1+
{
2+
"schema_version": "1.3.1",
3+
"id": "GO-2025-4006",
4+
"modified": "0001-01-01T00:00:00Z",
5+
"published": "0001-01-01T00:00:00Z",
6+
"aliases": [
7+
"CVE-2025-61725",
8+
"CVE-2025-61725"
9+
],
10+
"summary": "Excessive CPU consumption in ParseAddress in net/mail",
11+
"details": "The ParseAddress function constructeds domain-literal address components through repeated string concatenation. When parsing large domain-literal components, this can cause excessive CPU consumption.",
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": "net/mail",
41+
"symbols": [
42+
"AddressParser.Parse",
43+
"AddressParser.ParseList",
44+
"Header.AddressList",
45+
"ParseAddress",
46+
"ParseAddressList",
47+
"addrParser.consumeDomainLiteral"
48+
]
49+
}
50+
]
51+
}
52+
}
53+
],
54+
"references": [
55+
{
56+
"type": "FIX",
57+
"url": "https://go.dev/cl/709860"
58+
},
59+
{
60+
"type": "REPORT",
61+
"url": "https://go.dev/issue/75680"
62+
},
63+
{
64+
"type": "WEB",
65+
"url": "https://groups.google.com/g/golang-announce/c/4Emdl2iQ_bI"
66+
}
67+
],
68+
"credits": [
69+
{
70+
"name": "Philippe Antoine (Catena cyber)"
71+
}
72+
],
73+
"database_specific": {
74+
"url": "https://pkg.go.dev/vuln/GO-2025-4006",
75+
"review_status": "REVIEWED"
76+
}
77+
}

data/reports/GO-2025-4006.yaml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
id: GO-2025-4006
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: net/mail
11+
symbols:
12+
- addrParser.consumeDomainLiteral
13+
derived_symbols:
14+
- AddressParser.Parse
15+
- AddressParser.ParseList
16+
- Header.AddressList
17+
- ParseAddress
18+
- ParseAddressList
19+
summary: Excessive CPU consumption in ParseAddress in net/mail
20+
description: |-
21+
The ParseAddress function constructeds domain-literal address components
22+
through repeated string concatenation. When parsing large domain-literal
23+
components, this can cause excessive CPU consumption.
24+
cves:
25+
- CVE-2025-61725
26+
credits:
27+
- Philippe Antoine (Catena cyber)
28+
references:
29+
- fix: https://go.dev/cl/709860
30+
- report: https://go.dev/issue/75680
31+
- web: https://groups.google.com/g/golang-announce/c/4Emdl2iQ_bI
32+
cve_metadata:
33+
id: CVE-2025-61725
34+
cwe: 'CWE-407: Inefficient Algorithmic Complexity'
35+
source:
36+
id: go-security-team
37+
created: 2025-10-28T17:02:52.092962-07:00
38+
review_status: REVIEWED

0 commit comments

Comments
 (0)