PT-2018-3478

CVE-2018-16873

·

تاريخ النشر

2018-09-07

·

تاريخ التحديث

2025-11-28

الوصف من

CVSS 2.0
9.3
عالية
المقاييسAV: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 and is caused by insufficient input validation, specifically when using the -u flag with a malicious import path. This can lead to remote code execution. The vulnerability is only present in GOPATH mode, not in module mode. An attacker can exploit this by creating a custom domain and arranging for a Git repository to be cloned to a folder named ".git" using a vanity import path. If the Git repository root contains specific files and directories, "go get -u" can be tricked into running Git commands on the parent directory, potentially executing malicious commands.
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 -u flag with the "go get" command until a patch is applied. Restrict access to the "go get" command to minimize the risk of exploitation.
قابلية الاستغلال
إصلاح
التأثيرات
الباحثون
المورّدون
المنتجات المتأثرة
تصنيف نقاط الضعف
المعرّفات ذات الصلة
ALT-PU-2018-2289
ALT-PU-2019-1081
DLA-2591-1
DLA-2592-1
GO-2022-0189
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_0189-1
OPENSUSE-SU-2019:0208-1
OPENSUSE-SU-2019_0208-1
OPENSUSE-SU-2019:0295-1
OPENSUSE-SU-2019_0295-1
OPENSUSE-SU-2019_1079-1
OPENSUSE-SU-2019:1444-1
OPENSUSE-SU-2019_1444-1
OPENSUSE-SU-2019:1499-1
OPENSUSE-SU-2019_1499-1
OPENSUSE-SU-2019:1506-1
OPENSUSE-SU-2019:1703-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
وجدت خطأً في الوصف؟ لديك ما تضيفه؟ لا تتردد في مراسلتنا 👾