Lucene search

K
amazonAmazonALAS-2017-918
HistoryNov 02, 2017 - 8:17 p.m.

Medium: golang

2017-11-0220:17:00
alas.aws.amazon.com
14

9.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

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

7.5 High

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P

0.055 Low

EPSS

Percentile

93.1%

Issue Overview:

Arbitrary code execution during go get or go get -d:
Go before 1.8.4 and 1.9.x before 1.9.1 allows “go get” remote command execution. Using custom domains, it is possible to arrange things so that example.com/pkg1 points to a Subversion repository but example.com/pkg1/pkg2 points to a Git repository. If the Subversion repository includes a Git checkout in its pkg2 directory and some other work is done to ensure the proper ordering of operations, “go get” can be tricked into reusing this Git checkout for the fetch of code from pkg2. If the Subversion repository’s Git checkout has malicious commands in .git/hooks/, they will execute on the system running “go get.” (CVE-2017-15041)

smtp.PlainAuth susceptible to man-in-the-middle password harvesting
An unintended cleartext issue exists in Go before 1.8.4 and 1.9.x before 1.9.1. RFC 4954 requires that, during SMTP, the PLAIN auth scheme must only be used on network connections secured with TLS. The original implementation of smtp.PlainAuth in Go 1.0 enforced this requirement, and it was documented to do so. In 2013, upstream issue #5184, this was changed so that the server may decide whether PLAIN is acceptable. The result is that if you set up a man-in-the-middle SMTP server that doesn’t advertise STARTTLS and does advertise that PLAIN auth is OK, the smtp.PlainAuth implementation sends the username and password. (CVE-2017-15042)

Affected Packages:

golang

Issue Correction:
Run yum update golang to update your system.

New Packages:

i686:  
    golang-bin-1.8.4-1.41.amzn1.i686  
    golang-1.8.4-1.41.amzn1.i686  
  
noarch:  
    golang-tests-1.8.4-1.41.amzn1.noarch  
    golang-src-1.8.4-1.41.amzn1.noarch  
    golang-docs-1.8.4-1.41.amzn1.noarch  
    golang-misc-1.8.4-1.41.amzn1.noarch  
  
src:  
    golang-1.8.4-1.41.amzn1.src  
  
x86_64:  
    golang-bin-1.8.4-1.41.amzn1.x86_64  
    golang-race-1.8.4-1.41.amzn1.x86_64  
    golang-1.8.4-1.41.amzn1.x86_64  

Additional References

Red Hat: CVE-2017-15041, CVE-2017-15042

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

9.8 High

CVSS3

Attack Vector

NETWORK

Attack Complexity

LOW

Privileges Required

NONE

User Interaction

NONE

Scope

UNCHANGED

Confidentiality Impact

HIGH

Integrity Impact

HIGH

Availability Impact

HIGH

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

7.5 High

CVSS2

Access Vector

NETWORK

Access Complexity

LOW

Authentication

NONE

Confidentiality Impact

PARTIAL

Integrity Impact

PARTIAL

Availability Impact

PARTIAL

AV:N/AC:L/Au:N/C:P/I:P/A:P

0.055 Low

EPSS

Percentile

93.1%