{"api_version":"1","generated_at":"2026-04-23T00:39:53+00:00","cve":"CVE-2020-28367","urls":{"html":"https://cve.report/CVE-2020-28367","api":"https://cve.report/api/cve/CVE-2020-28367.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2020-28367","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2020-28367"},"summary":{"title":"CVE-2020-28367","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 malicious gcc flags specified via a #cgo directive.","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://github.com/golang/go/issues/42556","name":"https://github.com/golang/go/issues/42556","refsource":"MISC","tags":["Third Party Advisory"],"title":"cmd/go: improper validation of cgo flags can lead to remote code execution at build time · Issue #42556 · golang/go · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://go.dev/cl/267277","name":"https://go.dev/cl/267277","refsource":"MISC","tags":[],"title":"","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"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/42556","name":"https://go.dev/issue/42556","refsource":"MISC","tags":[],"title":"cmd/go: improper validation of cgo flags can lead to remote code execution at build time · Issue #42556 · golang/go · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.debian.org/debian-lts-announce/2023/04/msg00021.html","name":"https://lists.debian.org/debian-lts-announce/2023/04/msg00021.html","refsource":"MISC","tags":[],"title":"[SECURITY] [DLA 3395-1] golang-1.11 security update","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://go.googlesource.com/go/+/da7aa86917811a571e6634b45a457f918b8e6561","name":"https://go.googlesource.com/go/+/da7aa86917811a571e6634b45a457f918b8e6561","refsource":"","tags":[],"title":"da7aa86917811a571e6634b45a457f918b8e6561 - go - Git at Google","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://lists.debian.org/debian-lts-announce/2020/11/msg00038.html","name":"[debian-lts-announce] 20201121 [SECURITY] [DLA 2460-1] golang-1.8 security update","refsource":"MLIST","tags":["Third Party Advisory"],"title":"[SECURITY] [DLA 2460-1] golang-1.8 security update","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"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://pkg.go.dev/vuln/GO-2022-0476","name":"https://pkg.go.dev/vuln/GO-2022-0476","refsource":"MISC","tags":[],"title":"GO-2022-0476 - Go Packages","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-28367","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2020-28367","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2020","cve_id":"28367","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"9.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2020","cve_id":"28367","vulnerable":"1","versionEndIncluding":"1","cpe1":"cpe","cpe2":"2.3","cpe3":"o","cpe4":"debian","cpe5":"debian_linux","cpe6":"9.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2020","cve_id":"28367","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":"28367","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":"28367","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":"28367","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":"28367","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":"28367","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":"28367","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-28367","qid":"181743","title":"Debian Security Update for golang-1.11 (DLA 3395-1)"},{"cve":"CVE-2020-28367","qid":"352291","title":"Amazon Linux Security Update for golang: AL2012-2021-332"},{"cve":"CVE-2020-28367","qid":"501574","title":"Alpine Linux Security Update for go"},{"cve":"CVE-2020-28367","qid":"670178","title":"EulerOS Security Update for golang (EulerOS-SA-2021-1678)"},{"cve":"CVE-2020-28367","qid":"690435","title":"Free Berkeley Software Distribution (FreeBSD) Security Update for go (db4b2f27-252a-11eb-865c-00155d646400)"},{"cve":"CVE-2020-28367","qid":"710584","title":"Gentoo Linux Go Multiple Vulnerabilities (GLSA 202208-02)"},{"cve":"CVE-2020-28367","qid":"750526","title":"OpenSUSE Security Update for go1.15 (openSUSE-SU-2020:2139-1)"},{"cve":"CVE-2020-28367","qid":"750544","title":"OpenSUSE Security Update for go1.14 (openSUSE-SU-2020:2067-1)"},{"cve":"CVE-2020-28367","qid":"750559","title":"OpenSUSE Security Update for go1.14 (openSUSE-SU-2020:2047-1)"},{"cve":"CVE-2020-28367","qid":"900148","title":"CBL-Mariner Linux Security Update for golang 1.13.15"},{"cve":"CVE-2020-28367","qid":"902887","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for golang (3603)"},{"cve":"CVE-2020-28367","qid":"907748","title":"Common Base Linux Mariner (CBL-Mariner) Security Update for golang (3603-1)"},{"cve":"CVE-2020-28367","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-28367","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 malicious gcc flags specified via a #cgo directive."}]},"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"}]}}]}}]}},"references":{"reference_data":[{"url":"https://go.dev/cl/267277","refsource":"MISC","name":"https://go.dev/cl/267277"},{"url":"https://go.googlesource.com/go/+/da7aa86917811a571e6634b45a457f918b8e6561","refsource":"MISC","name":"https://go.googlesource.com/go/+/da7aa86917811a571e6634b45a457f918b8e6561"},{"url":"https://go.dev/issue/42556","refsource":"MISC","name":"https://go.dev/issue/42556"},{"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-0476","refsource":"MISC","name":"https://pkg.go.dev/vuln/GO-2022-0476"},{"url":"https://lists.debian.org/debian-lts-announce/2023/04/msg00021.html","refsource":"MISC","name":"https://lists.debian.org/debian-lts-announce/2023/04/msg00021.html"}]},"credits":[{"lang":"en","value":"Imre Rad"}]},"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":false}},"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":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2020","CveId":"28367","Ordinal":"190854","Title":"CVE-2020-28367","CVE":"CVE-2020-28367","Year":"2020"},"notes":[{"CveYear":"2020","CveId":"28367","Ordinal":"1","NoteData":"Go before 1.14.12 and 1.15.x before 1.15.5 allows Argument Injection.","Type":"Description","Title":null},{"CveYear":"2020","CveId":"28367","Ordinal":"2","NoteData":"2020-11-18","Type":"Other","Title":"Published"},{"CveYear":"2020","CveId":"28367","Ordinal":"3","NoteData":"2020-12-15","Type":"Other","Title":"Modified"}]}}}