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 o
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 of a malicious Go package which contains curly braces (both '{' and '}' characters). 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). The attacker can cause an arbitrary filesystem write, which can lead to code execution.
- BDU:2020-01888
- DLA-2591-1
- DLA-2592-1
- GO-2022-0190
- 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
- %5,0 · 92. yüzdelik
- CWE
- CWE-20
Takip etmek için giriş yap · Takip ettiğin kayıt KEV’e girer, istismarı çıkar ya da güncellenirse bildirim alırsın.
Rapor araçları
Aksiyon skoru
34
İzleyin
Şimdilik düşük öncelik.
- CVSS
- 32 / 40 · 8.1 / 10
- CISA KEV
- 0 / 30 · Listede değil
- EPSS
- 2 / 30 · %5,0
CNA ile NVD puanı
- NVD
- 8,1
- CNA · redhat
- 6,8
- 1,3 puan fark
CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
Kaydı açan otoritenin puanı ile NVD’nin bağımsız puanı. İki puan arasındaki fark ciddiyetin tartışmalı olduğunu gösterir.
Etkilenen sistemler
| Ü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 |
Etkilenen sürümler
NVD sürüm aralıkları (katalogdaki ürünler için). Stack’ine sürümle eklersen 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
Ü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
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-2018-16873In 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 and52Planlayı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 GOARCH42Planlayı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 applica42Planlayın
- CVE-2015-5739The net/http library in net/textproto/reader.go in Go before 1.4.3 does not properly parse HTTP header keys, which allows remote attackers t42Planlayın
- CVE-2017-15041Go before 1.8.4 and 1.9.x before 1.9.1 allows "go get" remote command execution.42Planlayın
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.
FIRST EPSS günlük puanı; yalnızca 0,01 ve üstü değişimler kaydedilir (adım grafiği).
Yama ve commit bağlantıları
Referanslardaki commit, PR ve diff adresleri. Patch-diff ve varyant avı için başlangıç noktası; istismar değil, düzeltmedir.
Referanslarda commit ya da PR bağlantısı yok.
Kredi
Tüm araştırmacılarCNA kaydında adı geçen bulan, bildiren ve analistler. Ada tıkla, aynı araştırmacının diğer kayıtlarını gör.
CNA kaydında kredi yok.
Varyant adayları
Aynı üründe aynı zafiyet sınıfı, 18 ay içinde. Yama kök nedeni kapatmadıysa kardeş hata burada olur.
Gece hesaplanan ilişki yok.
Zincir adayları
Aynı üründe kimlik doğrulama atlatma ile yetki isteyen bir açık kısa aralıkla yayımlanmış: birlikte kimlik doğrulamasız bir yola dönüşebilir.
—
Bug bounty kapsamı
Bilinen herkese açık program yok.
Kaynak: bounty-targets-data (HackerOne, Bugcrowd, Intigriti, YesWeHack herkese açık listeleri).
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
Noroxi analizi
Bu kayıt için henüz Noroxi analizi yok
385 binden fazla zafiyetin tamamına elle analiz yazmıyoruz; bu dürüst olmazdı. Öne çıkan ve sahada etkisi olan zafiyetler için mekanizma, tespit ve kapatma adımlarını ekibimiz yazıyor.
Bu ürünü kullanıyoruz, yardım isteyinDeğişiklik günlüğü
- Düzeltme✗ → ✓
Takip ettiğiniz kayıtlarda bu değişiklikler bildirim olarak da gelir. →
Referanslar
- lists.opensuse.org/opensuse-security-announce/2019-03/msg00044.html
- 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/106228
- bugzilla.redhat.com/show_bug.cgi?id=CVE-2018-16874
- 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ı.