Schwachstellen / CVE-2017-15041

kritisch

CVE-2017-15041

golang: arbitrary code execution during "go get" or "go get -d"

Veröffentlicht Geändert
In der Trivy Database seit spätestens 24. Okt. 2026, 07:11 UTCWann der Eintrag vor diesem Build hinzukam, ist nicht erfasst.

Einstufung nach Quelle

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat7.5CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H

Trivys eigenes Label ist CRITICAL. Kritisch laut NVD, Photon OS. Niedriger laut Red Hat (mittel), Amazon (mittel).

Beschreibung

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."

Betroffene Pakete und behobene Versionen

QuellePaketBehoben in
Photon OS 2.0go1.9.1-1.ph2
amazon linux 1golang, golang-bin, golang-docs und 4 weitere1.8.4-1.41.amzn1
amazon linux 2golang, golang-bin, golang-docs und 3 weitere1.9.4-1.amzn2
debian 7golang2:1.0.2-1.1+deb7u2
debian 8golangkein Fix angegeben
debian 9golang-1.7, golang-1.81.7.4-2+deb9u3 und 1 weitere
Red Hatgolang, golang-bin, golang-pkg-bin-linux-amd64 und 2 weiterekein Fix angegeben
Alle 23 Einträge aus 7 Quellen zeigen
QuellePaketBehoben in
Photon OS 2.0go1.9.1-1.ph2
amazon linux 1golang1.8.4-1.41.amzn1
amazon linux 1golang-bin1.8.4-1.41.amzn1
amazon linux 1golang-docs1.8.4-1.41.amzn1
amazon linux 1golang-misc1.8.4-1.41.amzn1
amazon linux 1golang-race1.8.4-1.41.amzn1
amazon linux 1golang-src1.8.4-1.41.amzn1
amazon linux 1golang-tests1.8.4-1.41.amzn1
amazon linux 2golang1.9.4-1.amzn2
amazon linux 2golang-bin1.9.4-1.amzn2
amazon linux 2golang-docs1.9.4-1.amzn2
amazon linux 2golang-misc1.9.4-1.amzn2
amazon linux 2golang-src1.9.4-1.amzn2
amazon linux 2golang-tests1.9.4-1.amzn2
debian 7golang2:1.0.2-1.1+deb7u2
debian 8golangkein Fix angegeben
debian 9golang-1.71.7.4-2+deb9u3
debian 9golang-1.81.8.1-1+deb9u3
Red Hatgolangkein Fix angegeben
Red Hatgolang-binkein Fix angegeben
Red Hatgolang-pkg-bin-linux-amd64kein Fix angegeben
Red Hatgolang-pkg-linux-amd64kein Fix angegeben
Red Hatgolang-srckein Fix angegeben

Referenzen

Alle 13 Referenzen

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.