Skip to content

Commit 785857f

Browse files
tatianabgopherbot
authored andcommitted
data/reports: add 5 reports
- data/reports/GO-2025-3372.yaml - data/reports/GO-2025-3373.yaml - data/reports/GO-2025-3383.yaml - data/reports/GO-2025-3420.yaml - data/reports/GO-2025-3421.yaml Fixes #3372 Fixes #3373 Fixes #3383 Fixes #3420 Fixes #3421 Change-Id: I38b618da8b38ec1916022d63d4a901ed097e26dc Reviewed-on: https://go-review.googlesource.com/c/vulndb/+/644855 Auto-Submit: Tatiana Bradley <[email protected]> Reviewed-by: Damien Neil <[email protected]> LUCI-TryBot-Result: Go LUCI <[email protected]>
1 parent b808447 commit 785857f

15 files changed

+1428
-0
lines changed

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

+251
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,251 @@
1+
{
2+
"dataType": "CVE_RECORD",
3+
"dataVersion": "5.0",
4+
"cveMetadata": {
5+
"cveId": "CVE-2024-45339"
6+
},
7+
"containers": {
8+
"cna": {
9+
"providerMetadata": {
10+
"orgId": "1bb62c36-49e3-4200-9d77-64a1400537cc"
11+
},
12+
"title": "Vulnerability when creating log files in github.com/golang/glog",
13+
"descriptions": [
14+
{
15+
"lang": "en",
16+
"value": "When logs are written to a widely-writable directory (the default), an unprivileged attacker may predict a privileged process's log file path and pre-create a symbolic link to a sensitive file in its place. When that privileged process runs, it will follow the planted symlink and overwrite that sensitive file. To fix that, glog now causes the program to exit (with status code 2) when it finds that the configured log file already exists."
17+
}
18+
],
19+
"affected": [
20+
{
21+
"vendor": "github.com/golang/glog",
22+
"product": "github.com/golang/glog",
23+
"collectionURL": "https://pkg.go.dev",
24+
"packageName": "github.com/golang/glog",
25+
"versions": [
26+
{
27+
"version": "0",
28+
"lessThan": "1.2.4",
29+
"status": "affected",
30+
"versionType": "semver"
31+
}
32+
],
33+
"programRoutines": [
34+
{
35+
"name": "create"
36+
},
37+
{
38+
"name": "Error"
39+
},
40+
{
41+
"name": "ErrorContext"
42+
},
43+
{
44+
"name": "ErrorContextDepth"
45+
},
46+
{
47+
"name": "ErrorContextDepthf"
48+
},
49+
{
50+
"name": "ErrorContextf"
51+
},
52+
{
53+
"name": "ErrorDepth"
54+
},
55+
{
56+
"name": "ErrorDepthf"
57+
},
58+
{
59+
"name": "Errorf"
60+
},
61+
{
62+
"name": "Errorln"
63+
},
64+
{
65+
"name": "Exit"
66+
},
67+
{
68+
"name": "ExitContext"
69+
},
70+
{
71+
"name": "ExitContextDepth"
72+
},
73+
{
74+
"name": "ExitContextDepthf"
75+
},
76+
{
77+
"name": "ExitContextf"
78+
},
79+
{
80+
"name": "ExitDepth"
81+
},
82+
{
83+
"name": "ExitDepthf"
84+
},
85+
{
86+
"name": "Exitf"
87+
},
88+
{
89+
"name": "Exitln"
90+
},
91+
{
92+
"name": "Fatal"
93+
},
94+
{
95+
"name": "FatalContext"
96+
},
97+
{
98+
"name": "FatalContextDepth"
99+
},
100+
{
101+
"name": "FatalContextDepthf"
102+
},
103+
{
104+
"name": "FatalContextf"
105+
},
106+
{
107+
"name": "FatalDepth"
108+
},
109+
{
110+
"name": "FatalDepthf"
111+
},
112+
{
113+
"name": "Fatalf"
114+
},
115+
{
116+
"name": "Fatalln"
117+
},
118+
{
119+
"name": "Info"
120+
},
121+
{
122+
"name": "InfoContext"
123+
},
124+
{
125+
"name": "InfoContextDepth"
126+
},
127+
{
128+
"name": "InfoContextDepthf"
129+
},
130+
{
131+
"name": "InfoContextf"
132+
},
133+
{
134+
"name": "InfoDepth"
135+
},
136+
{
137+
"name": "InfoDepthf"
138+
},
139+
{
140+
"name": "Infof"
141+
},
142+
{
143+
"name": "Infoln"
144+
},
145+
{
146+
"name": "Verbose.Info"
147+
},
148+
{
149+
"name": "Verbose.InfoContext"
150+
},
151+
{
152+
"name": "Verbose.InfoContextDepth"
153+
},
154+
{
155+
"name": "Verbose.InfoContextDepthf"
156+
},
157+
{
158+
"name": "Verbose.InfoContextf"
159+
},
160+
{
161+
"name": "Verbose.InfoDepth"
162+
},
163+
{
164+
"name": "Verbose.InfoDepthf"
165+
},
166+
{
167+
"name": "Verbose.Infof"
168+
},
169+
{
170+
"name": "Verbose.Infoln"
171+
},
172+
{
173+
"name": "Warning"
174+
},
175+
{
176+
"name": "WarningContext"
177+
},
178+
{
179+
"name": "WarningContextDepth"
180+
},
181+
{
182+
"name": "WarningContextDepthf"
183+
},
184+
{
185+
"name": "WarningContextf"
186+
},
187+
{
188+
"name": "WarningDepth"
189+
},
190+
{
191+
"name": "WarningDepthf"
192+
},
193+
{
194+
"name": "Warningf"
195+
},
196+
{
197+
"name": "Warningln"
198+
},
199+
{
200+
"name": "fileSink.Emit"
201+
},
202+
{
203+
"name": "logBridge.Write"
204+
},
205+
{
206+
"name": "syncBuffer.Write"
207+
}
208+
],
209+
"defaultStatus": "unaffected"
210+
}
211+
],
212+
"problemTypes": [
213+
{
214+
"descriptions": [
215+
{
216+
"lang": "en",
217+
"description": "CWE-61: UNIX Symbolic Link (Symlink) Following"
218+
}
219+
]
220+
}
221+
],
222+
"references": [
223+
{
224+
"url": "https://github.com/golang/glog/pull/74/commits/b8741656e406e66d6992bc2c9575e460ecaa0ec2"
225+
},
226+
{
227+
"url": "https://github.com/golang/glog/pull/74"
228+
},
229+
{
230+
"url": "https://groups.google.com/g/golang-announce/c/H-Q4ouHWyKs"
231+
},
232+
{
233+
"url": "https://owasp.org/www-community/vulnerabilities/Insecure_Temporary_File"
234+
},
235+
{
236+
"url": "https://pkg.go.dev/vuln/GO-2025-3372"
237+
}
238+
],
239+
"credits": [
240+
{
241+
"lang": "en",
242+
"value": "Josh McSavaney"
243+
},
244+
{
245+
"lang": "en",
246+
"value": "Günther Noack"
247+
}
248+
]
249+
}
250+
}
251+
}

0 commit comments

Comments
 (0)