| [ |
| { |
| "id": "GO-2022-0475", |
| "published": "2022-07-28T17:24:30Z", |
| "modified": "2022-08-29T16:50:59Z", |
| "aliases": ["CVE-2020-28366"], |
| "details": "The go command may execute arbitrary code at build time when cgo is in use.\nThis may occur when running go get on a malicious package, or any other\ncommand that builds untrusted code.\n\nThis can be caused by malicious unquoted symbol name in a linked object\nfile.\n", |
| "affected": [ |
| { |
| "package": { "name": "toolchain", "ecosystem": "Go" }, |
| "ranges": [ |
| { |
| "type": "SEMVER", |
| "events": [ |
| { "introduced": "0" }, |
| { "fixed": "1.14.12" }, |
| { "introduced": "1.15.0" }, |
| { "fixed": "1.15.5" } |
| ] |
| } |
| ], |
| "database_specific": { "url": "https://pkg.go.dev/vuln/GO-2022-0475" }, |
| "ecosystem_specific": { |
| "imports": [ |
| { "path": "cmd/go", "symbols": ["Builder.cgo"] }, |
| { "path": "cmd/cgo", "symbols": ["dynimport"] } |
| ] |
| } |
| } |
| ], |
| "references": [ |
| { "type": "FIX", "url": "https://go.dev/cl/269658" }, |
| { |
| "type": "FIX", |
| "url": "https://go.googlesource.com/go/+/062e0e5ce6df339dc26732438ad771f73dbf2292" |
| }, |
| { "type": "REPORT", "url": "https://go.dev/issue/42559" }, |
| { "type": "WEB", "url": "https://groups.google.com/g/golang-announce/c/NpBGTTmKzpM" } |
| ] |
| }, |
| { |
| "id": "GO-2021-0068", |
| "published": "2021-04-14T20:04:52Z", |
| "modified": "2022-08-29T16:50:59Z", |
| "aliases": ["CVE-2021-3115"], |
| "details": "The go command may execute arbitrary code at build time when using cgo on Windows.\nThis can be triggered by running go get on a malicious module, or any other time\nthe code is built.\n", |
| "affected": [ |
| { |
| "package": { "name": "toolchain", "ecosystem": "Go" }, |
| "ranges": [ |
| { |
| "type": "SEMVER", |
| "events": [ |
| { "introduced": "0" }, |
| { "fixed": "1.14.14" }, |
| { "introduced": "1.15.0" }, |
| { "fixed": "1.15.7" } |
| ] |
| } |
| ], |
| "database_specific": { "url": "https://pkg.go.dev/vuln/GO-2021-0068" }, |
| "ecosystem_specific": { "imports": [{ "path": "cmd/go", "goos": ["windows"] }] } |
| } |
| ], |
| "references": [ |
| { "type": "FIX", "url": "https://go.dev/cl/284783" }, |
| { |
| "type": "FIX", |
| "url": "https://go.googlesource.com/go/+/953d1feca9b21af075ad5fc8a3dad096d3ccc3a0" |
| }, |
| { "type": "REPORT", "url": "https://go.dev/issue/43783" }, |
| { |
| "type": "WEB", |
| "url": "https://groups.google.com/g/golang-announce/c/mperVMGa98w/m/yo5W5wnvAAAJ" |
| }, |
| { "type": "FIX", "url": "https://go.dev/cl/284780" }, |
| { |
| "type": "FIX", |
| "url": "https://go.googlesource.com/go/+/46e2e2e9d99925bbf724b12693c6d3e27a95d6a0" |
| } |
| ] |
| } |
| ] |