{"api_version":"1","generated_at":"2026-04-23T00:40:01+00:00","cve":"CVE-2020-28366","urls":{"html":"https://cve.report/CVE-2020-28366","api":"https://cve.report/api/cve/CVE-2020-28366.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2020-28366","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2020-28366"},"summary":{"title":"CVE-2020-28366","description":"Code injection in the go command with cgo before Go 1.14.12 and Go 1.15.5 allows arbitrary code execution at build time via a malicious unquoted symbol name in a linked object file.","state":"PUBLIC","assigner":"security@golang.org","published_at":"2020-11-18 17:15:00","updated_at":"2023-11-07 03:21:00"},"problem_types":["CWE-94"],"metrics":[],"references":[{"url":"https://pkg.go.dev/vuln/GO-2022-0475","name":"https://pkg.go.dev/vuln/GO-2022-0475","refsource":"MISC","tags":[],"title":"GO-2022-0475 - Go Packages","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/golang/go/issues/42559","name":"https://github.com/golang/go/issues/42559","refsource":"MISC","tags":["Third Party Advisory"],"title":"cmd/go: arbitrary code can be injected into cgo generated files · Issue #42559 · golang/go · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://go.googlesource.com/go/+/062e0e5ce6df339dc26732438ad771f73dbf2292","name":"https://go.googlesource.com/go/+/062e0e5ce6df339dc26732438ad771f73dbf2292","refsource":"MISC","tags":[],"title":"062e0e5ce6df339dc26732438ad771f73dbf2292 - go - Git at Google","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://groups.google.com/g/golang-announce/c/NpBGTTmKzpM","name":"https://groups.google.com/g/golang-announce/c/NpBGTTmKzpM","refsource":"","tags":[],"title":"[security] Go 1.15.5 and Go 1.14.12 are released","mime":"text/html","httpstatus":"200","archivestatus":"0"},{"url":"https://security.netapp.com/advisory/ntap-20201202-0004/","name":"https://security.netapp.com/advisory/ntap-20201202-0004/","refsource":"CONFIRM","tags":[],"title":"November 2020 Golang Vulnerabilities in NetApp Products | NetApp Product Security","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://go.dev/issue/42559","name":"https://go.dev/issue/42559","refsource":"","tags":[],"title":"cmd/go: arbitrary code can be injected into cgo generated files · Issue #42559 · golang/go · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://security.gentoo.org/glsa/202208-02","name":"GLSA-202208-02","refsource":"GENTOO","tags":[],"title":"Go: Multiple Vulnerabilities (GLSA 202208-02) — Gentoo security","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.apache.org/thread.html/rd02e75766cd333a0df417588460f5e4477060633000bfe94955851fd@%3Cissues.trafficcontrol.apache.org%3E","name":"[trafficcontrol-issues] 20201112 [GitHub] [trafficcontrol] zrhoffman opened a new pull request #5278: Update Go version to 1.15.5","refsource":"MLIST","tags":["Mailing List","Vendor Advisory"],"title":"Pony Mail!","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2W4COUPL3YVTZ6RTEIT6LPBDJUFF3VSP/","name":"FEDORA-2020-e971480183","refsource":"FEDORA","tags":[],"title":"[SECURITY] Fedora 32 Update: golang-1.14.13-1.fc32 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://go.dev/cl/269658","name":"https://go.dev/cl/269658","refsource":"","tags":[],"title":"","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/F3ZSHGNTJWCWYAKY5OLZS2XQQYHSXSUO/","name":"FEDORA-2020-864922e78a","refsource":"FEDORA","tags":["Third Party Advisory"],"title":"[SECURITY] Fedora 33 Update: golang-1.15.5-1.fc33 - package-announce - Fedora Mailing-Lists","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://www.cve.org/CVERecord?id=CVE-2020-28366","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-28366","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2020","cve_id":"28366","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"32","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2020","cve_id":"28366","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"33","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2020","cve_id":"28366","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"fedoraproject","cpe5":"fedora","cpe6":"33","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2020","cve_id":"28366","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"golang","cpe5":"go","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2020","cve_id":"28366","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"golang","cpe5":"go","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2020","cve_id":"28366","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"netapp","cpe5":"cloud_insights_telegraf_agent","cpe6":"-","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2020","cve_id":"28366","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"netapp","cpe5":"trident","cpe6":"-","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2020-28366","qid":"352291","title":"Amazon Linux Security Update for golang: AL2012-2021-332"},{"cve":"CVE-2020-28366","qid":"501574","title":"Alpine Linux Security Update for go"},{"cve":"CVE-2020-28366","qid":"670178","title":"EulerOS Security Update for golang (EulerOS-SA-2021-1678)"},{"cve":"CVE-2020-28366","qid":"670947","title":"EulerOS Security Update for golang (EulerOS-SA-2021-2582)"},{"cve":"CVE-2020-28366","qid":"690435","title":"Free Berkeley Software Distribution (FreeBSD) Security Update for go (db4b2f27-252a-11eb-865c-00155d646400)"},{"cve":"CVE-2020-28366","qid":"710584","title":"Gentoo Linux Go Multiple Vulnerabilities (GLSA 202208-02)"},{"cve":"CVE-2020-28366","qid":"750526","title":"OpenSUSE Security Update for go1.15 (openSUSE-SU-2020:2139-1)"},{"cve":"CVE-2020-28366","qid":"750544","title":"OpenSUSE Security Update for go1.14 (openSUSE-SU-2020:2067-1)"},{"cve":"CVE-2020-28366","qid":"750559","title":"OpenSUSE Security Update for go1.14 (openSUSE-SU-2020:2047-1)"},{"cve":"CVE-2020-28366","qid":"900148","title":"CBL-Mariner Linux Security Update for golang 1.13.15"},{"cve":"CVE-2020-28366","qid":"903030","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for golang (3602)"},{"cve":"CVE-2020-28366","qid":"907786","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for golang (3602-1)"},{"cve":"CVE-2020-28366","qid":"940378","title":"AlmaLinux Security Update for go-toolset:rhel8 (ALSA-2020:5493)"}]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2020-28366","ASSIGNER":"security@golang.org","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","value":"Code injection in the go command with cgo before Go 1.14.12 and Go 1.15.5 allows arbitrary code execution at build time via a malicious unquoted symbol name in a linked object file."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-94: Improper Control of Generation of Code ('Code Injection')"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"Go toolchain","product":{"product_data":[{"product_name":"cmd/go","version":{"version_data":[{"version_affected":"<","version_name":"0","version_value":"1.14.12"},{"version_affected":"<","version_name":"1.15.0-0","version_value":"1.15.5"}]}},{"product_name":"cmd/cgo","version":{"version_data":[{"version_affected":"<","version_name":"0","version_value":"1.14.12"},{"version_affected":"<","version_name":"1.15.0-0","version_value":"1.15.5"}]}}]}}]}},"references":{"reference_data":[{"url":"https://go.dev/cl/269658","refsource":"MISC","name":"https://go.dev/cl/269658"},{"url":"https://go.googlesource.com/go/+/062e0e5ce6df339dc26732438ad771f73dbf2292","refsource":"MISC","name":"https://go.googlesource.com/go/+/062e0e5ce6df339dc26732438ad771f73dbf2292"},{"url":"https://go.dev/issue/42559","refsource":"MISC","name":"https://go.dev/issue/42559"},{"url":"https://groups.google.com/g/golang-announce/c/NpBGTTmKzpM","refsource":"MISC","name":"https://groups.google.com/g/golang-announce/c/NpBGTTmKzpM"},{"url":"https://pkg.go.dev/vuln/GO-2022-0475","refsource":"MISC","name":"https://pkg.go.dev/vuln/GO-2022-0475"}]},"credits":[{"lang":"en","value":"Chris Brown (Tempus Ex)"}]},"nvd":{"publishedDate":"2020-11-18 17:15:00","lastModifiedDate":"2023-11-07 03:21:00","problem_types":["CWE-94"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":7.5,"baseSeverity":"HIGH"},"exploitabilityScore":1.6,"impactScore":5.9},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:H/Au:N/C:P/I:P/A:P","accessVector":"NETWORK","accessComplexity":"HIGH","authentication":"NONE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"PARTIAL","baseScore":5.1},"severity":"MEDIUM","exploitabilityScore":4.9,"impactScore":6.4,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":true}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*","versionEndExcluding":"1.14.12","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:golang:go:*:*:*:*:*:*:*:*","versionStartIncluding":"1.15","versionEndExcluding":"1.15.5","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:32:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:*","cpe_name":[]}]},{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:netapp:trident:-:*:*:*:*:*:*:*","cpe_name":[]},{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:netapp:cloud_insights_telegraf_agent:-:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2020","CveId":"28366","Ordinal":"190853","Title":"CVE-2020-28366","CVE":"CVE-2020-28366","Year":"2020"},"notes":[{"CveYear":"2020","CveId":"28366","Ordinal":"1","NoteData":"Go before 1.14.12 and 1.15.x before 1.15.5 allows Code Injection.","Type":"Description","Title":null},{"CveYear":"2020","CveId":"28366","Ordinal":"2","NoteData":"2020-11-18","Type":"Other","Title":"Published"},{"CveYear":"2020","CveId":"28366","Ordinal":"3","NoteData":"2020-12-15","Type":"Other","Title":"Modified"}]}}}