<?xml version="1.0" encoding="UTF-8"?>
<cvrfdoc xmlns="http://www.icasi.org/CVRF/schema/cvrf/1.1" xmlns:cvrf="http://www.icasi.org/CVRF/schema/cvrf/1.1">
  <DocumentTitle xml:lang="en">Security update for go</DocumentTitle>
  <DocumentType>SUSE Patch</DocumentType>
  <DocumentPublisher Type="Vendor">
    <ContactDetails>security@suse.de</ContactDetails>
    <IssuingAuthority>SUSE Security Team</IssuingAuthority>
  </DocumentPublisher>
  <DocumentTracking>
    <Identification>
      <ID>openSUSE-SU-2018:4302-1</ID>
    </Identification>
    <Status>Final</Status>
    <Version>1</Version>
    <RevisionHistory>
      <Revision>
        <Number>1</Number>
        <Date>2018-12-29T10:20:00Z</Date>
        <Description>current</Description>
      </Revision>
    </RevisionHistory>
    <InitialReleaseDate>2018-12-29T10:20:00Z</InitialReleaseDate>
    <CurrentReleaseDate>2018-12-29T10:20:00Z</CurrentReleaseDate>
    <Generator>
      <Engine>cve-database/bin/generate-cvrf.pl</Engine>
      <Date>2017-02-24T01:00:00Z</Date>
    </Generator>
  </DocumentTracking>
  <DocumentNotes>
    <Note Title="Topic" Type="Summary" Ordinal="1" xml:lang="en">Security update for go</Note>
    <Note Title="Details" Type="General" Ordinal="2" xml:lang="en">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.</Note>
    <Note Title="Terms of Use" Type="Legal Disclaimer" Ordinal="3" xml:lang="en">The CVRF data is provided by SUSE under the Creative Commons License 4.0 with Attribution (CC-BY-4.0).</Note>
    <Note Title="Patchnames" Type="Details" Ordinal="4" xml:lang="en">openSUSE-2018-1625</Note>
  </DocumentNotes>
  <DocumentDistribution xml:lang="en">Copyright SUSE LLC under the Creative Commons License 4.0 with Attribution (CC-BY-4.0)</DocumentDistribution>
  <DocumentReferences>
    <Reference Type="Self">
      <URL>https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/PZCRXEXMCF6XFL7IRZ3SXSULVBU2CDJD/#PZCRXEXMCF6XFL7IRZ3SXSULVBU2CDJD</URL>
      <Description>E-Mail link for openSUSE-SU-2018:4302-1</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/support/security/rating/</URL>
      <Description>SUSE Security Ratings</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1081495</URL>
      <Description>SUSE Bug 1081495</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1119634</URL>
      <Description>SUSE Bug 1119634</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://bugzilla.suse.com/1119706</URL>
      <Description>SUSE Bug 1119706</Description>
    </Reference>
    <Reference Type="Self">
      <URL>https://www.suse.com/security/cve/CVE-2018-7187/</URL>
      <Description>SUSE CVE CVE-2018-7187 page</Description>
    </Reference>
  </DocumentReferences>
  <ProductTree xmlns="http://www.icasi.org/CVRF/schema/prod/1.1">
    <Branch Type="Product Family" Name="SUSE Package Hub 15">
      <Branch Type="Product Name" Name="SUSE Package Hub 15">
        <FullProductName ProductID="SUSE Package Hub 15">SUSE Package Hub 15</FullProductName>
      </Branch>
    </Branch>
    <Branch Type="Product Version" Name="go-1.10.4-bp150.2.3.1">
      <FullProductName ProductID="go-1.10.4-bp150.2.3.1">go-1.10.4-bp150.2.3.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="go-doc-1.10.4-bp150.2.3.1">
      <FullProductName ProductID="go-doc-1.10.4-bp150.2.3.1">go-doc-1.10.4-bp150.2.3.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="go-race-1.10.4-bp150.2.3.1">
      <FullProductName ProductID="go-race-1.10.4-bp150.2.3.1">go-race-1.10.4-bp150.2.3.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="go1.10-1.10.7-bp150.2.1">
      <FullProductName ProductID="go1.10-1.10.7-bp150.2.1">go1.10-1.10.7-bp150.2.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="go1.10-doc-1.10.7-bp150.2.1">
      <FullProductName ProductID="go1.10-doc-1.10.7-bp150.2.1">go1.10-doc-1.10.7-bp150.2.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="go1.10-race-1.10.7-bp150.2.1">
      <FullProductName ProductID="go1.10-race-1.10.7-bp150.2.1">go1.10-race-1.10.7-bp150.2.1</FullProductName>
    </Branch>
    <Branch Type="Product Version" Name="golang-packaging-15.0.11-bp150.3.3.1">
      <FullProductName ProductID="golang-packaging-15.0.11-bp150.3.3.1">golang-packaging-15.0.11-bp150.3.3.1</FullProductName>
    </Branch>
    <Relationship ProductReference="go-1.10.4-bp150.2.3.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Package Hub 15">
      <FullProductName ProductID="SUSE Package Hub 15:go-1.10.4-bp150.2.3.1">go-1.10.4-bp150.2.3.1 as a component of SUSE Package Hub 15</FullProductName>
    </Relationship>
    <Relationship ProductReference="go-doc-1.10.4-bp150.2.3.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Package Hub 15">
      <FullProductName ProductID="SUSE Package Hub 15:go-doc-1.10.4-bp150.2.3.1">go-doc-1.10.4-bp150.2.3.1 as a component of SUSE Package Hub 15</FullProductName>
    </Relationship>
    <Relationship ProductReference="go-race-1.10.4-bp150.2.3.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Package Hub 15">
      <FullProductName ProductID="SUSE Package Hub 15:go-race-1.10.4-bp150.2.3.1">go-race-1.10.4-bp150.2.3.1 as a component of SUSE Package Hub 15</FullProductName>
    </Relationship>
    <Relationship ProductReference="go1.10-1.10.7-bp150.2.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Package Hub 15">
      <FullProductName ProductID="SUSE Package Hub 15:go1.10-1.10.7-bp150.2.1">go1.10-1.10.7-bp150.2.1 as a component of SUSE Package Hub 15</FullProductName>
    </Relationship>
    <Relationship ProductReference="go1.10-doc-1.10.7-bp150.2.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Package Hub 15">
      <FullProductName ProductID="SUSE Package Hub 15:go1.10-doc-1.10.7-bp150.2.1">go1.10-doc-1.10.7-bp150.2.1 as a component of SUSE Package Hub 15</FullProductName>
    </Relationship>
    <Relationship ProductReference="go1.10-race-1.10.7-bp150.2.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Package Hub 15">
      <FullProductName ProductID="SUSE Package Hub 15:go1.10-race-1.10.7-bp150.2.1">go1.10-race-1.10.7-bp150.2.1 as a component of SUSE Package Hub 15</FullProductName>
    </Relationship>
    <Relationship ProductReference="golang-packaging-15.0.11-bp150.3.3.1" RelationType="Default Component Of" RelatesToProductReference="SUSE Package Hub 15">
      <FullProductName ProductID="SUSE Package Hub 15:golang-packaging-15.0.11-bp150.3.3.1">golang-packaging-15.0.11-bp150.3.3.1 as a component of SUSE Package Hub 15</FullProductName>
    </Relationship>
  </ProductTree>
  <Vulnerability xmlns="http://www.icasi.org/CVRF/schema/vuln/1.1" Ordinal="1">
    <Notes>
      <Note Title="Vulnerability Description" Type="General" Ordinal="1" xml:lang="en">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 web site.</Note>
    </Notes>
    <CVE>CVE-2018-7187</CVE>
    <ProductStatuses>
      <Status Type="Fixed">
        <ProductID>SUSE Package Hub 15:go-1.10.4-bp150.2.3.1</ProductID>
        <ProductID>SUSE Package Hub 15:go-doc-1.10.4-bp150.2.3.1</ProductID>
        <ProductID>SUSE Package Hub 15:go-race-1.10.4-bp150.2.3.1</ProductID>
        <ProductID>SUSE Package Hub 15:go1.10-1.10.7-bp150.2.1</ProductID>
        <ProductID>SUSE Package Hub 15:go1.10-doc-1.10.7-bp150.2.1</ProductID>
        <ProductID>SUSE Package Hub 15:go1.10-race-1.10.7-bp150.2.1</ProductID>
        <ProductID>SUSE Package Hub 15:golang-packaging-15.0.11-bp150.3.3.1</ProductID>
      </Status>
    </ProductStatuses>
    <Threats>
      <Threat Type="Impact">
        <Description>moderate</Description>
      </Threat>
    </Threats>
    <CVSSScoreSets>
      <ScoreSet>
        <BaseScore>9.3</BaseScore>
        <Vector>AV:N/AC:M/Au:N/C:C/I:C/A:C</Vector>
      </ScoreSet>
    </CVSSScoreSets>
    <Remediations>
      <Remediation Type="Vendor Fix">
        <Description xml:lang="en">To install this SUSE Security Update use the SUSE recommended installation methods like YaST online_update or "zypper patch".
</Description>
        <URL>https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/PZCRXEXMCF6XFL7IRZ3SXSULVBU2CDJD/#PZCRXEXMCF6XFL7IRZ3SXSULVBU2CDJD</URL>
      </Remediation>
    </Remediations>
    <References>
      <Reference>
        <URL>https://www.suse.com/security/cve/CVE-2018-7187.html</URL>
        <Description>CVE-2018-7187</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1080006</URL>
        <Description>SUSE Bug 1080006</Description>
      </Reference>
      <Reference>
        <URL>https://bugzilla.suse.com/1081495</URL>
        <Description>SUSE Bug 1081495</Description>
      </Reference>
    </References>
  </Vulnerability>
</cvrfdoc>
