Vulnérabilités / CVE-2017-15041

critique

CVE-2017-15041

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

Publiée Modifiée
Dans la Trivy database depuis au moins le 24 oct. 2026, 07:11 UTCLa date d'entrée avant ce build n'est pas enregistrée.

Sévérité par source

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

Le label propre à Trivy est CRITICAL. Critique selon NVD, Photon OS. Plus basse selon Red Hat (moyenne), Amazon (moyenne).

Description

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

Paquets affectés et versions corrigées

SourcePaquetCorrigé en
Photon OS 2.0go1.9.1-1.ph2
amazon linux 1golang, golang-bin, golang-docs et 4 autres1.8.4-1.41.amzn1
amazon linux 2golang, golang-bin, golang-docs et 3 autres1.9.4-1.amzn2
debian 7golang2:1.0.2-1.1+deb7u2
debian 8golangpas de correctif indiqué
debian 9golang-1.7, golang-1.81.7.4-2+deb9u3 et 1 autres
Red Hatgolang, golang-bin, golang-pkg-bin-linux-amd64 et 2 autrespas de correctif indiqué
Afficher les 23 entrées de 7 sources
SourcePaquetCorrigé en
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 8golangpas de correctif indiqué
debian 9golang-1.71.7.4-2+deb9u3
debian 9golang-1.81.8.1-1+deb9u3
Red Hatgolangpas de correctif indiqué
Red Hatgolang-binpas de correctif indiqué
Red Hatgolang-pkg-bin-linux-amd64pas de correctif indiqué
Red Hatgolang-pkg-linux-amd64pas de correctif indiqué
Red Hatgolang-srcpas de correctif indiqué

Références

Les 13 références

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.