Cri-o: malicious container can create symlink on host
A flaw was found in cri-o. A malicious container can create a symbolic link to arbitrary files on the host via directory traversal (“../“). This flaw allows the container to read and write to arbitrary files on the host system.
- Yayın
- 12 Haz 2024
- Güncelleme
- 21 Ağu 2026
- EPSS
- %1,2 · 68. yüzdelik
- CWE
- CWE-22
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
32
İzleyin
Şimdilik düşük öncelik.
- CVSS
- 32 / 40 · 8.1 / 10
- CISA KEV
- 0 / 30 · Listede değil
- EPSS
- 0 / 30 · %1,2
CISA SSVC kararı
- Sömürü
- yok
- Otomatikleştirilebilir
- hayır
- Teknik etki
- tam
Vulnrichment: CISA'nın karar ağacı girdileri.
CNA ile NVD puanı
- NVD
- —
- CNA · redhat
- 8,1
- NVD henüz kendi puanını vermedi; gösterilen puan CNA’nı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 |
|---|---|---|
| kubernetes | cri-o | cpe:2.3:a:kubernetes:cri-o |
| redhat | openshift container platform | cpe:2.3:a:redhat:openshift_container_platform |
| redhat | enterprise linux | cpe:2.3:o:redhat:enterprise_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.
- kubernetes cri-o1.28.6
- kubernetes cri-o1.29.4
- kubernetes cri-o1.30.0
- redhat openshift container platform3.11
- redhat openshift container platform4.0
- redhat openshift container platform4.12
- redhat openshift container platform4.13
- redhat openshift container platform4.14
- redhat openshift container platform4.15
Ü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.
github.com/cri-o/cri-o cri-o
- 1.30.0 ve sonrası · 1.30.1 öncesietkilenir · semver
- 1.29.4 ve sonrası · 1.29.5 öncesietkilenir · semver
- 1.28.6 ve sonrası · 1.28.7 öncesietkilenir · semver
Red Hat Red Hat Enterprise Linux 8
- tüm sürümlerbilinmiyor
Red Hat Red Hat Enterprise Linux 9
- tüm sürümlerbilinmiyor
Red Hat Red Hat OpenShift Container Platform 3.11
- tüm sürümlerbilinmiyor
Red Hat Red Hat OpenShift Container Platform 4.12
- 0:1.25.5-21.2.rhaos4.12.gita3eb75f.el8 ve sonrasıetkilenmez · rpm
Red Hat Red Hat OpenShift Container Platform 4.13
- 0:1.26.5-18.2.rhaos4.13.git2e90133.el8 ve sonrasıetkilenmez · rpm
Red Hat Red Hat OpenShift Container Platform 4.14
- 0:1.27.7-3.rhaos4.14.git674563e.el8 ve sonrasıetkilenmez · rpm
Red Hat Red Hat OpenShift Container Platform 4.15
- 0:1.28.7-2.rhaos4.15.git111aec5.el8 ve sonrasıetkilenmez · rpm
Red Hat Red Hat OpenShift Container Platform 4.16
- 0:1.29.5-7.rhaos4.16.git7db4ada.el8 ve sonrasıetkilenmez · rpm
- 0:5.14.0-427.24.1.el9_4 ve sonrasıetkilenmez · rpm
- 0:4.16.0-202406191607.p0.g58452d8.assembly.stream.el8 ve sonrasıetkilenmez · rpm
Red Hat Red Hat OpenShift Container Platform 4.17
- 417.94.202412040832-0 ve sonrasıetkilenmez · rpm
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 |
|---|---|---|---|
| Go | github.com/cri-o/cri-o | 1.28.6 itibarıyla · 1.28.7 öncesi | 1.28.7 |
| Go | github.com/cri-o/cri-o | 1.28.6 itibarıyla · 1.28.7 öncesi | 1.28.7 |
| Go | github.com/cri-o/cri-o | 1.29.4 itibarıyla · 1.29.5 öncesi | 1.29.5 |
| Go | github.com/cri-o/cri-o | 1.29.4 itibarıyla · 1.29.5 öncesi | 1.29.5 |
| Go | github.com/cri-o/cri-o | 1.30.0 itibarıyla · 1.30.1 öncesi | 1.30.1 |
| Go | github.com/cri-o/cri-o | 1.30.0 itibarıyla · 1.30.1 öncesi | 1.30.1 |
| Red Hat:openshift:4.12::el8 | cri-o | 0:1.25.5-21.2.rhaos4.12.gita3eb75f.el8 öncesi | 0:1.25.5-21.2.rhaos4.12.gita3eb75f.el8 |
| Red Hat:openshift:4.12::el8 | cri-o-debuginfo | 0:1.25.5-21.2.rhaos4.12.gita3eb75f.el8 öncesi | 0:1.25.5-21.2.rhaos4.12.gita3eb75f.el8 |
| Red Hat:openshift:4.12::el8 | cri-o-debugsource | 0:1.25.5-21.2.rhaos4.12.gita3eb75f.el8 öncesi | 0:1.25.5-21.2.rhaos4.12.gita3eb75f.el8 |
| Red Hat:openshift:4.13::el8 | cri-o | 0:1.26.5-18.2.rhaos4.13.git2e90133.el8 öncesi | 0:1.26.5-18.2.rhaos4.13.git2e90133.el8 |
| Red Hat:openshift:4.13::el8 | cri-o-debuginfo | 0:1.26.5-18.2.rhaos4.13.git2e90133.el8 öncesi | 0:1.26.5-18.2.rhaos4.13.git2e90133.el8 |
| Red Hat:openshift:4.13::el8 | cri-o-debugsource | 0:1.26.5-18.2.rhaos4.13.git2e90133.el8 öncesi | 0:1.26.5-18.2.rhaos4.13.git2e90133.el8 |
| Red Hat:openshift:4.13::el9 | cri-o | 0:1.26.5-18.2.rhaos4.13.git2e90133.el9 öncesi | 0:1.26.5-18.2.rhaos4.13.git2e90133.el9 |
| Red Hat:openshift:4.13::el9 | cri-o-debuginfo | 0:1.26.5-18.2.rhaos4.13.git2e90133.el9 öncesi | 0:1.26.5-18.2.rhaos4.13.git2e90133.el9 |
| Red Hat:openshift:4.13::el9 | cri-o-debugsource | 0:1.26.5-18.2.rhaos4.13.git2e90133.el9 öncesi | 0:1.26.5-18.2.rhaos4.13.git2e90133.el9 |
| Red Hat:openshift:4.14::el8 | cri-o | 0:1.27.7-3.rhaos4.14.git674563e.el8 öncesi | 0:1.27.7-3.rhaos4.14.git674563e.el8 |
| Red Hat:openshift:4.14::el8 | cri-o-debuginfo | 0:1.27.7-3.rhaos4.14.git674563e.el8 öncesi | 0:1.27.7-3.rhaos4.14.git674563e.el8 |
| Red Hat:openshift:4.14::el8 | cri-o-debugsource | 0:1.27.7-3.rhaos4.14.git674563e.el8 öncesi | 0:1.27.7-3.rhaos4.14.git674563e.el8 |
| Red Hat:openshift:4.14::el9 | cri-o | 0:1.27.7-3.rhaos4.14.git674563e.el9 öncesi | 0:1.27.7-3.rhaos4.14.git674563e.el9 |
| Red Hat:openshift:4.14::el9 | cri-o-debuginfo | 0:1.27.7-3.rhaos4.14.git674563e.el9 öncesi | 0:1.27.7-3.rhaos4.14.git674563e.el9 |
| Red Hat:openshift:4.14::el9 | cri-o-debugsource | 0:1.27.7-3.rhaos4.14.git674563e.el9 öncesi | 0:1.27.7-3.rhaos4.14.git674563e.el9 |
| Red Hat:openshift:4.15::el8 | cri-o | 0:1.28.7-2.rhaos4.15.git111aec5.el8 öncesi | 0:1.28.7-2.rhaos4.15.git111aec5.el8 |
| Red Hat:openshift:4.15::el8 | cri-o-debuginfo | 0:1.28.7-2.rhaos4.15.git111aec5.el8 öncesi | 0:1.28.7-2.rhaos4.15.git111aec5.el8 |
| Red Hat:openshift:4.15::el8 | cri-o-debugsource | 0:1.28.7-2.rhaos4.15.git111aec5.el8 öncesi | 0:1.28.7-2.rhaos4.15.git111aec5.el8 |
+96
Aynı üründe
kubernetes: tüm kayıtlarAynı birincil ürünün en yüksek skorlu diğer kayıtları.
- CVE-2022-0811A flaw was found in CRI-O in the way it set kernel options for a pod.41Planlayın
- CVE-2018-1000400Kubernetes CRI-O version prior to 1.9 contains a Privilege Context Switching Error (CWE-270) vulnerability in the handling of ambient capabi36İzleyin
- CVE-2022-4318Cri-o: /etc/passwd tampering privesc31İzleyin
- CVE-2022-1708A vulnerability was found in CRI-O that causes memory or disk space exhaustion on the node for anyone with access to the Kube API.31İzleyin
- CVE-2022-2995Incorrect handling of the supplementary groups in the CRI-O container engine might lead to sensitive information disclosure or possible data28İzleyin
- CVE-2022-3466Cri-o: security regression of cve-2022-2765221İ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 |
|---|---|---|
| github.com/cri-o/cri-o cri-o | 1.28.7 | Üretici (CNA) |
| github.com/cri-o/cri-o cri-o | 1.29.5 | Üretici (CNA) |
| github.com/cri-o/cri-o cri-o | 1.30.1 | Üretici (CNA) |
| Go:github.com/cri-o/cri-o | 1.28.7 | Paket deposu (OSV) |
| Go:github.com/cri-o/cri-o | 1.29.5 | Paket deposu (OSV) |
| Go:github.com/cri-o/cri-o | 1.30.1 | Paket deposu (OSV) |
| Red Hat:bpftool | 0:7.3.0-427.24.1.el9_4 · Red Hat:openshift:4.16::el9 | Paket deposu (OSV) |
| Red Hat:bpftool-debuginfo | 0:7.3.0-427.24.1.el9_4 · Red Hat:openshift:4.16::el9 | Paket deposu (OSV) |
| Red Hat:cri-o | 0:1.28.7-2.rhaos4.15.git111aec5.el8 · Red Hat:openshift:4.15::el8 | Paket deposu (OSV) |
| Red Hat:cri-o-debuginfo | 0:1.28.7-2.rhaos4.15.git111aec5.el8 · Red Hat:openshift:4.15::el8 | Paket deposu (OSV) |
| Red Hat:cri-o-debugsource | 0:1.28.7-2.rhaos4.15.git111aec5.el8 · Red Hat:openshift:4.15::el8 | Paket deposu (OSV) |
| Red Hat:kernel | 0:5.14.0-427.24.1.el9_4 · Red Hat:openshift:4.16::el9 | Paket deposu (OSV) |
| Red Hat:openshift | 0:4.16.0-202406191607.p0.g58452d8.assembly.stream.el8 · Red Hat:openshift:4.16::el8 | Paket deposu (OSV) |
| Red Hat:openshift-hyperkube | 0:4.16.0-202406191607.p0.g58452d8.assembly.stream.el8 · Red Hat:openshift:4.16::el8 | Paket deposu (OSV) |
| Red Hat:openshift-kube-apiserver | 0:4.16.0-202406191607.p0.g58452d8.assembly.stream.el8 · Red Hat:openshift:4.16::el8 | Paket deposu (OSV) |
| Red Hat:openshift-kube-controller-manager | 0:4.16.0-202406191607.p0.g58452d8.assembly.stream.el8 · Red Hat:openshift:4.16::el8 | Paket deposu (OSV) |
| Red Hat:openshift-kube-scheduler | 0:4.16.0-202406191607.p0.g58452d8.assembly.stream.el8 · Red Hat:openshift:4.16::el8 | Paket deposu (OSV) |
| Red Hat:openshift-kubelet | 0:4.16.0-202406191607.p0.g58452d8.assembly.stream.el8 · Red Hat:openshift:4.16::el8 | 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.
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ı
Ürünün üreticisi herkese açık bir programda görünüyor. Eşleşme ad üzerinden yapıldı; kapsam metnini programda doğrulayın.
Teknik detay
Saldırı koşulları
- İnternetten erişebilen herkes tetikleyebilir.
- Yönetici yetkisi gerekir.
- 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
- yüksek · veriler okunabilir
- Bütünlük
- yüksek · veri ya da yapılandırma değiştirilebilir
- Erişilebilirlik
- yok
Etki, zafiyetli bileşenin ötesine geçebilir (kapsam değişir).
- Saldırı vektörü
- Ağ
- Karmaşıklık
- Düşük
- Gereken yetki
- Yüksek
- Kullanıcı etkileşimi
- Gerekir
- Kapsam
- Değişir
- Gizlilik etkisi
- Yüksek
- Bütünlük etkisi
- Yüksek
- Erişilebilirlik etkisi
- Yok
Zayıflık sınıfı (CWE)
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')CVSS vektörü
CVSS:3.1/AV:N/AC:L/PR:H/UI:R/S:C/C:H/I:H/A:N
nvd-secondary
Kök neden
Kullanıcının verdiği dosya adı izin verilen klasörle birleştiriliyor, ama sonucun hâlâ o klasörün içinde olup olmadığı kontrol edilmiyor.
Hatanın kod karşılığı
CWE-22 sınıfının tamamıBu zafiyet sınıfının temsili örneği. Üreticinin kaynak kodu değildir; hatalı kalıbı ve düzeltmesini gösterir.
Hatalı
const file = path.join(ROOT, req.query.name);res.sendFile(file);Düzeltilmiş
const file = path.resolve(ROOT, req.query.name);if (!file.startsWith(ROOT + path.sep)) { return res.sendStatus(400);}res.sendFile(file);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)
- Path TraversalCAPEC-126olasılık: High · Very High
- Using Slashes and URL Encoding Combined to Bypass Validation LogicCAPEC-64olasılık: High · High
- Manipulating Web Input to File System CallsCAPEC-76olasılık: High · Very High
- Using Escaped Slashes in Alternate EncodingCAPEC-78olasılık: High · High
- Using Slashes in Alternate EncodingCAPEC-79olasılık: High · High
ATT&CK teknikleri
—
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
- access.redhat.com/errata/RHSA-2024:10818
- access.redhat.com/errata/RHSA-2024:3676
- access.redhat.com/errata/RHSA-2024:3700
- access.redhat.com/errata/RHSA-2024:4008
- access.redhat.com/errata/RHSA-2024:4159
- access.redhat.com/errata/RHSA-2024:4486
- access.redhat.com/security/cve/CVE-2024-5154
- bugzilla.redhat.com/show_bug.cgi?id=2280190
- github.com/cri-o/cri-o/security/advisories/GHSA-j9hf-98c3-wrm8
Üretici bildirimleri ve resmî kayıtlar. İstismar/PoC bağlantıları bilinçli olarak dışarıda bırakıldı.