Vulnerabilidades / CVE-2017-15041

crítica

CVE-2017-15041

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

Publicada Modificada
En la Trivy database desde, como mínimo, el 24 oct 2026, 07:11 UTCNo consta cuándo entró antes de ese build.

Severidad por fuente

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

La etiqueta propia de Trivy es CRITICAL. Crítica según NVD, Photon OS. Más baja según Red Hat (media), Amazon (media).

Descripción

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

Paquetes afectados y versiones corregidas

FuentePaqueteCorregido en
Photon OS 2.0go1.9.1-1.ph2
amazon linux 1golang, golang-bin, golang-docs y 4 más1.8.4-1.41.amzn1
amazon linux 2golang, golang-bin, golang-docs y 3 más1.9.4-1.amzn2
debian 7golang2:1.0.2-1.1+deb7u2
debian 8golangsin corrección indicada
debian 9golang-1.7, golang-1.81.7.4-2+deb9u3 y 1 más
Red Hatgolang, golang-bin, golang-pkg-bin-linux-amd64 y 2 mássin corrección indicada
Mostrar las 23 entradas de 7 fuentes
FuentePaqueteCorregido 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 8golangsin corrección indicada
debian 9golang-1.71.7.4-2+deb9u3
debian 9golang-1.81.8.1-1+deb9u3
Red Hatgolangsin corrección indicada
Red Hatgolang-binsin corrección indicada
Red Hatgolang-pkg-bin-linux-amd64sin corrección indicada
Red Hatgolang-pkg-linux-amd64sin corrección indicada
Red Hatgolang-srcsin corrección indicada

Referencias

Las 13 referencias

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.