{"id":"UBUNTU-CVE-2018-6574","details":"Go before 1.8.7, Go 1.9.x before 1.9.4, and Go 1.10 pre-releases before Go 1.10rc2 allow \"go get\" remote command execution during source code build, by leveraging the gcc or clang plugin feature, because -fplugin= and -plugin= arguments were not blocked.","modified":"2025-10-24T04:46:55Z","published":"2018-02-07T21:29:00Z","upstream":["CVE-2018-6574"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2018-6574"},{"type":"REPORT","url":"https://groups.google.com/forum/#!topic/golang-nuts/Gbhh1NxAjMU"},{"type":"REPORT","url":"https://groups.google.com/forum/#!topic/golang-nuts/sprOaQ5m3Dk"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2018-6574"}],"affected":[{"package":{"name":"golang-1.6","ecosystem":"Ubuntu:16.04:LTS","purl":"pkg:deb/ubuntu/golang-1.6@1.6.2-0ubuntu5~16.04.4?arch=source&distro=xenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.6-0ubuntu1","1.6-0ubuntu2","1.6-0ubuntu3","1.6-0ubuntu4","1.6-0ubuntu5","1.6.1-0ubuntu1","1.6.2-0ubuntu5~16.04","1.6.2-0ubuntu5~16.04.2","1.6.2-0ubuntu5~16.04.3","1.6.2-0ubuntu5~16.04.4"],"ecosystem_specific":{"binaries":[{"binary_version":"1.6.2-0ubuntu5~16.04.4","binary_name":"golang-1.6"},{"binary_version":"1.6.2-0ubuntu5~16.04.4","binary_name":"golang-1.6-go"},{"binary_version":"1.6.2-0ubuntu5~16.04.4","binary_name":"golang-1.6-src"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-6574.json"}},{"package":{"name":"golang-1.8","ecosystem":"Ubuntu:18.04:LTS","purl":"pkg:deb/ubuntu/golang-1.8@1.8.3-2ubuntu1.18.04.1?arch=source&distro=bionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["1.8.3-2ubuntu1","1.8.3-2ubuntu1.18.04.1"],"ecosystem_specific":{"binaries":[{"binary_version":"1.8.3-2ubuntu1.18.04.1","binary_name":"golang-1.8"},{"binary_version":"1.8.3-2ubuntu1.18.04.1","binary_name":"golang-1.8-go"},{"binary_version":"1.8.3-2ubuntu1.18.04.1","binary_name":"golang-1.8-go-shared-dev"},{"binary_version":"1.8.3-2ubuntu1.18.04.1","binary_name":"golang-1.8-src"},{"binary_version":"1.8.3-2ubuntu1.18.04.1","binary_name":"libgolang-1.8-std1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2018/UBUNTU-CVE-2018-6574.json"}}],"schema_version":"1.7.3","severity":[{"type":"CVSS_V3","score":"CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},{"type":"Ubuntu","score":"low"}]}