Buildah: buildah allows arbitrary directory mount
A vulnerability was found in Buildah. Cache mounts do not properly validate that user-specified paths for the cache are within our cache directory, allowing a `RUN` instruction in a Container file to mount an arbitrary directory from the host (read/write) into the container as long as those files can be accessed by the user running Buildah.
- BDU:2024-09320
- GHSA-586p-749j-fhwp
- ALSA-2024:8563
- ALSA-2024:8846
- ALSA-2024:9051
- ALSA-2024:9454
- ALSA-2024:9459
- GO-2024-3186
- openSUSE-SU-2024:14405-1
- openSUSE-SU-2024:14409-1
- RHSA-2024:8563
- RHSA-2024:8675
- RHSA-2024:8679
- RHSA-2024:8686
- RHSA-2024:8690
- RHSA-2024:8700
- RHSA-2024:8703
- RHSA-2024:8707
- RHSA-2024:8708
- RHSA-2024:8709
- Yayın
- 9 Eki 2024
- Güncelleme
- 7 Ağu 2026
- EPSS
- %0,4 · 31. 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
17
İzleyin
Şimdilik düşük öncelik.
- CVSS
- 17 / 40 · 4.4 / 10
- CISA KEV
- 0 / 30 · Listede değil
- EPSS
- 0 / 30 · %0,4
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
- 4,4
- CNA · redhat
- 7,8
- 3,4 puan fark
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
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 |
|---|---|---|
| buildah project | buildah | cpe:2.3:a:buildah_project:buildah |
| redhat | openshift container platform | cpe:2.3:a:redhat:openshift_container_platform |
| redhat | enterprise linux | cpe:2.3:o:redhat:enterprise_linux |
| redhat | enterprise linux eus | cpe:2.3:o:redhat:enterprise_linux_eus |
| redhat | enterprise linux for arm 64 | cpe:2.3:o:redhat:enterprise_linux_for_arm_64 |
| redhat | enterprise linux for arm 64 eus | cpe:2.3:o:redhat:enterprise_linux_for_arm_64_eus |
| redhat | enterprise linux for ibm z systems | cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems |
| redhat | enterprise linux for ibm z systems eus | cpe:2.3:o:redhat:enterprise_linux_for_ibm_z_systems_eus |
| redhat | enterprise linux for power little endian | cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian |
| redhat | enterprise linux for power little endian eus | cpe:2.3:o:redhat:enterprise_linux_for_power_little_endian_eus |
| redhat | enterprise linux server aus | cpe:2.3:o:redhat:enterprise_linux_server_aus |
| redhat | enterprise linux server for power little endian update services for sap solutions | cpe:2.3:o:redhat:enterprise_linux_server_for_power_little_endian_update_services_for_sap_solutions |
ve 2 kayıt daha
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.
- buildah project buildahtüm sürümler
- redhat enterprise linux8.0
- redhat enterprise linux9.0
- redhat enterprise linux eus8.8
- redhat enterprise linux eus9.0
- redhat enterprise linux eus9.2
- redhat enterprise linux eus9.4
- redhat enterprise linux for arm 648.0_aarch64
- redhat enterprise linux for arm 649.0_aarch64
- redhat enterprise linux for arm 64 eus8.8_aarch64
- redhat enterprise linux for arm 64 eus9.0_aarch64
- redhat enterprise linux for arm 64 eus9.2_aarch64
- redhat enterprise linux for arm 64 eus9.4_aarch64
- redhat enterprise linux for ibm z systems8.0_s390x
- redhat enterprise linux for ibm z systems9.0_s390x
- redhat enterprise linux for ibm z systems eus8.8_s390x
- redhat enterprise linux for ibm z systems eus9.0_s390x
- redhat enterprise linux for ibm z systems eus9.2_s390x
- redhat enterprise linux for ibm z systems eus9.4_s390x
- redhat enterprise linux for power little endian8.0_ppc64le
Ü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/containers/buildah buildah
- 1.38.0 öncesietkilenir · semver
Red Hat OpenShift Developer Tools and Services
- tüm sürümleretkilenir
- tüm sürümleretkilenir
Red Hat Red Hat Enterprise Linux 10
- tüm sürümlerbilinmiyor
- tüm sürümlerbilinmiyor
Red Hat Red Hat Enterprise Linux 7
- tüm sürümlerbilinmiyor
Red Hat Red Hat Enterprise Linux 8
- 8100020241023085649.afee755d ve sonrasıetkilenmez · rpm
Red Hat Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support
- 8060020241028154646.3b538bd8 ve sonrasıetkilenmez · rpm
Red Hat Red Hat Enterprise Linux 8.6 Telecommunications Update Service
- 8060020241028154646.3b538bd8 ve sonrasıetkilenmez · rpm
Red Hat Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions
- 8060020241028154646.3b538bd8 ve sonrasıetkilenmez · rpm
Red Hat Red Hat Enterprise Linux 8.8 Extended Update Support
- 8080020241025064551.0f77c1b7 ve sonrasıetkilenmez · rpm
Red Hat Red Hat Enterprise Linux 9
- 2:1.33.10-1.el9_4 ve sonrasıetkilenmez · rpm
- 4:4.9.4-16.el9_4 ve sonrasıetkilenmez · rpm
- 4:5.2.2-9.el9_5 ve sonrasıetkilenmez · rpm
- 2:1.37.5-1.el9_5 ve sonrasıetkilenmez · rpm
- tüm sürümlerbilinmiyor
Red Hat Red Hat Enterprise Linux 9.0 Extended Update Support
- 1:1.26.8-2.el9_0 ve sonrasıetkilenmez · rpm
- 2:4.2.0-5.el9_0.2 ve sonrasıetkilenmez · rpm
Red Hat Red Hat Enterprise Linux 9.2 Extended Update Support
- 1:1.29.4-1.el9_2 ve sonrasıetkilenmez · rpm
- 2:4.4.1-21.el9_2 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 |
|---|---|---|---|
| AlmaLinux:8 | aardvark-dns | 2:1.10.1-2.module_el8.10.0+3909+6e1c1eb7 öncesi | 2:1.10.1-2.module_el8.10.0+3909+6e1c1eb7 |
| AlmaLinux:8 | aardvark-dns | 2:1.10.1-2.module_el8.10.0+3901+4b80ecd7 öncesi | 2:1.10.1-2.module_el8.10.0+3901+4b80ecd7 |
| AlmaLinux:8 | buildah | 2:1.33.10-1.module_el8.10.0+3909+6e1c1eb7 öncesi | 2:1.33.10-1.module_el8.10.0+3909+6e1c1eb7 |
| AlmaLinux:8 | buildah-tests | 2:1.33.10-1.module_el8.10.0+3909+6e1c1eb7 öncesi | 2:1.33.10-1.module_el8.10.0+3909+6e1c1eb7 |
| AlmaLinux:8 | cockpit-podman | 84.1-1.module_el8.10.0+3876+e55593a8 öncesi | 84.1-1.module_el8.10.0+3876+e55593a8 |
| AlmaLinux:8 | conmon | 3:2.1.10-1.module_el8.10.0+3901+4b80ecd7 öncesi | 3:2.1.10-1.module_el8.10.0+3901+4b80ecd7 |
| AlmaLinux:8 | conmon | 3:2.1.10-1.module_el8.10.0+3909+6e1c1eb7 öncesi | 3:2.1.10-1.module_el8.10.0+3909+6e1c1eb7 |
| AlmaLinux:8 | conmon | 3:2.1.10-1.module_el8.10.0+3876+e55593a8 öncesi | 3:2.1.10-1.module_el8.10.0+3876+e55593a8 |
| AlmaLinux:8 | conmon | 3:2.1.10-1.module_el8.10.0+3845+87b84552 öncesi | 3:2.1.10-1.module_el8.10.0+3845+87b84552 |
| AlmaLinux:8 | container-selinux | 2:2.229.0-2.module_el8.10.0+3909+6e1c1eb7 öncesi | 2:2.229.0-2.module_el8.10.0+3909+6e1c1eb7 |
| AlmaLinux:8 | containernetworking-plugins | 1:1.4.0-5.module_el8.10.0+3909+6e1c1eb7 öncesi | 1:1.4.0-5.module_el8.10.0+3909+6e1c1eb7 |
| AlmaLinux:8 | containernetworking-plugins | 1:1.4.0-5.module_el8.10.0+3901+4b80ecd7 öncesi | 1:1.4.0-5.module_el8.10.0+3901+4b80ecd7 |
| AlmaLinux:8 | containernetworking-plugins | 1:1.4.0-5.module_el8.10.0+3876+e55593a8 öncesi | 1:1.4.0-5.module_el8.10.0+3876+e55593a8 |
| AlmaLinux:8 | containers-common | 2:1-82.module_el8.10.0+3876+e55593a8 öncesi | 2:1-82.module_el8.10.0+3876+e55593a8 |
| AlmaLinux:8 | containers-common | 2:1-82.module_el8.10.0+3901+4b80ecd7 öncesi | 2:1-82.module_el8.10.0+3901+4b80ecd7 |
| AlmaLinux:8 | crit | 3.18-5.module_el8.10.0+3858+6ad51f9f öncesi | 3.18-5.module_el8.10.0+3858+6ad51f9f |
| AlmaLinux:8 | crit | 3.18-5.module_el8.10.0+3845+87b84552 öncesi | 3.18-5.module_el8.10.0+3845+87b84552 |
| AlmaLinux:8 | crit | 3.18-5.module_el8.10.0+3901+4b80ecd7 öncesi | 3.18-5.module_el8.10.0+3901+4b80ecd7 |
| AlmaLinux:8 | criu | 3.18-5.module_el8.10.0+3845+87b84552 öncesi | 3.18-5.module_el8.10.0+3845+87b84552 |
| AlmaLinux:8 | criu | 3.18-5.module_el8.10.0+3876+e55593a8 öncesi | 3.18-5.module_el8.10.0+3876+e55593a8 |
| AlmaLinux:8 | criu | 3.18-5.module_el8.10.0+3909+6e1c1eb7 öncesi | 3.18-5.module_el8.10.0+3909+6e1c1eb7 |
| AlmaLinux:8 | criu-devel | 3.18-5.module_el8.10.0+3845+87b84552 öncesi | 3.18-5.module_el8.10.0+3845+87b84552 |
| AlmaLinux:8 | criu-devel | 3.18-5.module_el8.10.0+3858+6ad51f9f öncesi | 3.18-5.module_el8.10.0+3858+6ad51f9f |
| AlmaLinux:8 | criu-devel | 3.18-5.module_el8.10.0+3876+e55593a8 öncesi | 3.18-5.module_el8.10.0+3876+e55593a8 |
+96
Aynı üründe
buildah project: tüm kayıtlarAynı birincil ürünün en yüksek skorlu diğer kayıtları.
- CVE-2020-10696A path traversal flaw was found in Buildah in versions before 1.14.5.36İzleyin
- CVE-2022-2990An incorrect handling of the supplementary groups in the Buildah container engine might lead to the sensitive information disclosure or poss28İzleyin
- CVE-2022-27651A flaw was found in buildah where containers were incorrectly started with non-empty default permissions.27İzleyin
- CVE-2019-10214The containers/image library used by the container tools Podman, Buildah, and Skopeo in Red Hat Enterprise Linux version 8 and CRI-O in Open23İzleyin
- CVE-2021-3602An information disclosure flaw was found in Buildah, when building containers using chroot isolation.22İ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/containers/buildah buildah | 1.38.0 | Üretici (CNA) |
| almalinux:aardvark-dns | 2:1.10.1-2.module_el8.10.0+3909+6e1c1eb7 · AlmaLinux:8 | Paket deposu (OSV) |
| almalinux:buildah | 2:1.33.10-1.el9_4 · AlmaLinux:9 | Paket deposu (OSV) |
| almalinux:buildah-tests | 2:1.33.10-1.el9_4 · AlmaLinux:9 | Paket deposu (OSV) |
| almalinux:cockpit-podman | 84.1-1.module_el8.10.0+3876+e55593a8 · AlmaLinux:8 | Paket deposu (OSV) |
| almalinux:conmon | 3:2.1.10-1.module_el8.10.0+3876+e55593a8 · AlmaLinux:8 | Paket deposu (OSV) |
| almalinux:container-selinux | 2:2.229.0-2.module_el8.10.0+3909+6e1c1eb7 · AlmaLinux:8 | Paket deposu (OSV) |
| almalinux:containernetworking-plugins | 1:1.4.0-5.module_el8.10.0+3876+e55593a8 · AlmaLinux:8 | Paket deposu (OSV) |
| almalinux:containers-common | 2:1-82.module_el8.10.0+3876+e55593a8 · AlmaLinux:8 | Paket deposu (OSV) |
| almalinux:crit | 3.18-5.module_el8.10.0+3901+4b80ecd7 · AlmaLinux:8 | Paket deposu (OSV) |
| almalinux:criu | 3.18-5.module_el8.10.0+3876+e55593a8 · AlmaLinux:8 | Paket deposu (OSV) |
| almalinux:criu-devel | 3.18-5.module_el8.10.0+3876+e55593a8 · AlmaLinux:8 | Paket deposu (OSV) |
| almalinux:criu-libs | 3.18-5.module_el8.10.0+3909+6e1c1eb7 · AlmaLinux:8 | Paket deposu (OSV) |
| debian:golang-github-containers-buildah | 1.37.4+ds1-1 · Debian:13 | Paket deposu (OSV) |
| Go:github.com/containers/buildah | 1.37.1 | Paket deposu (OSV) |
| Go:github.com/containers/buildah | 1.38.0 | Paket deposu (OSV) |
| opensuse:buildah | 1.35.4-150500.3.16.1 · openSUSE:Leap 15.5 | Paket deposu (OSV) |
| opensuse:podman | 4.9.5-150500.3.25.1 · openSUSE:Leap Micro 5.5 | Paket deposu (OSV) |
| red hat:buildah | 2:1.33.10-1.el9_4 · Red Hat:enterprise_linux:9::appstream | Paket deposu (OSV) |
| red hat:buildah-debuginfo | 2:1.33.10-1.el9_4 · Red Hat:enterprise_linux:9::appstream | Paket deposu (OSV) |
| red hat:buildah-debugsource | 2:1.33.10-1.el9_4 · Red Hat:enterprise_linux:9::appstream | Paket deposu (OSV) |
| red hat:buildah-tests | 2:1.33.10-1.el9_4 · Red Hat:enterprise_linux:9::appstream | Paket deposu (OSV) |
| red hat:buildah-tests-debuginfo | 2:1.33.10-1.el9_4 · Red Hat:enterprise_linux:9::appstream | Paket deposu (OSV) |
| red hat:podman | 2:4.2.0-5.el9_0.2 · Red Hat:rhel_eus:9.0::appstream | Paket deposu (OSV) |
| red hat:podman-catatonit | 2:4.2.0-5.el9_0.2 · Red Hat:rhel_eus:9.0::appstream | Paket deposu (OSV) |
| red hat:podman-catatonit-debuginfo | 2:4.2.0-5.el9_0.2 · Red Hat:rhel_eus:9.0::appstream | Paket deposu (OSV) |
| red hat:podman-debuginfo | 2:4.2.0-5.el9_0.2 · Red Hat:rhel_eus:9.0::appstream | Paket deposu (OSV) |
| red hat:podman-debugsource | 2:4.2.0-5.el9_0.2 · Red Hat:rhel_eus:9.0::appstream | Paket deposu (OSV) |
| red hat:podman-docker | 2:4.2.0-5.el9_0.2 · Red Hat:rhel_eus:9.0::appstream | Paket deposu (OSV) |
| red hat:podman-gvproxy | 2:4.2.0-5.el9_0.2 · Red Hat:rhel_eus:9.0::appstream | Paket deposu (OSV) |
+14
İ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ı
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.
- Düşük yetkili bir hesap yeterli.
- Kullanıcının bir şey yapması gerekmez.
- Özel bir koşul gerekmez; tekrarlanabilir.
Başarılı olursa
- Gizlilik
- düşük · veriler okunabilir
- 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
- Düşük
- Kullanıcı etkileşimi
- Gerekmez
- Kapsam
- Değişmez
- Gizlilik etkisi
- Düşük
- Bütünlük etkisi
- Düşük
- 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:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
nvd-primary
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/RHBA-2024:10967
- access.redhat.com/errata/RHSA-2024:8563
- access.redhat.com/errata/RHSA-2024:8675
- access.redhat.com/errata/RHSA-2024:8679
- access.redhat.com/errata/RHSA-2024:8686
- access.redhat.com/errata/RHSA-2024:8690
- access.redhat.com/errata/RHSA-2024:8700
- access.redhat.com/errata/RHSA-2024:8703
- access.redhat.com/errata/RHSA-2024:8707
- access.redhat.com/errata/RHSA-2024:8708
- access.redhat.com/errata/RHSA-2024:8709
- access.redhat.com/errata/RHSA-2024:8846
- access.redhat.com/errata/RHSA-2024:8984
- access.redhat.com/errata/RHSA-2024:8994
- access.redhat.com/errata/RHSA-2024:9051
- access.redhat.com/errata/RHSA-2024:9454
- access.redhat.com/errata/RHSA-2024:9459
- access.redhat.com/errata/RHSA-2025:2445
- access.redhat.com/errata/RHSA-2025:2449
- access.redhat.com/errata/RHSA-2025:2454
Üretici bildirimleri ve resmî kayıtlar. İstismar/PoC bağlantıları bilinçli olarak dışarıda bırakıldı.