-
Notifications
You must be signed in to change notification settings - Fork 54
/
GO-2022-0476.json
74 lines (74 loc) · 1.7 KB
/
GO-2022-0476.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
{
"schema_version": "1.3.1",
"id": "GO-2022-0476",
"modified": "0001-01-01T00:00:00Z",
"published": "2022-07-28T17:24:43Z",
"aliases": [
"CVE-2020-28367"
],
"summary": "Arbitrary code execution via the go command with cgo in cmd/go",
"details": "The go command may execute arbitrary code at build time when cgo is in use. This may occur when running go get on a malicious package, or any other command that builds untrusted code.\n\nThis can be caused by malicious gcc flags specified via a cgo directive.",
"affected": [
{
"package": {
"name": "toolchain",
"ecosystem": "Go"
},
"ranges": [
{
"type": "SEMVER",
"events": [
{
"introduced": "0"
},
{
"fixed": "1.14.12"
},
{
"introduced": "1.15.0-0"
},
{
"fixed": "1.15.5"
}
]
}
],
"ecosystem_specific": {
"imports": [
{
"path": "cmd/go",
"symbols": [
"validCompilerFlags"
]
}
]
}
}
],
"references": [
{
"type": "FIX",
"url": "https://go.dev/cl/267277"
},
{
"type": "FIX",
"url": "https://go.googlesource.com/go/+/da7aa86917811a571e6634b45a457f918b8e6561"
},
{
"type": "REPORT",
"url": "https://go.dev/issue/42556"
},
{
"type": "WEB",
"url": "https://groups.google.com/g/golang-announce/c/NpBGTTmKzpM"
}
],
"credits": [
{
"name": "Imre Rad"
}
],
"database_specific": {
"url": "https://pkg.go.dev/vuln/GO-2022-0476"
}
}