Skip to content

Commit 689e8ab

Browse files
neildgopherbot
authored andcommitted
data/reports: add GO-2025-4009
- data/reports/GO-2025-4009.yaml Fixes #4009 Change-Id: Id109ba83e353a13df65b908df3d3588ce02a691f Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/715920 Reviewed-by: Roland Shoemaker <[email protected]> Auto-Submit: Damien Neil <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]>
1 parent 4f75616 commit 689e8ab

File tree

3 files changed

+189
-0
lines changed

3 files changed

+189
-0
lines changed

data/cve/v5/GO-2025-4009.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-61723"
6+
},
7+
"containers": {
8+
"cna": {
9+
"providerMetadata": {
10+
"orgId": "1bb62c36-49e3-4200-9d77-64a1400537cc"
11+
},
12+
"title": "Quadratic complexity when parsing some invalid inputs in encoding/pem",
13+
"descriptions": [
14+
{
15+
"lang": "en",
16+
"value": "The processing time for parsing some invalid inputs scales non-linearly with respect to the size of the input. This affects programs which parse untrusted PEM inputs."
17+
}
18+
],
19+
"affected": [
20+
{
21+
"vendor": "Go standard library",
22+
"product": "encoding/pem",
23+
"collectionURL": "https://pkg.go.dev",
24+
"packageName": "encoding/pem",
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": "getLine"
42+
},
43+
{
44+
"name": "Decode"
45+
}
46+
],
47+
"defaultStatus": "unaffected"
48+
}
49+
],
50+
"problemTypes": [
51+
{
52+
"descriptions": [
53+
{
54+
"lang": "en",
55+
"description": "CWE-407: Inefficient Algorithmic Complexity"
56+
}
57+
]
58+
}
59+
],
60+
"references": [
61+
{
62+
"url": "https://go.dev/issue/75676"
63+
},
64+
{
65+
"url": "https://go.dev/cl/709858"
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-4009"
72+
}
73+
],
74+
"credits": [
75+
{
76+
"lang": "en",
77+
"value": "Jakub Ciolek"
78+
}
79+
]
80+
}
81+
}
82+
}

data/osv/GO-2025-4009.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-4009",
4+
"modified": "0001-01-01T00:00:00Z",
5+
"published": "0001-01-01T00:00:00Z",
6+
"aliases": [
7+
"CVE-2025-61723",
8+
"CVE-2025-61723"
9+
],
10+
"summary": "Quadratic complexity when parsing some invalid inputs in encoding/pem",
11+
"details": "The processing time for parsing some invalid inputs scales non-linearly with respect to the size of the input.\n\nThis affects programs which parse untrusted PEM inputs.",
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/pem",
41+
"symbols": [
42+
"Decode",
43+
"getLine"
44+
]
45+
}
46+
]
47+
}
48+
}
49+
],
50+
"references": [
51+
{
52+
"type": "REPORT",
53+
"url": "https://go.dev/issue/75676"
54+
},
55+
{
56+
"type": "FIX",
57+
"url": "https://go.dev/cl/709858"
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-4009",
71+
"review_status": "REVIEWED"
72+
}
73+
}

data/reports/GO-2025-4009.yaml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
id: GO-2025-4009
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/pem
11+
symbols:
12+
- getLine
13+
- Decode
14+
summary: Quadratic complexity when parsing some invalid inputs in encoding/pem
15+
description: |-
16+
The processing time for parsing some invalid inputs scales
17+
non-linearly with respect to the size of the input.
18+
19+
This affects programs which parse untrusted PEM inputs.
20+
cves:
21+
- CVE-2025-61723
22+
credits:
23+
- Jakub Ciolek
24+
references:
25+
- report: https://go.dev/issue/75676
26+
- fix: https://go.dev/cl/709858
27+
- web: https://groups.google.com/g/golang-announce/c/4Emdl2iQ_bI
28+
cve_metadata:
29+
id: CVE-2025-61723
30+
cwe: 'CWE-407: Inefficient Algorithmic Complexity'
31+
source:
32+
id: go-security-team
33+
created: 2025-10-28T17:21:58.577231-07:00
34+
review_status: REVIEWED

0 commit comments

Comments
 (0)