ADVISORIES

Vulnerability

CVE-2018-16873

In Go before 1.10.6 and 1.11.x before 1.11.3, the "go get" command is vulnerable to remote code execution when executed with the -u flag and the import path of a malicious Go package, or a package that imports it directly or indirectly. Specifically, it is only vulnerable in GOPATH mode, but not in module mode (the distinction is documented at https://golang.org/cmd/go/#hdr-Module_aware_go_get). Using custom domains, it's possible to arrange things so that a Git repository is cloned to a folder named ".git" by using a vanity import path that ends with "/.git". If the Git repository root contains a "HEAD" file, a "config" file, an "objects" directory, a "refs" directory, with some work to ensure the proper ordering of operations, "go get -u" can be tricked into considering the parent directory as a repository root, and running Git commands on it. That will use the "config" file in the original Git repository root for its configuration, and if that config file contains malicious commands, they will execute on the system running "go get -u".

38 advisories report this vulnerability, across 6 ecosystems.

Advisories in openSUSE

  • SUSE-SU-2024:3656-1

    Security update for etcd

    CVE-2018-16873CVE-2018-16874CVE-2018-16875CVE-2018-16886 openSUSE Updated 4 February 2026
  • SUSE-SU-2025:03545-1

    Security update for docker-stable

    CVE-2014-3499CVE-2014-5277CVE-2014-6407CVE-2014-6408 SUSEopenSUSE Updated 23 March 2026
  • openSUSE-SU-2019:1444-1

    Security update for containerd, docker, docker-runc, go, go1.11, go1.12, golang-github-docker-libnetwork

    CVE-2018-16873CVE-2018-16874CVE-2018-16875CVE-2019-5736 openSUSE Updated 4 February 2026
  • openSUSE-SU-2019:1499-1

    Security update for containerd, docker, docker-runc, go, go1.11, go1.12, golang-github-docker-libnetwork

    CVE-2018-16873CVE-2018-16874CVE-2018-16875CVE-2019-5736 openSUSE Updated 4 February 2026
  • openSUSE-SU-2020:0554-1

    Security update for kubernetes

    Known exploited CVE-2016-5195CVE-2016-8859CVE-2017-1002101CVE-2018-1002105 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:10693-1

    containerd-1.4.8-2.2 on GA media

    CVE-2016-9962CVE-2018-16873CVE-2018-16874CVE-2018-16875 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:10699-1

    cri-o-1.22.0-1.2 on GA media

    CVE-2018-16873CVE-2018-16874CVE-2019-10214 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:10722-1

    docker-20.10.6_ce-2.1 on GA media

    CVE-2016-9962CVE-2017-14992CVE-2017-16539CVE-2018-10892 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:10741-1

    etcd-3.4.16-3.1 on GA media

    CVE-2018-16873CVE-2018-16874CVE-2018-16875CVE-2018-16886 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:10761-1

    flannel-0.14.0-1.2 on GA media

    CVE-2018-16873CVE-2018-16874CVE-2018-16875CVE-2019-14697 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:10802-1

    go-1.17-1.1 on GA media

    CVE-2016-5386CVE-2017-15041CVE-2017-15042CVE-2017-8932 openSUSE Updated 7 May 2025
  • openSUSE-SU-2024:10803-1

    go1.10-1.10.8-8.2 on GA media

    CVE-2014-7189CVE-2015-8618CVE-2016-3959CVE-2016-5386 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:10804-1

    go1.11-1.11.13-10.5 on GA media

    CVE-2014-7189CVE-2015-8618CVE-2016-3959CVE-2016-5386 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:10805-1

    go1.12-1.12.17-4.8 on GA media

    CVE-2014-7189CVE-2015-8618CVE-2016-3959CVE-2016-5386 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:10841-1

    helm-3.6.3-1.1 on GA media

    CVE-2018-16873CVE-2018-16874CVE-2018-16875 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:10842-1

    helm-mirror-0.3.1-1.9 on GA media

    CVE-2018-16873CVE-2018-16874CVE-2018-16875CVE-2019-18658 openSUSE Updated 4 February 2026
  • openSUSE-SU-2024:11358-1

    runc-1.0.2-1.2 on GA media

    CVE-2016-9962CVE-2018-16873CVE-2018-16874CVE-2018-16875 openSUSE Updated 4 February 2026
  • openSUSE-SU-2025:15589-1

    docker-stable-24.0.9_ce-15.1 on GA media

    CVE-2014-3499CVE-2014-5277CVE-2014-6407CVE-2014-6408 openSUSE Updated 23 March 2026
  • openSUSE-SU-2025:15779-1

    helm3-3.19.2-1.1 on GA media

    CVE-2018-16873CVE-2018-16874CVE-2018-16875CVE-2021-21272 openSUSE Updated 4 February 2026

References