CVE-2018-16873: In Go before 1.10.6 and 1.11.x before 1.11.3, the "go get" command is vulnerable to remote code execution when executed with the -u flag and…
Noroxi değerlendirmesi
Öncelik: Planlayın (aksiyon skoru 52/100)
- İzlediğimiz kaynaklarda (CISA KEV, Exploit-DB, Metasploit, Nuclei, GitHub) herkese açık istismar kodu ya da sahada sömürü kaydı yok.
- Önümüzdeki 30 günde sömürülme olasılığı %66,2 (FIRST EPSS); kayıtların %99,2 kadarından yüksek.
- İnternetten erişebilen herkes tetikleyebilir. Hesap ya da parola gerekmez. Kullanıcının bir şey yapması gerekmez. Zamanlama ya da yapılandırma gibi özel koşullar gerekir.
- Düzeltilmiş sürüm: golang-1.7 (Debian:9) 1.7.4-2+deb9u3; golang-1.8 (Debian:9) 1.8.1-1+deb9u3; toolchain (Go) 1.11.3, 1.10.6.
- Ulusal siber güvenlik bildirimlerinde (siberguvenlik.gov.tr) 1 kez anıldı.
Olağan yama döngüsüne alın. golang-1.7 (Debian:9) 1.7.4-2+deb9u3; golang-1.8 (Debian:9) 1.8.1-1+deb9u3; toolchain (Go) 1.11.3, 1.10.6 ya da daha yeni sürüme yükseltin.
Kaydın verisinden otomatik üretilir: CVSS (NVD ve CNA), CISA KEV ve SSVC, FIRST EPSS, istismar kaynakları, düzeltme sürümleri. Nasıl hesaplıyoruz
Birincil kaynaklar: NVD · CVE.org · FIRST EPSS
In Go before 1.10.6 and 1.11.x before 1.11.3, the "go get" command is vulnerable to remote code execution when executed with the -u flag and the import path of a malicious Go package, or a package that imports it directly or indirectly. Specifically, it is only vulnerable in GOPATH mode, but not in module mode (the distinction is documented at https://golang.org/cmd/go/#hdr-Module_aware_go_get). Using custom domains, it's possible to arrange things so that a Git repository is cloned to a folder named ".git" by using a vanity import path that ends with "/.git". If the Git repository root contains a "HEAD" file, a "config" file, an "objects" directory, a "refs" directory, with some work to ensure the proper ordering of operations, "go get -u" can be tricked into considering the parent directory as a repository root, and running Git commands on it. That will use the "config" file in the original Git repository root for its configuration, and if that config file contains malicious commands, they will execute on the system running "go get -u".
- BDU:2020-01887
- DLA-2591-1
- DLA-2592-1
- GO-2022-0189
- openSUSE-SU-2019:0170-1
- openSUSE-SU-2019:1444-1
- openSUSE-SU-2019:1499-1
- openSUSE-SU-2019:1506-1
- openSUSE-SU-2019:1703-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
- Yayın
- 14 Ara 2018
- Güncelleme
- 16 Haz 2026
- EPSS
- %66,2 · 99. yüzdelik
- CWE
- CWE-20
Rapor araçları
Aksiyon skoru
52
Olağan yama döngüsüne alın.
- CVSS
- 32 / 40 · 8.1 / 10
- CISA KEV
- 0 / 30 · Listede değil
- EPSS
- 20 / 30 · %66,2
CNA ile NVD puanı
- NVD
- 8,1
- CNA · redhat
- 7,5
- 0,6 puan fark
CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
Kaydı açan otoritenin puanı ile NVD’nin bağımsız puanı. İki puan arasındaki fark ciddiyetin tartışmalı olduğunu gösterir.
Bu kayıt değişirse haber alın
- KEV'de değil: sahada sömürü kaydı yok
- Herkese açık istismar kodu kaydı yok
- Düzeltme yayımlandı
Bunlardan biri değişirse günlük e-posta özetinde haber veririz.
Sürümünüz etkileniyor mu? Kontrol edinNoroxi analizi
Sizin ortamınızda ne anlama geliyor?
Yukarıdaki değerlendirme kaydın verisinden otomatik üretilir; ortamınızı bilmez. Bu açığın sizde gerçekten sömürülebilir olup olmadığını ve hangi önlemin yeteceğini ekibimiz sizin sistemlerinizde doğrular.
Bu ürünü kullanıyoruz, yardım isteyinEtkilenen sistemler
Sürümünüz etkileniyor mu?
Ürünü seçip kullandığınız sürümü yazın. Bu kaydın sürüm aralıklarıyla tarayıcınızda karşılaştırılır; sürüm hiçbir yere gönderilmez.
| Üretici | Ürün | CPE |
|---|---|---|
| golang | go | cpe:2.3:a:golang:go |
| opensuse | backports sle | cpe:2.3:a:opensuse:backports_sle |
| opensuse | leap | cpe:2.3:o:opensuse:leap |
| suse | linux enterprise server | cpe:2.3:o:suse:linux_enterprise_server |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
Üreticinin bildirdiği sürümler
Kaydı açan otorite (redhat) tarafından bildirilen etkilenen sürüm aralıkları. NVD'nin CPE analizinden bağımsızdır ve genellikle ondan önce gelir.
[UNKNOWN] golang
- 1.10.6, 1.11.3etkilenir
Etkilenen sürümler · NVD (8)
NVD sürüm aralıkları (katalogdaki ürünler için). Stack’inize sürümle eklerseniz eşleşme bunlarla yapılır.
- debian debian linux9.0
- golang go1.11.0 ve sonrası · 1.11.3 öncesi
- golang go1.10.6 öncesi
- opensuse backports sle15.0
- opensuse leap15.0
- opensuse leap15.1
- opensuse leap42.3
- suse linux enterprise server12
Paket düzeyi etkilenme
OSV ve GitHub Advisory verisi: ekosistem, paket ve aralık. SBOM eşleşmesi bu tabloyu kullanır.
| Ekosistem | Paket | Etkilenen aralık | Düzeltme |
|---|---|---|---|
| Debian:9 | golang-1.7 | 1.7.4-2+deb9u3 öncesi | 1.7.4-2+deb9u3 |
| Debian:9 | golang-1.8 | 1.8.1-1+deb9u3 öncesi | 1.8.1-1+deb9u3 |
| Go | toolchain | 1.11.0-0 itibarıyla · 1.11.3 öncesi | 1.11.3 |
| Go | toolchain | 1.10.6 öncesi | 1.10.6 |
| openSUSE:Leap 15.0 | containerd | 1.2.5-lp150.4.14.3 öncesi | 1.2.5-lp150.4.14.3 |
| openSUSE:Leap 15.0 | docker | 18.09.6_ce-lp150.5.17.2 öncesi | 18.09.6_ce-lp150.5.17.2 |
| openSUSE:Leap 15.0 | docker-runc | 1.0.0rc6+gitr3804_2b18fe1d885e-lp150.5.21.2 öncesi | 1.0.0rc6+gitr3804_2b18fe1d885e-lp150.5.21.2 |
| openSUSE:Leap 15.0 | go | 1.12-lp150.2.11.1 öncesi | 1.12-lp150.2.11.1 |
| openSUSE:Leap 15.0 | go1.11 | 1.11.9-lp150.9.3 öncesi | 1.11.9-lp150.9.3 |
| openSUSE:Leap 15.0 | go1.12 | 1.12.4-lp150.2.2 öncesi | 1.12.4-lp150.2.2 |
| openSUSE:Leap 15.0 | golang-github-docker-libnetwork | 0.7.0.1+gitr2726_872f0a83c98a-lp150.3.14.1 öncesi | 0.7.0.1+gitr2726_872f0a83c98a-lp150.3.14.1 |
| openSUSE:Leap 15.1 | containerd | 1.2.5-lp151.2.3.1 öncesi | 1.2.5-lp151.2.3.1 |
| openSUSE:Leap 15.1 | cri-o | 1.17.1-lp151.2.2 öncesi | 1.17.1-lp151.2.2 |
| openSUSE:Leap 15.1 | cri-tools | 1.18.0-lp151.2.1 öncesi | 1.18.0-lp151.2.1 |
| openSUSE:Leap 15.1 | docker | 18.09.6_ce-lp151.2.3.1 öncesi | 18.09.6_ce-lp151.2.3.1 |
| openSUSE:Leap 15.1 | docker-runc | 1.0.0rc6+gitr3804_2b18fe1d885e-lp151.3.3.1 öncesi | 1.0.0rc6+gitr3804_2b18fe1d885e-lp151.3.3.1 |
| openSUSE:Leap 15.1 | go | 1.12-lp151.2.3.1 öncesi | 1.12-lp151.2.3.1 |
| openSUSE:Leap 15.1 | go1.11 | 1.11.9-lp151.2.3.1 öncesi | 1.11.9-lp151.2.3.1 |
| openSUSE:Leap 15.1 | go1.12 | 1.12.4-lp151.2.3.1 öncesi | 1.12.4-lp151.2.3.1 |
| openSUSE:Leap 15.1 | go1.14 | 1.14-lp151.6.1 öncesi | 1.14-lp151.6.1 |
| openSUSE:Leap 15.1 | golang-github-docker-libnetwork | 0.7.0.1+gitr2726_872f0a83c98a-lp151.2.3.1 öncesi | 0.7.0.1+gitr2726_872f0a83c98a-lp151.2.3.1 |
| openSUSE:Leap 15.1 | kubernetes | 1.18.0-lp151.5.1 öncesi | 1.18.0-lp151.5.1 |
| openSUSE:Leap 15.5 | etcd | 3.5.12-150000.7.6.1 öncesi | 3.5.12-150000.7.6.1 |
| openSUSE:Tumbleweed | containerd | 1.4.8-2.2 öncesi | 1.4.8-2.2 |
+43
Aynı üründe
golang: tüm kayıtlarAynı birincil ürünün en yüksek skorlu diğer kayıtları.
- CVE-2018-7187The "go get" implementation in Go 1.9.4, when the -insecure command-line option is used, does not validate the import path (get/vcs.go only…54Planlayın
- CVE-2021-38297Go before 1.16.9 and 1.17.x before 1.17.2 has a Buffer Overflow via large arguments in a function invocation from a WASM module, when…42Planlayın
- CVE-2019-14809net/url in Go before 1.11.13 and 1.12.x before 1.12.8 mishandles malformed hosts in URLs, leading to an authorization bypass in some…42Planlayın
Bu üründe bundan önce ve sonra yayımlananlar
- ← ÖncekiCVE-2015-574018 Eki 2017 · The net/http library in net/http/transfer.go in Go before 1.4.3 does not properly parse HTTP headers, which allows remote attackers to…40Planlayın
- ← ÖncekiCVE-2018-65747 Şub 2018 · Go before 1.8.7, Go 1.9.x before 1.9.4, and Go 1.10 pre-releases before Go 1.10rc2 allow "go get" remote command execution during source…33İzleyin
- Sonraki →CVE-2018-1687414 Ara 2018 · In Go before 1.10.6 and 1.11.x before 1.11.3, the "go get" command is vulnerable to directory traversal when executed with the import path…34İzleyin
Düzeltme
Hangi sürüme geçmeli
Üretici, paket deposu ve Microsoft kayıtlarından derlenen düzeltme sürümleri. Yükseltmeden önce üreticinin notunu doğrulayın.
| Ürün / paket | Düzeltilmiş sürüm | Kaynak |
|---|---|---|
| debian:golang-1.7 | 1.7.4-2+deb9u3 · Debian:9 | Paket deposu (OSV) |
| debian:golang-1.8 | 1.8.1-1+deb9u3 · Debian:9 | Paket deposu (OSV) |
| Go:toolchain | 1.10.6 | Paket deposu (OSV) |
| Go:toolchain | 1.11.3 | Paket deposu (OSV) |
| opensuse:containerd | 1.2.5-lp151.2.3.1 · openSUSE:Leap 15.1 | Paket deposu (OSV) |
| opensuse:cri-o | 1.17.1-lp151.2.2 · openSUSE:Leap 15.1 | Paket deposu (OSV) |
| opensuse:cri-tools | 1.18.0-lp151.2.1 · openSUSE:Leap 15.1 | Paket deposu (OSV) |
| opensuse:docker | 18.09.6_ce-lp151.2.3.1 · openSUSE:Leap 15.1 | Paket deposu (OSV) |
| opensuse:docker-runc | 1.0.0rc6+gitr3804_2b18fe1d885e-lp151.3.3.1 · openSUSE:Leap 15.1 | Paket deposu (OSV) |
| opensuse:etcd | 3.5.12-150000.7.6.1 · openSUSE:Leap 15.5 | Paket deposu (OSV) |
| opensuse:go | 1.12-lp151.2.3.1 · openSUSE:Leap 15.1 | Paket deposu (OSV) |
| opensuse:go1.11 | 1.11.9-lp151.2.3.1 · openSUSE:Leap 15.1 | Paket deposu (OSV) |
| opensuse:go1.12 | 1.12.4-lp151.2.3.1 · openSUSE:Leap 15.1 | Paket deposu (OSV) |
| opensuse:go1.14 | 1.14-lp151.6.1 · openSUSE:Leap 15.1 | Paket deposu (OSV) |
| opensuse:golang-github-docker-libnetwork | 0.7.0.1+gitr2726_872f0a83c98a-lp151.2.3.1 · openSUSE:Leap 15.1 | Paket deposu (OSV) |
| opensuse:kubernetes | 1.18.0-lp151.5.1 · openSUSE:Leap 15.1 | Paket deposu (OSV) |
| suse:containerd | 1.1.2-5.3.4 · SUSE:Linux Enterprise Module for Containers 15 | Paket deposu (OSV) |
| suse:docker | 18.06.1_ce-6.8.2 · SUSE:Linux Enterprise Module for Containers 15 | Paket deposu (OSV) |
| suse:docker-runc | 1.0.0rc5+gitr3562_69663f0bd4b6-6.3.4 · SUSE:Linux Enterprise Module for Containers 15 | Paket deposu (OSV) |
| suse:go | 1.12-bp150.2.6.1 · SUSE:Package Hub 15 | Paket deposu (OSV) |
| suse:golang-github-docker-libnetwork | 0.7.0.1+gitr2664_3ac297bc7fd0-4.3.5 · SUSE:Linux Enterprise Module for Containers 15 | Paket deposu (OSV) |
| suse:helm | 2.13.1-5.1 · SUSE:Package Hub 12 SP3 | Paket deposu (OSV) |
| suse:helm-mirror | 0.2.1-1.7.1 · SUSE:Linux Enterprise Module for Containers 15 | Paket deposu (OSV) |
| suse:runc | 1.0.0~rc93-16.8.1 · SUSE:Linux Enterprise Module for Containers 12 | Paket deposu (OSV) |
İstismar durumu
Bilinen kamuya açık istismar yok
Şu an kamuya açık bir istismar görülmedi. Bu, güvende olduğunuz anlamına gelmez; yalnızca eşiğin biraz daha yüksek olduğunu gösterir.
Araştırma bağlamı
Pentester ve araştırmacı için: saldırı profili, puan anlaşmazlığı, zaman çizelgesi, yama commit’leri, kredi, varyant ve zincir adayları, bug bounty kapsamı. Hepsi mevcut veriden türetilir; istismar kodu içermez.
Zaman çizelgesi
Yayından bugüne: kavram kanıtı, Metasploit modülü, CISA KEV ve düzeltme kaydı. Tarihler kaynakların bildirdiği tarihlerdir.
Yayın dışında tarihli olay yok.
Ulusal bildirim (Siber Güvenlik Başkanlığı / USOM)
Bu kaydı anan resmi güvenlik bildirimleri; çözüm önerisi kurumun sayfasında.
- TR-20-273 · 27 Nis 2020(Kubernetes Zafiyeti)
Bu kayıtta yok: EPSS geçmişi · yama commit'i ya da PR bağlantısı · araştırmacı kredisi · varyant ya da zincir adayı · herkese açık ödül programı.
Teknik detay
Saldırı koşulları
- İnternetten erişebilen herkes tetikleyebilir.
- Hesap ya da parola gerekmez.
- Kullanıcının bir şey yapması gerekmez.
- Zamanlama ya da yapılandırma gibi özel koşullar gerekir.
Başarılı olursa
- Gizlilik
- yüksek · veriler okunabilir
- Bütünlük
- yüksek · veri ya da yapılandırma değiştirilebilir
- Erişilebilirlik
- yüksek · hizmet durdurulabilir
- Saldırı vektörü
- Ağ
- Karmaşıklık
- Yüksek
- Gereken yetki
- Yok
- Kullanıcı etkileşimi
- Gerekmez
- Kapsam
- Değişmez
- Gizlilik etkisi
- Yüksek
- Bütünlük etkisi
- Yüksek
- Erişilebilirlik etkisi
- Yüksek
Zayıflık sınıfı (CWE)
CWE-20 · Improper Input ValidationCVSS vektörü
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H
nvd-primary
Saldırı bağlamı
Bu zafiyet sınıfının (CWE) MITRE CAPEC saldırı desenleri ve ATT&CK teknikleri. Tespit kuralı ve tehdit avı için başlangıç noktası.
Saldırı desenleri (CAPEC)
- Buffer Overflow via Environment VariablesCAPEC-10olasılık: High · High
- Server Side Include (SSI) InjectionCAPEC-101olasılık: High · High
- Cross Zone ScriptingCAPEC-104olasılık: Medium · High
- Command Line Execution through SQL InjectionCAPEC-108olasılık: Low · Very High
- Object Relational Mapping InjectionCAPEC-109olasılık: Low · High
- SQL Injection through SOAP Parameter TamperingCAPEC-110olasılık: High · Very High
- Double EncodingCAPEC-120olasılık: Low · Medium
- Subverting Environment Variable ValuesCAPEC-13olasılık: High · Very High
ATT&CK teknikleri
- Obfuscated Files or InformationT1027
- Masquerading: Invalid Code SignatureT1036.001
- Steal Web Session CookieT1539
- Subvert Trust Controls: Code SigningT1553.002
- Impair Defenses:Impair Command History LoggingT1562.003
- Hijack Execution Flow:Dynamic Linker HijackingT1574.006
- Hijack Execution Flow:Path Interception by PATH Environment VariableT1574.007
Değişiklik günlüğü (1)
- Düzeltme✗ → ✓
Takip ettiğiniz kayıtlarda bu değişiklikler bildirim olarak da gelir. →
Referanslar
Tüm referansları göster (11 daha)Daha az göster
- lists.opensuse.org/opensuse-security-announce/2019-05/msg00060.html
- lists.opensuse.org/opensuse-security-announce/2019-06/msg00011.html
- lists.opensuse.org/opensuse-security-announce/2019-06/msg00015.html
- lists.opensuse.org/opensuse-security-announce/2019-07/msg00010.html
- lists.opensuse.org/opensuse-security-announce/2020-04/msg00041.html
- www.securityfocus.com/bid/106226
- bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16873
- groups.google.com/forum/?pli=1#%21topic/golang-announce/Kw31K8G7Fi0
- lists.debian.org/debian-lts-announce/2021/03/msg00014.html
- lists.debian.org/debian-lts-announce/2021/03/msg00015.html
- security.gentoo.org/glsa/201812-09
Üretici bildirimleri ve resmî kayıtlar. İstismar/PoC bağlantıları bilinçli olarak dışarıda bırakıldı.