RHEL 7 : go-toolset-7 and go-toolset-7-golang (RHSA-2017:3463)

High Nessus Plugin ID 105367

Synopsis

The remote Red Hat host is missing one or more security updates.

Description

An update for go-toolset-7 and go-toolset-7-golang is now available for Red Hat Developer Tools.

Red Hat Product Security has rated this update as having a security impact of Moderate. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available for each vulnerability from the CVE link(s) in the References section.

Go Toolset provides the Go programming language tools and libraries.
Go is alternatively known as golang.

Security Fix(es) :

* An arbitrary command execution flaw was found in the way Go's 'go get' command handled the checkout of source code repositories. A remote attacker capable of hosting malicious repositories could potentially use this flaw to cause arbitrary command execution on the client side. (CVE-2017-15041)

* It was found that smtp.PlainAuth authentication scheme in Go did not verify the TLS requirement properly. A remote man-in-the-middle attacker could potentially use this flaw to sniff SMTP credentials sent by a Go application. (CVE-2017-15042)

Bug Fix(es) :

* Previously, the enable script for the go-toolset-7 Software Collection incorrectly set the GOPATH environment variable to a directory that required root permissions for write operations. As a consequence, the go compiler terminated unexpectedly when performing certain commands. The enable script has been changed to handle GOPATH correctly, and the described problem no longer occurs. (BZ#1512013)

Solution

Update the affected packages.

See Also

https://access.redhat.com/errata/RHSA-2017:3463

https://access.redhat.com/security/cve/cve-2017-15041

https://access.redhat.com/security/cve/cve-2017-15042

Plugin Details

Severity: High

ID: 105367

File Name: redhat-RHSA-2017-3463.nasl

Version: 3.8

Type: local

Agent: unix

Published: 2017/12/19

Updated: 2019/10/24

Dependencies: 12634

Risk Information

Risk Factor: High

CVSS v2.0

Base Score: 7.5

Temporal Score: 5.5

Vector: CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P

Temporal Vector: CVSS2#E:U/RL:OF/RC:C

CVSS v3.0

Base Score: 9.8

Temporal Score: 8.5

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Temporal Vector: CVSS:3.0/E:U/RL:O/RC:C

Vulnerability Information

CPE: p-cpe:/a:redhat:enterprise_linux:go-toolset-7, p-cpe:/a:redhat:enterprise_linux:go-toolset-7-build, p-cpe:/a:redhat:enterprise_linux:go-toolset-7-dockerfiles, p-cpe:/a:redhat:enterprise_linux:go-toolset-7-golang, p-cpe:/a:redhat:enterprise_linux:go-toolset-7-golang-bin, p-cpe:/a:redhat:enterprise_linux:go-toolset-7-golang-docs, p-cpe:/a:redhat:enterprise_linux:go-toolset-7-golang-misc, p-cpe:/a:redhat:enterprise_linux:go-toolset-7-golang-race, p-cpe:/a:redhat:enterprise_linux:go-toolset-7-golang-src, p-cpe:/a:redhat:enterprise_linux:go-toolset-7-golang-tests, p-cpe:/a:redhat:enterprise_linux:go-toolset-7-runtime, p-cpe:/a:redhat:enterprise_linux:go-toolset-7-scldevel, cpe:/o:redhat:enterprise_linux:7

Required KB Items: Host/local_checks_enabled, Host/RedHat/release, Host/RedHat/rpm-list, Host/cpu

Exploit Available: false

Exploit Ease: No known exploits are available

Patch Publication Date: 2017/12/14

Vulnerability Publication Date: 2017/10/05

Reference Information

CVE: CVE-2017-15041, CVE-2017-15042

RHSA: 2017:3463