Cloning local Git repository by untrusted user allows the untrusted user to modify objects in the cloned repository at will
Git is a revision control system. Prior to versions 2.45.1, 2.44.1, 2.43.4, 2.42.2, 2.41.1, 2.40.2, and 2.39.4, local clones may end up hardlinking files into the target repository's object database when source and target repository reside on the same disk. If the source repository is owned by a different user, then those hardlinked files may be rewritten at any point in time by the untrusted user. Cloning local repositories will cause Git to either copy or hardlink files of the source repository into the target repository. This significantly speeds up such local clones compared to doing a "proper" clone and saves both disk space and compute time. When cloning a repository located on the same disk that is owned by a different user than the current user we also end up creating such hardlinks. These files will continue to be owned and controlled by the potentially-untrusted user and can be rewritten by them at will in the future. The problem has been patched in versions 2.45.1, 2.44.1, 2.43.4, 2.42.2, 2.41.1, 2.40.2, and 2.39.4.
- Yayın
- 14 May 2024
- Güncelleme
- 17 Haz 2026
- EPSS
- %0,5 · 42. yüzdelik
- CWE
- CWE-281
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
13
İzleyin
Şimdilik düşük öncelik.
- CVSS
- 13 / 40 · 3.3 / 10
- CISA KEV
- 0 / 30 · Listede değil
- EPSS
- 0 / 30 · %0,5
CISA SSVC kararı
- Sömürü
- yok
- Otomatikleştirilebilir
- hayır
- Teknik etki
- kısmi
Vulnrichment: CISA'nın karar ağacı girdileri.
CNA ile NVD puanı
- NVD
- 3,3
- CNA · GitHub_M
- 3,9
- 0,6 puan fark
CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:N/I:L/A:L
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 |
|---|---|---|
| git-scm | git | cpe:2.3:a:git-scm:git |
| 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.
- fedoraproject fedora40
- git-scm git2.40.0 ve sonrası · 2.40.2 öncesi
- git-scm git2.42.0 ve sonrası · 2.42.2 öncesi
- git-scm git2.43.0 ve sonrası · 2.43.4 öncesi
- git-scm git2.39.4 öncesi
- git-scm git2.41.0
- git-scm git2.44.0
- git-scm git2.45.0
Ü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.45.0, = 2.44.0, >= 2.43.0, < 2.43.4, >= 2.42.0, < 2.42.2, = 2.41.0, >= 2.40.0, < 2.40.2, < 2.39.4etkilenir
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 |
|---|---|---|---|
| AlmaLinux:8 | git | 2.43.5-1.el8_10 öncesi | 2.43.5-1.el8_10 |
| AlmaLinux:8 | git-all | 2.43.5-1.el8_10 öncesi | 2.43.5-1.el8_10 |
| AlmaLinux:8 | git-core | 2.43.5-1.el8_10 öncesi | 2.43.5-1.el8_10 |
| AlmaLinux:8 | git-core-doc | 2.43.5-1.el8_10 öncesi | 2.43.5-1.el8_10 |
| AlmaLinux:8 | git-credential-libsecret | 2.43.5-1.el8_10 öncesi | 2.43.5-1.el8_10 |
| AlmaLinux:8 | git-daemon | 2.43.5-1.el8_10 öncesi | 2.43.5-1.el8_10 |
| AlmaLinux:8 | git-email | 2.43.5-1.el8_10 öncesi | 2.43.5-1.el8_10 |
| AlmaLinux:8 | git-gui | 2.43.5-1.el8_10 öncesi | 2.43.5-1.el8_10 |
| AlmaLinux:8 | git-instaweb | 2.43.5-1.el8_10 öncesi | 2.43.5-1.el8_10 |
| AlmaLinux:8 | git-subtree | 2.43.5-1.el8_10 öncesi | 2.43.5-1.el8_10 |
| AlmaLinux:8 | git-svn | 2.43.5-1.el8_10 öncesi | 2.43.5-1.el8_10 |
| AlmaLinux:8 | gitk | 2.43.5-1.el8_10 öncesi | 2.43.5-1.el8_10 |
| AlmaLinux:8 | gitweb | 2.43.5-1.el8_10 öncesi | 2.43.5-1.el8_10 |
| AlmaLinux:8 | perl-Git | 2.43.5-1.el8_10 öncesi | 2.43.5-1.el8_10 |
| AlmaLinux:8 | perl-Git-SVN | 2.43.5-1.el8_10 öncesi | 2.43.5-1.el8_10 |
| AlmaLinux:9 | git | 2.43.5-1.el9_4 öncesi | 2.43.5-1.el9_4 |
| AlmaLinux:9 | git-all | 2.43.5-1.el9_4 öncesi | 2.43.5-1.el9_4 |
| AlmaLinux:9 | git-core | 2.43.5-1.el9_4 öncesi | 2.43.5-1.el9_4 |
| AlmaLinux:9 | git-core-doc | 2.43.5-1.el9_4 öncesi | 2.43.5-1.el9_4 |
| AlmaLinux:9 | git-credential-libsecret | 2.43.5-1.el9_4 öncesi | 2.43.5-1.el9_4 |
| AlmaLinux:9 | git-daemon | 2.43.5-1.el9_4 öncesi | 2.43.5-1.el9_4 |
| AlmaLinux:9 | git-email | 2.43.5-1.el9_4 öncesi | 2.43.5-1.el9_4 |
| AlmaLinux:9 | git-gui | 2.43.5-1.el9_4 öncesi | 2.43.5-1.el9_4 |
| AlmaLinux:9 | git-instaweb | 2.43.5-1.el9_4 öncesi | 2.43.5-1.el9_4 |
+82
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 |
|---|---|---|
| almalinux:git | 2.43.5-1.el9_4 · AlmaLinux:9 | Paket deposu (OSV) |
| almalinux:git-all | 2.43.5-1.el9_4 · AlmaLinux:9 | Paket deposu (OSV) |
| almalinux:git-core | 2.43.5-1.el9_4 · AlmaLinux:9 | Paket deposu (OSV) |
| almalinux:git-core-doc | 2.43.5-1.el9_4 · AlmaLinux:9 | Paket deposu (OSV) |
| almalinux:git-credential-libsecret | 2.43.5-1.el9_4 · AlmaLinux:9 | Paket deposu (OSV) |
| almalinux:git-daemon | 2.43.5-1.el9_4 · AlmaLinux:9 | Paket deposu (OSV) |
| almalinux:git-email | 2.43.5-1.el9_4 · AlmaLinux:9 | Paket deposu (OSV) |
| almalinux:git-gui | 2.43.5-1.el9_4 · AlmaLinux:9 | Paket deposu (OSV) |
| almalinux:git-instaweb | 2.43.5-1.el9_4 · AlmaLinux:9 | Paket deposu (OSV) |
| almalinux:git-subtree | 2.43.5-1.el9_4 · AlmaLinux:9 | Paket deposu (OSV) |
| almalinux:git-svn | 2.43.5-1.el9_4 · AlmaLinux:9 | Paket deposu (OSV) |
| almalinux:gitk | 2.43.5-1.el9_4 · AlmaLinux:9 | Paket deposu (OSV) |
| alpine:git | 2.39.5-r0 · Alpine:v3.17 | Paket deposu (OSV) |
| debian:git | 1:2.39.5-0+deb12u1 · Debian:12 | Paket deposu (OSV) |
| opensuse:git | 2.35.3-150300.10.39.1 · openSUSE:Leap 15.5 | Paket deposu (OSV) |
| red hat:git | 0:2.43.5-1.el9_4 · Red Hat:enterprise_linux:9::appstream | Paket deposu (OSV) |
| red hat:git-all | 0:2.43.5-1.el9_4 · Red Hat:enterprise_linux:9::appstream | Paket deposu (OSV) |
| red hat:git-core | 0:2.43.5-1.el9_4 · Red Hat:enterprise_linux:9::appstream | Paket deposu (OSV) |
| red hat:git-core-debuginfo | 0:2.43.5-1.el9_4 · Red Hat:enterprise_linux:9::appstream | Paket deposu (OSV) |
| red hat:git-core-doc | 0:2.43.5-1.el9_4 · Red Hat:enterprise_linux:9::appstream | Paket deposu (OSV) |
| red hat:git-credential-libsecret | 0:2.43.5-1.el9_4 · Red Hat:enterprise_linux:9::appstream | Paket deposu (OSV) |
| red hat:git-credential-libsecret-debuginfo | 0:2.43.5-1.el9_4 · Red Hat:enterprise_linux:9::appstream | Paket deposu (OSV) |
| red hat:git-daemon | 0:2.43.5-1.el9_4 · Red Hat:enterprise_linux:9::appstream | Paket deposu (OSV) |
| red hat:git-daemon-debuginfo | 0:2.43.5-1.el9_4 · Red Hat:enterprise_linux:9::appstream | Paket deposu (OSV) |
| red hat:git-debuginfo | 0:2.43.5-1.el9_4 · Red Hat:enterprise_linux:9::appstream | Paket deposu (OSV) |
| red hat:git-debugsource | 0:2.43.5-1.el9_4 · Red Hat:enterprise_linux:9::appstream | Paket deposu (OSV) |
| red hat:git-email | 0:2.43.5-1.el9_4 · Red Hat:enterprise_linux:9::appstream | Paket deposu (OSV) |
| rocky linux:git | 0:2.43.5-1.el9_4 · Rocky Linux:9 | Paket deposu (OSV) |
| suse:git | 2.35.3-150300.10.39.1 · SUSE:Linux Enterprise Micro 5.5 | 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).
Teknik detay
Saldırı koşulları
- Sisteme yerel erişimi olan biri tetikleyebilir.
- Hesap ya da parola gerekmez.
- Bir kullanıcının bağlantıyı açması ya da sayfayı ziyaret etmesi gerekir.
- Özel bir koşul gerekmez; tekrarlanabilir.
Başarılı olursa
- Gizlilik
- yok
- Bütünlük
- düşük · veri ya da yapılandırma değiştirilebilir
- Erişilebilirlik
- yok
- Saldırı vektörü
- Yerel
- Karmaşıklık
- Düşük
- Gereken yetki
- Yok
- Kullanıcı etkileşimi
- Gerekir
- Kapsam
- Değişmez
- Gizlilik etkisi
- Yok
- Bütünlük etkisi
- Düşük
- Erişilebilirlik etkisi
- Yok
Zayıflık sınıfı (CWE)
CWE-281 · Improper Preservation of PermissionsCVSS vektörü
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:L/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ı.
Bu CWE için MITRE'de CAPEC/ATT&CK eşlemesi yok.
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
- www.openwall.com/lists/oss-security/2024/05/14/2
- github.com/git/git/commit/1204e1a824c34071019fe106348eaa6d88f9528d
- github.com/git/git/commit/9e65df5eab274bf74c7b570107aacd1303a1e703
- lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/S4CK4IYTXEOBZTEM5K3T6LWOIZ3S44AR/
Üretici bildirimleri ve resmî kayıtlar. İstismar/PoC bağlantıları bilinçli olarak dışarıda bırakıldı.