You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
"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"
0 commit comments