Skip to content
OpenAdvisories
Unscored openSUSE-SU-2018:4302-1 1 CVE

Security update for go

Published Dec 29, 2018 · Updated Feb 4, 2026

Summary

This update for go fixes the following issues:

- golang: arbitrary command execution via VCS path (bsc#1081495, CVE-2018-7187)
- Make profile.d/go.sh no longer set GOROOT=, in order to make switching
between versions no longer break. This ends up removing the need for go.sh
entirely (because GOPATH is also set automatically) (boo#1119634)
- Fix a regression that broke go get for import path patterns containing '...'
(bsc#1119706)

Additionally, the package go1.10 has been added.

This update was imported from the SUSE:SLE-15:Update update project.

Fixed packages 3

ReleasePackageFixed in
SUSE · Package Hub 15 go 1.10.4-bp150.2.3.1
SUSE · Package Hub 15 go1.10 1.10.7-bp150.2.1
SUSE · Package Hub 15 golang-packaging 15.0.11-bp150.3.3.1

Vulnerabilities 1

  • Unscored —
    CVE-2018-7187 EPSS 63%

    Remote command execution via "go get" command with "-insecure" option in cmd/go

    The "go get" implementation in Go 1.9.4, when the -insecure command-line option is used, does not validate the import path (get/vcs.go only checks for "://" anywhere in the string), which allows remote attackers to execute arbitrary OS commands via a crafted …

References

  • report
    https://bugzilla.suse.com/1081495
  • report
    https://bugzilla.suse.com/1119634
  • report
    https://bugzilla.suse.com/1119706
  • web
    https://www.suse.com/security/cve/CVE-2018-7187