malicious URLs may cause Git to present stored credentials to the wrong server
Affected versions of Git have a vulnerability whereby Git can be tricked into sending private credentials to a host controlled by an attacker. Git uses external "credential helper" programs to store and retrieve passwords or other credentials from secure storage provided by the operating system. Specially-crafted URLs that contain an encoded newline can inject unintended values into the credential helper protocol stream, causing the credential helper to retrieve the password for one server (e.g., good.example.com) for an HTTP request being made to another server (e.g., evil.example.com), resulting in credentials for the former being sent to the latter. There are no restrictions on the relationship between the two, meaning that an attacker can craft a URL that will present stored credentials for any host to a host of their choosing. The vulnerability can be triggered by feeding a malicious URL to git clone. However, the affected URLs look rather suspicious; the likely vector would be through systems which automatically clone URLs not visible to the user, such as Git submodules, or package systems built around Git. The problem has been patched in the versions published on April 14th, 2020, going back to v2.17.x. Anyone wishing to backport the change further can do so by applying commit 9a6bbee (the full release includes extra checks for git fsck, but that commit is sufficient to protect clients against the vulnerability). The patched versions are: 2.17.4, 2.18.3, 2.19.4, 2.20.3, 2.21.2, 2.22.3, 2.23.2, 2.24.2, 2.25.3, 2.26.1.
- Yayın
- 14 Nis 2020
- Güncelleme
- 16 Haz 2026
- EPSS
- %10,0 · 96. 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
33
İzleyin
Şimdilik düşük öncelik.
- CVSS
- 30 / 40 · 7.5 / 10
- CISA KEV
- 0 / 30 · Listede değil
- EPSS
- 3 / 30 · %10,0
CNA ile NVD puanı
- NVD
- 7,5
- CNA · GitHub_M
- 9,3
- 1,8 puan fark
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/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.
Noroxi analizi
Bu kayıt için henüz Noroxi analizi yok
Veritabanındaki yüz binlerce 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 isteyinEtkilenen sistemler
| Üretici | Ürün | CPE |
|---|---|---|
| git | git | cpe:2.3:a:git:git |
| git-scm | git | cpe:2.3:a:git-scm:git |
| canonical | ubuntu linux | cpe:2.3:o:canonical:ubuntu_linux |
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
| fedoraproject | fedora | cpe:2.3:o:fedoraproject:fedora |
| opensuse | leap | cpe:2.3:o:opensuse:leap |
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.
- canonical ubuntu linux16.04
- canonical ubuntu linux18.04
- canonical ubuntu linux19.10
- debian debian linux10.0
- debian debian linux8.0
- debian debian linux9.0
- fedoraproject fedora30
- fedoraproject fedora31
- fedoraproject fedora32
- git git2.17.4 öncesi
- git git2.22.0 ve sonrası · 2.22.3 öncesi
- git-scm git2.26.0 ve sonrası · 2.26.1 öncesi
- git-scm git2.25.0 ve sonrası · 2.25.3 öncesi
- git-scm git2.24.0 ve sonrası · 2.24.2 öncesi
- git-scm git2.23.0 ve sonrası · 2.23.2 öncesi
- git-scm git2.21.0 ve sonrası · 2.21.2 öncesi
- git-scm git2.20.0 ve sonrası · 2.20.3 öncesi
- git-scm git2.19.0 ve sonrası · 2.19.4 öncesi
- git-scm git2.18.0 ve sonrası · 2.18.3 öncesi
- opensuse leap15.1
Üreticinin bildirdiği sürümler
Kaydı açan otorite (GitHub_M) tarafından bildirilen etkilenen sürüm aralıkları. NVD'nin CPE analizinden bağımsızdır ve genellikle ondan önce gelir.
git git
- < 2.17.4, >= 2.18.0, < 2.18.3, >= 2.19.0, 2.19.4, >= 2.20.0, < 2.20.3, >= 2.21.0, < 2.21.2, >= 2.22.0, < 2.22.3, >= 2.23.0, < 2.23.2, >= 2.24.0, < 2.24.2, >= 2.25.0, < 2.25.3, >= 2.26.0, < 2.26.1etkilenir
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 |
|---|---|---|---|
| Alpine:v3.10 | git | 2.22.0 itibarıyla · 2.22.3-r0 öncesi | 2.22.3-r0 |
| Alpine:v3.11 | git | 2.22.0 itibarıyla · 2.24.2-r0 öncesi | 2.24.2-r0 |
| Alpine:v3.12 | git | 2.22.0 itibarıyla · 2.26.1-r0 öncesi | 2.26.1-r0 |
| Alpine:v3.8 | git | 2.22.0 itibarıyla · 2.18.3-r0 öncesi | 2.18.3-r0 |
| Alpine:v3.9 | git | 2.22.0 itibarıyla · 2.20.3-r0 öncesi | 2.20.3-r0 |
| Debian:10 | git | 1:2.20.1-2+deb10u2 öncesi | 1:2.20.1-2+deb10u2 |
| Debian:12 | git | 1:2.26.1-1 öncesi | 1:2.26.1-1 |
| Debian:8 | git | 1:2.1.4-2.1+deb8u9 öncesi | 1:2.1.4-2.1+deb8u9 |
| Debian:9 | git | 1:2.11.0-3+deb9u6 öncesi | 1:2.11.0-3+deb9u6 |
| openSUSE:Leap 15.1 | git | 2.26.1-lp151.4.9.1 öncesi | 2.26.1-lp151.4.9.1 |
| openSUSE:Leap 15.1 | git | 2.16.4-lp151.4.6.1 öncesi | 2.16.4-lp151.4.6.1 |
| openSUSE:Tumbleweed | git | 2.33.0-1.3 öncesi | 2.33.0-1.3 |
| Red Hat:enterprise_linux:7::client | emacs-git | 0:1.8.3.1-22.el7_8 öncesi | 0:1.8.3.1-22.el7_8 |
| Red Hat:enterprise_linux:7::client | emacs-git-el | 0:1.8.3.1-22.el7_8 öncesi | 0:1.8.3.1-22.el7_8 |
| Red Hat:enterprise_linux:7::client | git | 0:1.8.3.1-22.el7_8 öncesi | 0:1.8.3.1-22.el7_8 |
| Red Hat:enterprise_linux:7::client | git-all | 0:1.8.3.1-22.el7_8 öncesi | 0:1.8.3.1-22.el7_8 |
| Red Hat:enterprise_linux:7::client | git-bzr | 0:1.8.3.1-22.el7_8 öncesi | 0:1.8.3.1-22.el7_8 |
| Red Hat:enterprise_linux:7::client | git-cvs | 0:1.8.3.1-22.el7_8 öncesi | 0:1.8.3.1-22.el7_8 |
| Red Hat:enterprise_linux:7::client | git-daemon | 0:1.8.3.1-22.el7_8 öncesi | 0:1.8.3.1-22.el7_8 |
| Red Hat:enterprise_linux:7::client | git-debuginfo | 0:1.8.3.1-22.el7_8 öncesi | 0:1.8.3.1-22.el7_8 |
| Red Hat:enterprise_linux:7::client | git-email | 0:1.8.3.1-22.el7_8 öncesi | 0:1.8.3.1-22.el7_8 |
| Red Hat:enterprise_linux:7::client | git-gnome-keyring | 0:1.8.3.1-22.el7_8 öncesi | 0:1.8.3.1-22.el7_8 |
| Red Hat:enterprise_linux:7::client | git-gui | 0:1.8.3.1-22.el7_8 öncesi | 0:1.8.3.1-22.el7_8 |
| Red Hat:enterprise_linux:7::client | git-hg | 0:1.8.3.1-22.el7_8 öncesi | 0:1.8.3.1-22.el7_8 |
+87
Aynı üründe
git: tüm kayıtlarAynı birincil ürünün en yüksek skorlu diğer kayıtları.
- CVE-2024-32002Git's recursive clones on case-insensitive filesystems that support symlinks are susceptible to Remote Code Execution45Planlayın
- CVE-2022-25648The package git before 1.11.0 are vulnerable to Command Injection via git argument injection.40Planlayın
- CVE-2025-48385Git alllows arbitrary file writes via bundle-uri parameter injection34İzleyin
- CVE-2008-5517The web interface in git (gitweb) 1.5.x before 1.5.6 allows remote attackers to execute arbitrary commands via shell metacharacters related 34İzleyin
- CVE-2008-5516The web interface in git (gitweb) 1.5.x before 1.5.5 allows remote attackers to execute arbitrary commands via shell metacharacters related 31İzleyin
- CVE-2008-3546Stack-based buffer overflow in the (1) diff_addremove and (2) diff_change functions in GIT before 1.5.6.4 might allow local users to execute31İ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 |
|---|---|---|
| alpine:git | 2.22.3-r0 · Alpine:v3.10 | Paket deposu (OSV) |
| debian:git | 1:2.26.1-1 · Debian:12 | Paket deposu (OSV) |
| opensuse:git | 2.16.4-lp151.4.6.1 · openSUSE:Leap 15.1 | Paket deposu (OSV) |
| red hat:rh-git218-git | 0:2.18.2-3.el7 · Red Hat:rhel_software_collections:3::el7 | Paket deposu (OSV) |
| red hat:rh-git218-git-all | 0:2.18.2-3.el7 · Red Hat:rhel_software_collections:3::el7 | Paket deposu (OSV) |
| red hat:rh-git218-git-core | 0:2.18.2-3.el7 · Red Hat:rhel_software_collections:3::el7 | Paket deposu (OSV) |
| red hat:rh-git218-git-core-doc | 0:2.18.2-3.el7 · Red Hat:rhel_software_collections:3::el7 | Paket deposu (OSV) |
| red hat:rh-git218-git-cvs | 0:2.18.2-3.el7 · Red Hat:rhel_software_collections:3::el7 | Paket deposu (OSV) |
| red hat:rh-git218-git-daemon | 0:2.18.2-3.el7 · Red Hat:rhel_software_collections:3::el7 | Paket deposu (OSV) |
| red hat:rh-git218-git-debuginfo | 0:2.18.2-3.el7 · Red Hat:rhel_software_collections:3::el7 | Paket deposu (OSV) |
| red hat:rh-git218-git-email | 0:2.18.2-3.el7 · Red Hat:rhel_software_collections:3::el7 | Paket deposu (OSV) |
| red hat:rh-git218-git-gui | 0:2.18.2-3.el7 · Red Hat:rhel_software_collections:3::el7 | Paket deposu (OSV) |
| red hat:rh-git218-git-instaweb | 0:2.18.2-3.el7 · Red Hat:rhel_software_collections:3::el7 | Paket deposu (OSV) |
| red hat:rh-git218-git-p4 | 0:2.18.2-3.el7 · Red Hat:rhel_software_collections:3::el7 | Paket deposu (OSV) |
| red hat:rh-git218-git-subtree | 0:2.18.2-3.el7 · Red Hat:rhel_software_collections:3::el7 | Paket deposu (OSV) |
| suse:git | 2.16.4-3.20.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP1 | Paket deposu (OSV) |
| suse:pcre2 | 10.34-1.3.1 · SUSE:HPE Helion OpenStack 8 | Paket deposu (OSV) |
| suse:perl-CGI | 4.38-1.3.1 · SUSE:HPE Helion OpenStack 8 | Paket deposu (OSV) |
İstismar durumu
Kavram kanıtı mevcut
Kamuya açık bir kavram kanıtı ya da tespit imzası var. İstismar bilgisi dışarıda; yamayı geciktirmeyin.
Kanıt
- GitHub’da kavram kanıtı deposu ×3
Noroxi istismar kodu barındırmaz ve istismar bağlantısı vermez. Metasploit modül adı ve Nuclei şablon kimliği gösterilir (kod değil, ad); Exploit-DB kayıtları ve PoC depoları yalnızca sayı olarak verilir.
| Kaynak | Tür | Tarih |
|---|---|---|
| GitHub’da kavram kanıtı deposu | stars:37 | 2020-04-15 |
| GitHub’da kavram kanıtı deposu | stars:0 | 2020-04-15 |
| GitHub’da kavram kanıtı deposu | stars:11 | 2020-04-16 |
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
- İlk kavram kanıtıaynı gün
- Bugün10 Eki 2026+2370 gün
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.
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).
Ulusal bildirim (Siber Güvenlik Başkanlığı / USOM)
Bu kaydı anan resmi güvenlik bildirimleri; çözüm önerisi kurumun sayfasında.
- TR-20-625 · 20 Ağu 2020(Foxit Güvenlik Güncellemesi)
- TR-20-237 · 15 Nis 2020(Git Güvenlik Güncellemesi Yayınladı)
Teknik detay
Saldırı koşulları
- İnternetten erişebilen herkes tetikleyebilir.
- Hesap ya da parola gerekmez.
- Kullanıcının bir şey yapması gerekmez.
- Özel bir koşul gerekmez; tekrarlanabilir.
Başarılı olursa
- Gizlilik
- yüksek · veriler okunabilir
- Bütünlük
- yok
- Erişilebilirlik
- yok
- Saldırı vektörü
- Ağ
- Karmaşıklık
- Düşük
- Gereken yetki
- Yok
- Kullanıcı etkileşimi
- Gerekmez
- Kapsam
- Değişmez
- Gizlilik etkisi
- Yüksek
- Bütünlük etkisi
- Yok
- Erişilebilirlik etkisi
- Yok
Zayıflık sınıfı (CWE)
CWE-20 · Improper Input ValidationCVSS vektörü
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
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üğü
- Düzeltme✗ → ✓
Takip ettiğiniz kayıtlarda bu değişiklikler bildirim olarak da gelir. →
Referanslar
- lists.opensuse.org/opensuse-security-announce/2020-04/msg00027.html
- lists.opensuse.org/opensuse-security-announce/2020-05/msg00003.html
- packetstormsecurity.com/files/157250/Git-Credential-Helper-Protocol-Newline-Injection.html
- www.openwall.com/lists/oss-security/2020/04/15/5
- www.openwall.com/lists/oss-security/2020/04/15/6
- www.openwall.com/lists/oss-security/2020/04/20/1
- github.com/git/git/commit/9a6bbee8006c24b46a85d29e7b38cfa79e9ab21b
- github.com/git/git/security/advisories/GHSA-qm7j-c969-7j4q
- lists.debian.org/debian-lts-announce/2020/04/msg00010.html
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/74Q7WVJ6FKLIN62VS2JD2XCNWK5TNKOW/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7TVS5UG6JD3MYIGSBKMIOS6AF7CR5IPI/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MOCTR2SEHCPSCOVUQJAGFPGKFMI2VE6V/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PN3FUOXKX3AXTULYV53ACABER2W2FSOU/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XPCEOIFLLEF24L6GLVJVFZX4CREDEHDF/
- lore.kernel.org/git/xmqqy2qy7xn8.fsf%40gitster.c.googlers.com/
- security.gentoo.org/glsa/202004-13
- support.apple.com/kb/HT211141
- usn.ubuntu.com/4329-1/
- www.debian.org/security/2020/dsa-4657
Üretici bildirimleri ve resmî kayıtlar. İstismar/PoC bağlantıları bilinçli olarak dışarıda bırakıldı.