Upstream information

CVE-2018-16874 at MITRE

Description

In Go before 1.10.6 and 1.11.x before 1.11.3, the "go get" command is vulnerable to directory traversal when executed with the import path of a malicious Go package which contains curly braces (both '{' and '}' characters). 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). The attacker can cause an arbitrary filesystem write, which can lead to code execution.

SUSE information

Overall state of this security issue: Resolved

This issue is currently rated as having moderate severity.

CVSS v2 Scores
  National Vulnerability Database
Base Score 6.8
Vector AV:N/AC:M/Au:N/C:P/I:P/A:P
Access Vector Network
Access Complexity Medium
Authentication None
Confidentiality Impact Partial
Integrity Impact Partial
Availability Impact Partial
CVSS v3 Scores
  National Vulnerability Database
Base Score 8.1
Vector AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
Access Vector Network
Access Complexity High
Privileges Required None
User Interaction None
Scope Unchanged
Confidentiality Impact High
Integrity Impact High
Availability Impact High

Note from the SUSE Security Team

This problem only affects the go commandline tool, but no programs built with go.

SUSE Bugzilla entries: 1118897 [RESOLVED / FIXED], 1118898 [RESOLVED / FIXED], 1118899 [REOPENED]

SUSE Security Advisories:

List of released packages

Product(s) Fixed package version(s) References
Openstack Cloud Magnum Orchestration 7
  • containerd >= 1.2.5-16.17.2
  • docker >= 18.09.6_ce-98.37.1
  • docker-libnetwork >= 0.7.0.1+gitr2726_872f0a83c98a-19.1
  • docker-runc >= 1.0.0rc6+gitr3804_2b18fe1d885e-1.23.1
  • golang-github-docker-libnetwork >= 0.7.0.1+gitr2726_872f0a83c98a-19.1
Patchnames:
SUSE-OpenStack-Cloud-Magnum-Orchestration-7-2019-1264
SUSE CaaS Platform 3.0
  • caasp-cli >= 3.0.0+20180515.git_r38_7843d12-3.3.1
  • cni-plugins >= 0.6.0-4.3.1
  • container-feeder >= 3.0.0+20181105.git_r90_c54fd18-3.9.1
  • containerd-kubic >= 0.2.9+gitr706_06b9cb351610-5.3.1
  • cri-o >= 1.10.6-4.11.1
  • cri-tools >= 1.0.0beta2-3.6.1
  • docker-kubic >= 17.09.1_ce-7.3.1
  • docker-libnetwork-kubic >= 0.7.0.1+gitr2066_7b2b1feb1de4-3.3.1
  • docker-runc-kubic >= 1.0.0rc4+gitr3338_3f2f8b84a77f-5.3.1
  • etcd >= 3.3.1-3.3.1
  • etcdctl >= 3.3.1-3.3.1
  • golang-github-docker-libnetwork-kubic >= 0.7.0.1+gitr2066_7b2b1feb1de4-3.3.1
  • helm >= 2.8.2-3.3.1
  • kubernetes >= 1.10.11-4.11.1
  • kubernetes-client >= 1.10.11-4.11.1
  • kubernetes-common >= 1.10.11-4.11.1
  • kubernetes-kubelet >= 1.10.11-4.11.1
  • kubernetes-master >= 1.10.11-4.11.1
  • kubernetes-node >= 1.10.11-4.11.1
  • libcontainers-storage >= 0+git26204-3.3.1
  • podman >= 0.8.5-3.6.1
  • runc >= 1.0.0~rc5-3.3.1
Patchnames:
SUSE-CAASP-3.0-2018-3026
SUSE-CAASP-3.0-2019-1264
SUSE Linux Enterprise Module for Containers 12
  • containerd >= 1.2.5-16.17.2
  • docker >= 18.09.6_ce-98.37.1
  • docker-libnetwork >= 0.7.0.1+gitr2726_872f0a83c98a-19.1
  • docker-runc >= 1.0.0rc6+gitr3804_2b18fe1d885e-1.23.1
  • golang-github-docker-libnetwork >= 0.7.0.1+gitr2726_872f0a83c98a-19.1
Patchnames:
SUSE-SLE-Module-Containers-12-2019-1264
SUSE-SLE-Module-Containers-12-2019-573
SUSE Linux Enterprise Module for Containers 15
  • containerd >= 1.1.2-5.3.4
  • docker >= 18.06.1_ce-6.8.2
  • docker-bash-completion >= 18.06.1_ce-6.8.2
  • docker-libnetwork >= 0.7.0.1+gitr2664_3ac297bc7fd0-4.3.5
  • docker-runc >= 1.0.0rc5+gitr3562_69663f0bd4b6-6.3.4
  • golang-github-docker-libnetwork >= 0.7.0.1+gitr2664_3ac297bc7fd0-4.3.5
  • helm-mirror >= 0.2.1-1.7.1
Patchnames:
SUSE-SLE-Module-Containers-15-2018-3064
SUSE-SLE-Module-Containers-15-2019-1234
SUSE-SLE-Module-Containers-15-2019-286
SUSE-SLE-Module-Containers-15-2019-48
SUSE-SLE-Module-Containers-15-2019-495
SUSE Linux Enterprise Module for Containers 15 SP1
  • containerd >= 1.2.5-5.13.1
  • docker >= 18.09.6_ce-6.17.1
  • docker-bash-completion >= 18.09.6_ce-6.17.1
  • docker-libnetwork >= 0.7.0.1+gitr2726_872f0a83c98a-4.12.1
  • docker-runc >= 1.0.0rc6+gitr3804_2b18fe1d885e-6.18.1
  • golang-github-docker-libnetwork >= 0.7.0.1+gitr2726_872f0a83c98a-4.12.1
  • helm-mirror >= 0.2.1-1.7.1
  • runc >= 1.0.0~rc6-1.3.1
Patchnames:
SUSE Linux Enterprise Module for Containers 15 SP1 GA containerd
SUSE Linux Enterprise Module for Containers 15 SP1 GA docker
SUSE Linux Enterprise Module for Containers 15 SP1 GA docker-libnetwork
SUSE Linux Enterprise Module for Containers 15 SP1 GA docker-runc
SUSE-SLE-Module-Containers-15-SP1-2019-1234
SUSE-SLE-Module-Containers-15-SP1-2019-48
SUSE Linux Enterprise Module for Open Buildservice Development Tools 15
  • containerd >= 1.1.2-5.3.4
  • containerd-ctr >= 1.1.2-5.3.4
  • containerd-test >= 1.1.2-5.3.4
  • docker >= 18.06.1_ce-6.8.2
  • docker-runc >= 1.0.0rc5+gitr3562_69663f0bd4b6-6.3.4
  • docker-runc-test >= 1.0.0rc5+gitr3562_69663f0bd4b6-6.3.4
  • docker-test >= 18.06.1_ce-6.8.2
  • docker-zsh-completion >= 18.06.1_ce-6.8.2
  • go >= 1.10.4-3.6.2
  • go-doc >= 1.10.4-3.6.2
  • go1.10 >= 1.10.7-1.5.3
  • go1.10-doc >= 1.10.7-1.5.3
  • go1.11 >= 1.11.9-1.12.1
  • go1.11-doc >= 1.11.9-1.12.1
  • go1.12 >= 1.12.4-1.9.1
  • go1.12-doc >= 1.12.4-1.9.1
  • golang-github-docker-libnetwork >= 0.7.0.1+gitr2664_3ac297bc7fd0-4.3.5
  • golang-packaging >= 15.0.11-3.3.2
Patchnames:
SUSE-SLE-Module-Development-Tools-OBS-15-2018-3064
SUSE-SLE-Module-Development-Tools-OBS-15-2019-1234
SUSE-SLE-Module-Development-Tools-OBS-15-2019-286
SUSE-SLE-Module-Development-Tools-OBS-15-2019-495
SUSE Linux Enterprise Module for Open Buildservice Development Tools 15 SP1
  • containerd >= 1.2.5-5.13.1
  • containerd-ctr >= 1.2.5-5.13.1
  • containerd-test >= 1.2.5-5.13.1
  • docker >= 18.09.6_ce-6.17.1
  • docker-runc >= 1.0.0rc6+gitr3804_2b18fe1d885e-6.18.1
  • docker-runc-test >= 1.0.0rc6+gitr3804_2b18fe1d885e-6.18.1
  • docker-test >= 18.09.6_ce-6.17.1
  • docker-zsh-completion >= 18.09.6_ce-6.17.1
  • go >= 1.12-3.10.1
  • go-doc >= 1.12-3.10.1
  • go-race >= 1.12-3.10.1
  • go1.11 >= 1.11.9-1.12.1
  • go1.11-doc >= 1.11.9-1.12.1
  • go1.11-race >= 1.11.9-1.12.1
  • go1.12 >= 1.12.4-1.9.1
  • go1.12-doc >= 1.12.4-1.9.1
  • go1.12-race >= 1.12.4-1.9.1
  • golang-github-docker-libnetwork >= 0.7.0.1+gitr2726_872f0a83c98a-4.12.1
Patchnames:
SUSE-SLE-Module-Development-Tools-OBS-15-SP1-2019-1234
SUSE OpenStack Cloud 6-LTSS
  • containerd >= 1.2.2-16.14.2
  • docker >= 18.09.1_ce-98.34.2
  • docker-libnetwork >= 0.7.0.1+gitr2711_2cfbf9b1f981-16.2
  • docker-runc >= 1.0.0rc6+gitr3748_96ec2177ae84-1.17.2
  • golang-github-docker-libnetwork >= 0.7.0.1+gitr2711_2cfbf9b1f981-16.2
Patchnames:
SUSE-OpenStack-Cloud-6-LTSS-2019-573
SUSE Package Hub for SUSE Linux Enterprise 12 SP3
  • helm >= 2.13.1-5.1
Patchnames:
openSUSE-2019-1703
openSUSE Leap 15.0
  • containerd >= 1.2.2-lp150.4.10.1
  • containerd-ctr >= 1.2.2-lp150.4.10.1
  • containerd-kubic >= 1.1.2-lp150.4.3.1
  • containerd-kubic-ctr >= 1.1.2-lp150.4.3.1
  • containerd-kubic-test >= 1.1.2-lp150.4.3.1
  • containerd-test >= 1.2.2-lp150.4.10.1
  • docker >= 18.09.1_ce-lp150.5.13.1
  • docker-bash-completion >= 18.09.1_ce-lp150.5.13.1
  • docker-debuginfo >= 18.09.1_ce-lp150.5.13.1
  • docker-debugsource >= 18.09.1_ce-lp150.5.13.1
  • docker-kubic >= 18.06.1_ce-lp150.5.6.1
  • docker-kubic-bash-completion >= 18.06.1_ce-lp150.5.6.1
  • docker-kubic-debuginfo >= 18.06.1_ce-lp150.5.6.1
  • docker-kubic-debugsource >= 18.06.1_ce-lp150.5.6.1
  • docker-kubic-test >= 18.06.1_ce-lp150.5.6.1
  • docker-kubic-test-debuginfo >= 18.06.1_ce-lp150.5.6.1
  • docker-kubic-zsh-completion >= 18.06.1_ce-lp150.5.6.1
  • docker-libnetwork >= 0.7.0.1+gitr2711_2cfbf9b1f981-lp150.3.10.1
  • docker-libnetwork-debuginfo >= 0.7.0.1+gitr2711_2cfbf9b1f981-lp150.3.10.1
  • docker-libnetwork-kubic >= 0.7.0.1+gitr2664_3ac297bc7fd0-lp150.3.3.1
  • docker-libnetwork-kubic-debuginfo >= 0.7.0.1+gitr2664_3ac297bc7fd0-lp150.3.3.1
  • docker-runc >= 1.0.0rc6+gitr3748_96ec2177ae84-lp150.5.14.1
  • docker-runc-debuginfo >= 1.0.0rc6+gitr3748_96ec2177ae84-lp150.5.14.1
  • docker-runc-kubic >= 1.0.0rc5+gitr3562_69663f0bd4b6-lp150.5.3.1
  • docker-runc-kubic-debuginfo >= 1.0.0rc5+gitr3562_69663f0bd4b6-lp150.5.3.1
  • docker-runc-kubic-test >= 1.0.0rc5+gitr3562_69663f0bd4b6-lp150.5.3.1
  • docker-runc-test >= 1.0.0rc6+gitr3748_96ec2177ae84-lp150.5.14.1
  • docker-test >= 18.09.1_ce-lp150.5.13.1
  • docker-test-debuginfo >= 18.09.1_ce-lp150.5.13.1
  • docker-zsh-completion >= 18.09.1_ce-lp150.5.13.1
  • go >= 1.10.4-lp150.2.7.1
  • go-doc >= 1.10.4-lp150.2.7.1
  • go-race >= 1.10.4-lp150.2.7.1
  • go1.10 >= 1.10.7-lp150.2.1
  • go1.10-doc >= 1.10.7-lp150.2.1
  • go1.10-race >= 1.10.7-lp150.2.1
  • go1.11 >= 1.11.4-lp150.2.1
  • go1.11-doc >= 1.11.4-lp150.2.1
  • go1.11-race >= 1.11.4-lp150.2.1
  • go1.12 >= 1.12.4-lp150.2.2
  • go1.12-doc >= 1.12.4-lp150.2.2
  • go1.12-race >= 1.12.4-lp150.2.2
  • golang-github-docker-libnetwork >= 0.7.0.1+gitr2711_2cfbf9b1f981-lp150.3.10.1
  • golang-github-docker-libnetwork-kubic >= 0.7.0.1+gitr2664_3ac297bc7fd0-lp150.3.3.1
  • golang-packaging >= 15.0.11-lp150.2.3.1
  • runc >= 1.0.0~rc6-lp150.2.7.1
  • runc-debuginfo >= 1.0.0~rc6-lp150.2.7.1
  • runc-test >= 1.0.0~rc6-lp150.2.7.1
Patchnames:
openSUSE-2019-1018
openSUSE-2019-1044
openSUSE-2019-1499
openSUSE-2019-189
openSUSE-2019-208
openSUSE-2019-295
openSUSE Leap 15.1
  • containerd >= 1.2.5-lp151.2.3.1
  • containerd-ctr >= 1.2.5-lp151.2.3.1
  • containerd-test >= 1.2.5-lp151.2.3.1
  • docker >= 18.09.6_ce-lp151.2.3.1
  • docker-bash-completion >= 18.09.6_ce-lp151.2.3.1
  • docker-debuginfo >= 18.09.6_ce-lp151.2.3.1
  • docker-debugsource >= 18.09.6_ce-lp151.2.3.1
  • docker-libnetwork >= 0.7.0.1+gitr2726_872f0a83c98a-lp151.2.3.1
  • docker-libnetwork-debuginfo >= 0.7.0.1+gitr2726_872f0a83c98a-lp151.2.3.1
  • docker-runc >= 1.0.0rc6+gitr3804_2b18fe1d885e-lp151.3.3.1
  • docker-runc-debuginfo >= 1.0.0rc6+gitr3804_2b18fe1d885e-lp151.3.3.1
  • docker-runc-test >= 1.0.0rc6+gitr3804_2b18fe1d885e-lp151.3.3.1
  • docker-test >= 18.09.6_ce-lp151.2.3.1
  • docker-test-debuginfo >= 18.09.6_ce-lp151.2.3.1
  • docker-zsh-completion >= 18.09.6_ce-lp151.2.3.1
  • go >= 1.12-lp151.2.3.1
  • go-doc >= 1.12-lp151.2.3.1
  • go-race >= 1.12-lp151.2.3.1
  • go1.11 >= 1.11.9-lp151.2.3.1
  • go1.11-doc >= 1.11.9-lp151.2.3.1
  • go1.11-race >= 1.11.9-lp151.2.3.1
  • go1.12 >= 1.12.4-lp151.2.3.1
  • go1.12-doc >= 1.12.4-lp151.2.3.1
  • go1.12-race >= 1.12.4-lp151.2.3.1
  • golang-github-docker-libnetwork >= 0.7.0.1+gitr2726_872f0a83c98a-lp151.2.3.1
Patchnames:
openSUSE-2019-1444
openSUSE Leap 42.3
  • containerd >= 1.2.2-22.1
  • containerd-ctr >= 1.2.2-22.1
  • containerd-kubic >= 1.2.2-22.1
  • containerd-kubic-ctr >= 1.2.2-22.1
  • containerd-kubic-test >= 1.2.2-22.1
  • containerd-test >= 1.2.2-22.1
  • docker >= 18.09.1_ce-54.1
  • docker-bash-completion >= 18.09.1_ce-54.1
  • docker-debuginfo >= 18.09.1_ce-54.1
  • docker-debugsource >= 18.09.1_ce-54.1
  • docker-kubic >= 18.09.1_ce-54.1
  • docker-kubic-bash-completion >= 18.09.1_ce-54.1
  • docker-kubic-debuginfo >= 18.09.1_ce-54.1
  • docker-kubic-debugsource >= 18.09.1_ce-54.1
  • docker-kubic-kubeadm-criconfig >= 18.09.1_ce-54.1
  • docker-kubic-test >= 18.09.1_ce-54.1
  • docker-kubic-test-debuginfo >= 18.09.1_ce-54.1
  • docker-kubic-zsh-completion >= 18.09.1_ce-54.1
  • docker-libnetwork >= 0.7.0.1+gitr2711_2cfbf9b1f981-11.1
  • docker-libnetwork-debuginfo >= 0.7.0.1+gitr2711_2cfbf9b1f981-11.1
  • docker-libnetwork-kubic >= 0.7.0.1+gitr2711_2cfbf9b1f981-11.1
  • docker-libnetwork-kubic-debuginfo >= 0.7.0.1+gitr2711_2cfbf9b1f981-11.1
  • docker-runc >= 1.0.0rc6+gitr3748_96ec2177ae84-11.1
  • docker-runc-debuginfo >= 1.0.0rc6+gitr3748_96ec2177ae84-11.1
  • docker-runc-debugsource >= 1.0.0rc6+gitr3748_96ec2177ae84-11.1
  • docker-runc-kubic >= 1.0.0rc6+gitr3748_96ec2177ae84-11.1
  • docker-runc-kubic-debuginfo >= 1.0.0rc6+gitr3748_96ec2177ae84-11.1
  • docker-runc-kubic-debugsource >= 1.0.0rc6+gitr3748_96ec2177ae84-11.1
  • docker-runc-kubic-test >= 1.0.0rc6+gitr3748_96ec2177ae84-11.1
  • docker-runc-test >= 1.0.0rc6+gitr3748_96ec2177ae84-11.1
  • docker-test >= 18.09.1_ce-54.1
  • docker-test-debuginfo >= 18.09.1_ce-54.1
  • docker-zsh-completion >= 18.09.1_ce-54.1
  • go1.10 >= 1.10.7-5.1
  • go1.10-doc >= 1.10.7-5.1
  • go1.10-race >= 1.10.7-5.1
  • go1.11 >= 1.11.4-2.1
  • go1.11-doc >= 1.11.4-2.1
  • go1.11-race >= 1.11.4-2.1
  • golang-github-docker-libnetwork >= 0.7.0.1+gitr2711_2cfbf9b1f981-11.1
  • golang-github-docker-libnetwork-debugsource >= 0.7.0.1+gitr2711_2cfbf9b1f981-11.1
  • golang-github-docker-libnetwork-kubic >= 0.7.0.1+gitr2711_2cfbf9b1f981-11.1
  • golang-github-docker-libnetwork-kubic-debugsource >= 0.7.0.1+gitr2711_2cfbf9b1f981-11.1
Patchnames:
openSUSE-2018-1593
openSUSE-2019-1018
openSUSE-2019-1079


Status of this issue by product and package

Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification.

Product(s) Source package State
CaaS Platform 3.0 containerd Released
OpenStack Cloud Magnum Orchestration 7.0 containerd Released
SUSE Linux Enterprise Module for Containers 12 containerd Released
SUSE Linux Enterprise Module for Containers 15 containerd Released
SUSE Openstack Cloud 6 containerd Released