PT-2018-3479 · Google+2 · Go+2

Dmitri Shuralyov

+1

·

Publicado

2018-09-07

·

Atualizado

2025-11-28

·

CVE-2018-16874

CVSS v2.0

9.3

Alta

VetorAV:N/AC:M/Au:N/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions: Go versions prior to 1.10.6 Go versions 1.11.x prior to 1.11.3
Description: The issue is related to the "go get" command in the Go programming language, which is vulnerable to directory traversal when executed with the import path of a malicious Go package containing curly braces ({ and } characters). This vulnerability can be exploited by a remote attacker to cause an arbitrary filesystem write, potentially leading to code execution. The vulnerability specifically affects GOPATH mode but not module mode.
Recommendations: For Go versions prior to 1.10.6, update to version 1.10.6 or later. For Go versions 1.11.x prior to 1.11.3, update to version 1.11.3 or later. As a temporary workaround, consider avoiding the use of the "go get" command with untrusted import paths until the issue is resolved. Restrict access to the GOPATH mode to minimize the risk of exploitation.

Correção

RCE

Path traversal

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

Enumeração de Fraquezas

Identificadores relacionados

ALT-PU-2018-2289
ALT-PU-2019-1081
BDU:2020-01888
CVE-2018-16874
DLA-2591-1
DLA-2592-1
GO-2022-0190
MGASA-2019-0066
MGASA-2019-0180
OPENSUSE-SU-2018_4181-1
OPENSUSE-SU-2018_4255-1
OPENSUSE-SU-2018_4306-1
OPENSUSE-SU-2019:0170-1
OPENSUSE-SU-2019:0189-1
OPENSUSE-SU-2019:0208-1
OPENSUSE-SU-2019:0295-1
OPENSUSE-SU-2019:1444-1
OPENSUSE-SU-2019:1499-1
OPENSUSE-SU-2019:1506-1
OPENSUSE-SU-2019:1703-1
OPENSUSE-SU-2019_0189-1
OPENSUSE-SU-2019_0208-1
OPENSUSE-SU-2019_0295-1
OPENSUSE-SU-2019_1079-1
OPENSUSE-SU-2019_1444-1
OPENSUSE-SU-2019_1499-1
OPENSUSE-SU-2020:0554-1
OPENSUSE-SU-2020_0554-1
OPENSUSE-SU-2024:10693-1
OPENSUSE-SU-2024:10699-1
OPENSUSE-SU-2024:10722-1
OPENSUSE-SU-2024:10741-1
OPENSUSE-SU-2024:10761-1
OPENSUSE-SU-2024:10802-1
OPENSUSE-SU-2024:10803-1
OPENSUSE-SU-2024:10804-1
OPENSUSE-SU-2024:10805-1
OPENSUSE-SU-2024:10841-1
OPENSUSE-SU-2024:10842-1
OPENSUSE-SU-2024:11358-1
OPENSUSE-SU-2024_3656-1
OPENSUSE-SU-2025:15589-1
OPENSUSE-SU-2025:15779-1
SUSE-SU-2018:4297-1
SUSE-SU-2019:0048-1
SUSE-SU-2019:0048-2
SUSE-SU-2019:0286-1
SUSE-SU-2019:0495-1
SUSE-SU-2019:0573-1
SUSE-SU-2019:1234-1
SUSE-SU-2019:1234-2
SUSE-SU-2019:1264-1
SUSE-SU-2021:1458-1
SUSE-SU-2024:3656-1
SUSE-SU-2025:03540-1
SUSE-SU-2025:03545-1

Produtos afetados

Alt Linux
Go
Suse