Bugzilla will be upgraded to version 5.0 on a still to be determined date in the near future. The original upgrade date has been delayed.
Bug 1543561 - (CVE-2018-6574) CVE-2018-6574 golang: arbitrary code execution during "go get" via C compiler options
CVE-2018-6574 golang: arbitrary code execution during "go get" via C compiler...
Status: NEW
Product: Security Response
Classification: Other
Component: vulnerability (Show other bugs)
unspecified
All Linux
medium Severity medium
: ---
: ---
Assigned To: Red Hat Product Security
impact=moderate,public=20180207,repor...
: Security
Depends On: 1543562 1543563 1545300 1545319 1566231
Blocks: 1498774 1543565
  Show dependency treegraph
 
Reported: 2018-02-08 12:54 EST by Pedro Sampaio
Modified: 2018-09-05 09:37 EDT (History)
32 users (show)

See Also:
Fixed In Version: go 1.8.7, go 1.9.4, go 1.10rc2
Doc Type: If docs needed, set a value
Doc Text:
An arbitrary command execution flaw was found in the way Go's "go get" command handled gcc and clang sensitive options during the build. A remote attacker capable of hosting malicious repositories could potentially use this flaw to cause arbitrary command execution on the client side.
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2018:0878 None None None 2018-04-10 04:28 EDT
Red Hat Product Errata RHSA-2018:1304 None None None 2018-05-02 23:48 EDT

  None (edit)
Description Pedro Sampaio 2018-02-08 12:54:41 EST
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.

Upstream issue:

https://github.com/golang/go/issues/23672

Upstream patch:

https://go.googlesource.com/go/+/44821583bc16ff2508664fab94360bb856e9e9d6
https://go.googlesource.com/go/+/867fb18b6d5bc73266b68c9a695558a04e060a8a
Comment 1 Pedro Sampaio 2018-02-08 12:55:31 EST
Created golang tracking bugs for this issue:

Affects: epel-6 [bug 1543563]
Affects: fedora-all [bug 1543562]
Comment 2 Joshua Padman 2018-02-12 04:23:59 EST
golang was included in Red Hat OpenStack 8 & 9 operational tools only as a technical preview for customers, it was provided without support and is not intended to be deployed in production.
Comment 6 errata-xmlrpc 2018-04-10 04:27:54 EDT
This issue has been addressed in the following products:

  Red Hat Enterprise Linux 7

Via RHSA-2018:0878 https://access.redhat.com/errata/RHSA-2018:0878
Comment 10 errata-xmlrpc 2018-05-02 23:48:36 EDT
This issue has been addressed in the following products:

  Red Hat Developer Tools

Via RHSA-2018:1304 https://access.redhat.com/errata/RHSA-2018:1304
Comment 11 Andrej Nemec 2018-05-14 09:56:50 EDT
Statement:

This issue affects the versions of golang as shipped with Red Hat OpenShift Enterprise 3. Red Hat Product Security has rated this issue as having security impact of Moderate. A future update may address this issue. For additional information, refer to the Issue Severity Classification: https://access.redhat.com/security/updates/classification/.

Note You need to log in before you can comment on or make changes to this bug.