Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

Security advisory

ALAS2-2018-1011

Active Moderate

ALAS2-2018-1011 (medium): golang

Published
10 May 2018
Updated
10 May 2018

Related CVEs

CVE identifiers linked by this publisher.

3
Publisher relationship details 3 records
Explicit publisher CVE relationships
CVE
CVE-2017-15041
CVE-2017-15042
CVE-2018-6574

Description

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

Read full publisher description 1762 characters

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) Arbitrary code execution during "go get" via C compiler options 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.(CVE-2018-6574)

Solution

Run yum update golang or yum update --advisory ALAS2-2018-1011 to update your system.

Affected packages

Each item is one publisher package occurrence. Shared details are shown once; differences stay with the occurrence.

3

Shared package data

Applies to all 3 occurrences
  1. 1golang

    Occurrence-specific details
    Architecture
    noarch

    Replacement RPMs

    • golang-docs-1.9.4-1.amzn2.noarch
    • golang-misc-1.9.4-1.amzn2.noarch
    • golang-tests-1.9.4-1.amzn2.noarch
    • golang-src-1.9.4-1.amzn2.noarch
  2. 2golang

    Occurrence-specific details
    Architecture
    src

    Replacement RPMs

    • golang-1.9.4-1.amzn2.src
  3. 3golang

    Occurrence-specific details
    Architecture
    x86_64

    Replacement RPMs

    • golang-1.9.4-1.amzn2.x86_64
    • golang-bin-1.9.4-1.amzn2.x86_64

CVSS assessments

Publisher supplied scores and vectors; these do not replace the advisory severity above.

0

No CVSS assessments were provided.

Publisher references

6
  • CVE-2017-15041 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2017-15041
  • CVE-2017-15042 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2017-15042
  • CVE-2018-6574 advisory · Tags: Red Hat https://access.redhat.com/security/cve/CVE-2018-6574
  • CVE-2017-15041 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-15041
  • CVE-2017-15042 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2017-15042
  • CVE-2018-6574 advisory · Tags: Mitre https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2018-6574

Provenance

Schema version
Unknown
Parser version
amazon-alas/1
Severity origin
publisher
Publisher document provenance records
KindLocatorSource commitDocument hashParserFetched
html_pagehttps://alas.aws.amazon.com/AL2/ALAS2-2018-1011.htmlUnknown69ec595d9d78523ac7e15e6e75968c9443329d1af6e95c2a29d373178a14d1edamazon-alas/12026-11-16T08:26:43Z
rss_entryhttps://alas.aws.amazon.com/AL2/ALAS2-2018-1011.htmlUnknownUnknownamazon-alas/12026-11-16T08:26:43Z
catalog_entryhttps://alas.aws.amazon.com/AL2/ALAS2-2018-1011.htmlUnknownUnknownamazon-alas/12026-11-16T08:26:43Z

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected