Malicious URLs can still cause Git to send a stored credential 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. This bug is similar to CVE-2020-5260(GHSA-qm7j-c969-7j4q). The fix for that bug still left the door open for an exploit where _some_ credential is leaked (but the attacker cannot control which one). 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 are considered illegal as of the recently published Git versions can cause Git to send a "blank" pattern to helpers, missing hostname and protocol fields. Many helpers will interpret this as matching _any_ URL, and will return some unspecified stored password, leaking the password to an attacker's server. 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 root of the problem is in Git itself, which should not be feeding blank input to helpers. However, the ability to exploit the vulnerability in practice depends on which helpers are in use. Credential helpers which are known to trigger the vulnerability: - Git's "store" helper - Git's "cache" helper - the "osxkeychain" helper that ships in Git's "contrib" directory Credential helpers which are known to be safe even with vulnerable versions of Git: - Git Credential Manager for Windows Any helper not in this list should be assumed to trigger the vulnerability.
- Yayın
- 21 Nis 2020
- Güncelleme
- 16 Haz 2026
- EPSS
- %3,9 · 90. 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
31
İzleyin
Şimdilik düşük öncelik.
- CVSS
- 30 / 40 · 7.5 / 10
- CISA KEV
- 0 / 30 · Listede değil
- EPSS
- 1 / 30 · %3,9
CNA ile NVD puanı
- NVD
- 7,5
- CNA · GitHub_M
- 4,0
- 3,5 puan fark
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:N/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-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 |
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 linux8.0
- fedoraproject fedora31
- fedoraproject fedora32
- git-scm git2.23.0 ve sonrası · 2.23.3 öncesi
- git-scm git2.24.0 ve sonrası · 2.24.3 öncesi
- git-scm git2.17.5 öncesi
- git-scm git2.26.0 ve sonrası · 2.26.2 öncesi
- git-scm git2.25.0 ve sonrası · 2.25.4 öncesi
- git-scm git2.18.0 ve sonrası · 2.18.4 öncesi
- git-scm git2.19.0 ve sonrası · 2.19.5 öncesi
- git-scm git2.20.0 ve sonrası · 2.20.4 öncesi
- git-scm git2.21.0 ve sonrası · 2.21.3 öncesi
- git-scm git2.22.0 ve sonrası · 2.22.4 öncesi
Ü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.5, >= 2.18.0, < 2.18.4, >= 2.19.0, 2.19.5, >= 2.20.0, < 2.20.4, >= 2.21.0, < 2.21.3, >= 2.22.0, < 2.22.4, >= 2.23.0, < 2.23.3, >= 2.24.0, < 2.24.3, >= 2.25.0, < 2.25.4, >= 2.26.0, < 2.26.2etkilenir
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.18.0 itibarıyla · 2.22.4-r0 öncesi | 2.22.4-r0 |
| Alpine:v3.11 | git | 2.18.0 itibarıyla · 2.24.3-r0 öncesi | 2.24.3-r0 |
| Alpine:v3.12 | git | 2.18.0 itibarıyla · 2.26.2-r0 öncesi | 2.26.2-r0 |
| Alpine:v3.8 | git | 2.18.0 itibarıyla · 2.18.4-r0 öncesi | 2.18.4-r0 |
| Alpine:v3.9 | git | 2.18.0 itibarıyla · 2.20.4-r0 öncesi | 2.20.4-r0 |
| Debian:10 | git | 1:2.20.1-2+deb10u3 öncesi | 1:2.20.1-2+deb10u3 |
| Debian:12 | git | 1:2.26.2-1 öncesi | 1:2.26.2-1 |
| Debian:8 | git | 1:2.1.4-2.1+deb8u10 öncesi | 1:2.1.4-2.1+deb8u10 |
| Debian:9 | git | 1:2.11.0-3+deb9u7 öncesi | 1:2.11.0-3+deb9u7 |
| openSUSE:Leap 15.1 | git | 2.26.1-lp151.4.9.1 öncesi | 2.26.1-lp151.4.9.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-23.el7_8 öncesi | 0:1.8.3.1-23.el7_8 |
| Red Hat:enterprise_linux:7::client | emacs-git-el | 0:1.8.3.1-23.el7_8 öncesi | 0:1.8.3.1-23.el7_8 |
| Red Hat:enterprise_linux:7::client | git | 0:1.8.3.1-23.el7_8 öncesi | 0:1.8.3.1-23.el7_8 |
| Red Hat:enterprise_linux:7::client | git-all | 0:1.8.3.1-23.el7_8 öncesi | 0:1.8.3.1-23.el7_8 |
| Red Hat:enterprise_linux:7::client | git-bzr | 0:1.8.3.1-23.el7_8 öncesi | 0:1.8.3.1-23.el7_8 |
| Red Hat:enterprise_linux:7::client | git-cvs | 0:1.8.3.1-23.el7_8 öncesi | 0:1.8.3.1-23.el7_8 |
| Red Hat:enterprise_linux:7::client | git-daemon | 0:1.8.3.1-23.el7_8 öncesi | 0:1.8.3.1-23.el7_8 |
| Red Hat:enterprise_linux:7::client | git-debuginfo | 0:1.8.3.1-23.el7_8 öncesi | 0:1.8.3.1-23.el7_8 |
| Red Hat:enterprise_linux:7::client | git-email | 0:1.8.3.1-23.el7_8 öncesi | 0:1.8.3.1-23.el7_8 |
| Red Hat:enterprise_linux:7::client | git-gnome-keyring | 0:1.8.3.1-23.el7_8 öncesi | 0:1.8.3.1-23.el7_8 |
| Red Hat:enterprise_linux:7::client | git-gui | 0:1.8.3.1-23.el7_8 öncesi | 0:1.8.3.1-23.el7_8 |
| Red Hat:enterprise_linux:7::client | git-hg | 0:1.8.3.1-23.el7_8 öncesi | 0:1.8.3.1-23.el7_8 |
| Red Hat:enterprise_linux:7::client | git-instaweb | 0:1.8.3.1-23.el7_8 öncesi | 0:1.8.3.1-23.el7_8 |
+96
Aynı üründe
git-scm: tüm kayıtlarAynı birincil ürünün en yüksek skorlu diğer kayıtları.
- CVE-2018-17456Git before 2.14.5, 2.15.x before 2.15.3, 2.16.x before 2.16.5, 2.17.x before 2.17.2, 2.18.x before 2.18.1, and 2.19.x before 2.19.1 allows r68Bu hafta
- CVE-2025-48384Git allows arbitrary code execution through broken config quotingKEV63Bu hafta
- CVE-2017-1000117A malicious third-party can give a crafted "ssh://..." URL to an unsuspecting victim, and an attempt to visit the URL can result in any prog58Planlayın
- CVE-2021-21300malicious repositories can execute remote code while cloning57Planlayın
- CVE-2022-23521gitattributes parsing integer overflow in git56Planlayın
- CVE-2022-41903Integer overflow in `git archive`, `git log --format` leading to RCE in git52Planlayı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 |
|---|---|---|
| alpine:git | 2.22.4-r0 · Alpine:v3.10 | Paket deposu (OSV) |
| debian:git | 1:2.26.2-1 · Debian:12 | Paket deposu (OSV) |
| opensuse:git | 2.26.1-lp151.4.9.1 · openSUSE:Leap 15.1 | Paket deposu (OSV) |
| red hat:rh-git218-git | 0:2.18.4-1.el7 · Red Hat:rhel_software_collections:3::el7 | Paket deposu (OSV) |
| red hat:rh-git218-git-all | 0:2.18.4-1.el7 · Red Hat:rhel_software_collections:3::el7 | Paket deposu (OSV) |
| red hat:rh-git218-git-core | 0:2.18.4-1.el7 · Red Hat:rhel_software_collections:3::el7 | Paket deposu (OSV) |
| red hat:rh-git218-git-core-doc | 0:2.18.4-1.el7 · Red Hat:rhel_software_collections:3::el7 | Paket deposu (OSV) |
| red hat:rh-git218-git-cvs | 0:2.18.4-1.el7 · Red Hat:rhel_software_collections:3::el7 | Paket deposu (OSV) |
| red hat:rh-git218-git-daemon | 0:2.18.4-1.el7 · Red Hat:rhel_software_collections:3::el7 | Paket deposu (OSV) |
| red hat:rh-git218-git-debuginfo | 0:2.18.4-1.el7 · Red Hat:rhel_software_collections:3::el7 | Paket deposu (OSV) |
| red hat:rh-git218-git-email | 0:2.18.4-1.el7 · Red Hat:rhel_software_collections:3::el7 | Paket deposu (OSV) |
| red hat:rh-git218-git-gui | 0:2.18.4-1.el7 · Red Hat:rhel_software_collections:3::el7 | Paket deposu (OSV) |
| red hat:rh-git218-git-instaweb | 0:2.18.4-1.el7 · Red Hat:rhel_software_collections:3::el7 | Paket deposu (OSV) |
| red hat:rh-git218-git-p4 | 0:2.18.4-1.el7 · Red Hat:rhel_software_collections:3::el7 | Paket deposu (OSV) |
| red hat:rh-git218-git-subtree | 0:2.18.4-1.el7 · Red Hat:rhel_software_collections:3::el7 | Paket deposu (OSV) |
| suse:git | 2.26.1-3.25.2 · SUSE:Linux Enterprise Module for Basesystem 15 SP1 | 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.
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-905 · 30 Eki 2020(OpenShift Güvenlik Güncellemesi)
- TR-20-300 · 4 May 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-05/msg00003.html
- seclists.org/fulldisclosure/2020/May/41
- github.com/git/git/commit/c44088ecc4b0722636e0a305f9608d3047197282
- github.com/git/git/security/advisories/GHSA-hjc9-x69f-jqj7
- github.com/git/git/security/advisories/GHSA-qm7j-c969-7j4q
- lists.debian.org/debian-lts-announce/2020/04/msg00015.html
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/74Q7WVJ6FKLIN62VS2JD2XCNWK5TNKOW/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MOCTR2SEHCPSCOVUQJAGFPGKFMI2VE6V/
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/PN3FUOXKX3AXTULYV53ACABER2W2FSOU/
- security.gentoo.org/glsa/202004-13
- support.apple.com/kb/HT211183
- usn.ubuntu.com/4334-1/
Üretici bildirimleri ve resmî kayıtlar. İstismar/PoC bağlantıları bilinçli olarak dışarıda bırakıldı.