PT-2017-13829 · Go+3 · Go+3

Simon Rawet

·

Publicado

2017-10-05

·

Atualizado

2024-06-15

·

CVE-2017-15041

CVSS v3.1

9.8

Crítica

VetorAV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Name of the Vulnerable Software and Affected Versions Go versions 1.8.0 through 1.8.3 Go versions 1.9.0 through 1.9.0
Description The issue allows remote command execution through the "go get" command. By using custom domains, an attacker can trick "go get" into reusing a Git checkout from a Subversion repository, potentially executing malicious commands in .git/hooks/ on the system running "go get". This can be achieved by arranging custom domains so that example.com/pkg1 points to a Subversion repository and example.com/pkg1/pkg2 points to a Git repository, and including a Git checkout in the Subversion repository's pkg2 directory.
Recommendations For Go versions 1.8.0 through 1.8.3, update to version 1.8.4 or later. For Go versions 1.9.0 through 1.9.0, update to version 1.9.1 or later. As a temporary workaround, consider restricting the use of the "go get" command until a patch is available. Avoid using custom domains that point to both Subversion and Git repositories to minimize the risk of exploitation.

Exploit

Correção

Encontrou algum problema na descrição? Tem algo a acrescentar? Fique à vontade para nos escrever 👾

Identificadores relacionados

ALT-PU-2018-1024
CESA-2018_0878
CVE-2017-15041
DLA-1148-1
DLA-2591-1
DLA-2592-1
GO-2022-0177
MGASA-2018-0089
OPENSUSE-SU-2024:10802-1
OPENSUSE-SU-2024:10803-1
OPENSUSE-SU-2024:10804-1
OPENSUSE-SU-2024:10805-1
OPENSUSE-SU-2024:10811-1
OPENSUSE-SU-2024:10812-1
RHSA-2017:3463
RHSA-2018:0878
RHSA-2018_0878

Produtos afetados

Alt Linux
Centos
Go
Red Hat