İçeriğe atla
Noroxi
CVE-2024-42472· NVD / CVE Programı· CNA GitHub_M

Flatpak may allow access to files outside sandbox for certain apps

Flatpak is a Linux application sandboxing and distribution framework. Prior to versions 1.14.0 and 1.15.10, a malicious or compromised Flatpak app using persistent directories could access and write files outside of what it would otherwise have access to, which is an attack on integrity and confidentiality. When `persistent=subdir` is used in the application permissions (represented as `--persist=subdir` in the command-line interface), that means that an application which otherwise doesn't have access to the real user home directory will see an empty home directory with a writeable subdirectory `subdir`. Behind the scenes, this directory is actually a bind mount and the data is stored in the per-application directory as `~/.var/app/$APPID/subdir`. This allows existing apps that are not aware of the per-application directory to still work as intended without general home directory access. However, the application does have write access to the application directory `~/.var/app/$APPID` where this directory is stored. If the source directory for the `persistent`/`--persist` option is replaced by a symlink, then the next time the application is started, the bind mount will follow the symlink and mount whatever it points to into the sandbox. Partial protection against this vulnerability can be provided by patching Flatpak using the patches in commits ceec2ffc and 98f79773. However, this leaves a race condition that could be exploited by two instances of a malicious app running in parallel. Closing the race condition requires updating or patching the version of bubblewrap that is used by Flatpak to add the new `--bind-fd` option using the patch and then patching Flatpak to use it. If Flatpak has been configured at build-time with `-Dsystem_bubblewrap=bwrap` (1.15.x) or `--with-system-bubblewrap=bwrap` (1.14.x or older), or a similar option, then the version of bubblewrap that needs to be patched is a system copy that is distributed separately, typically `/usr/bin/bwrap`. This configuration is the one that is typically used in Linux distributions. If Flatpak has been configured at build-time with `-Dsystem_bubblewrap=` (1.15.x) or with `--without-system-bubblewrap` (1.14.x or older), then it is the bundled version of bubblewrap that is included with Flatpak that must be patched. This is typically installed as `/usr/libexec/flatpak-bwrap`. This configuration is the default when building from source code. For the 1.14.x stable branch, these changes are included in Flatpak 1.14.10. The bundled version of bubblewrap included in this release has been updated to 0.6.3. For the 1.15.x development branch, these changes are included in Flatpak 1.15.10. The bundled version of bubblewrap in this release is a Meson "wrap" subproject, which has been updated to 0.10.0. The 1.12.x and 1.10.x branches will not be updated for this vulnerability. Long-term support OS distributions should backport the individual changes into their versions of Flatpak and bubblewrap, or update to newer versions if their stability policy allows it. As a workaround, avoid using applications using the `persistent` (`--persist`) permission.

KritikCVSS 10.0 · v3.1—İstismar yok Düzeltme var
Yayın
15 Ağu 2024
Güncelleme
17 Haz 2026
EPSS
%1,3 · 69. yüzdelik
Bu CVE’yi takip et

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ı

JSON

Aksiyon skoru

40

Planlayın

Olağan yama döngüsüne alın.

CVSS
40 / 40 · 10.0 / 10
CISA KEV
0 / 30 · Listede değil
EPSS
0 / 30 · %1,3

CISA SSVC kararı

Sömürü
yok
Otomatikleştirilebilir
evet
Teknik etki
tam

Vulnrichment: CISA'nın karar ağacı girdileri.

CNA ile NVD puanı

NVD
—
CNA · GitHub_M
10,0
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
flatpakflatpak
debiandebian 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.

  • debian debian linux11.0
  • flatpak flatpak1.14.0 ve sonrası · 1.14.10 öncesi
  • flatpak flatpak1.15.0 ve sonrası · 1.15.10 ö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.

  • flatpak flatpak

    • < 1.14.10, >= 1.15.0, < 1.15.10etkilenir

Paket düzeyi etkilenme

OSV ve GitHub Advisory verisi: ekosistem, paket ve aralık. SBOM eşleşmesi bu tabloyu kullanır.

EkosistemPaketEtkilenen aralıkDüzeltme
AlmaLinux:8bubblewrap0.4.0-2.el8_10 öncesi0.4.0-2.el8_10
AlmaLinux:8flatpak1.12.9-3.el8_10 öncesi1.12.9-3.el8_10
AlmaLinux:8flatpak-devel1.12.9-3.el8_10 öncesi1.12.9-3.el8_10
AlmaLinux:8flatpak-libs1.12.9-3.el8_10 öncesi1.12.9-3.el8_10
AlmaLinux:8flatpak-selinux1.12.9-3.el8_10 öncesi1.12.9-3.el8_10
AlmaLinux:8flatpak-session-helper1.12.9-3.el8_10 öncesi1.12.9-3.el8_10
AlmaLinux:9bubblewrap0.4.1-7.el9_4.alma.1 öncesi0.4.1-7.el9_4.alma.1
AlmaLinux:9bubblewrap0.4.1-8.el9_5 öncesi0.4.1-8.el9_5
AlmaLinux:9flatpak1.12.9-3.el9_4 öncesi1.12.9-3.el9_4
AlmaLinux:9flatpak1.12.9-3.el9_5 öncesi1.12.9-3.el9_5
AlmaLinux:9flatpak-devel1.12.9-3.el9_5 öncesi1.12.9-3.el9_5
AlmaLinux:9flatpak-devel1.12.9-3.el9_4 öncesi1.12.9-3.el9_4
AlmaLinux:9flatpak-libs1.12.9-3.el9_4 öncesi1.12.9-3.el9_4
AlmaLinux:9flatpak-libs1.12.9-3.el9_5 öncesi1.12.9-3.el9_5
AlmaLinux:9flatpak-selinux1.12.9-3.el9_4 öncesi1.12.9-3.el9_4
AlmaLinux:9flatpak-selinux1.12.9-3.el9_5 öncesi1.12.9-3.el9_5
AlmaLinux:9flatpak-session-helper1.12.9-3.el9_4 öncesi1.12.9-3.el9_4
AlmaLinux:9flatpak-session-helper1.12.9-3.el9_5 öncesi1.12.9-3.el9_5
Alpine:v3.20bubblewrap0.10.0-r0 öncesi0.10.0-r0
Debian:11flatpak1.10.8-0+deb11u3 öncesi1.10.8-0+deb11u3
Debian:12flatpak1.14.10-1~deb12u1 öncesi1.14.10-1~deb12u1
Debian:13flatpak1.14.10-1 öncesi1.14.10-1
openSUSE:Tumbleweedbubblewrap0.10.0-1.1 öncesi0.10.0-1.1
openSUSE:Tumbleweedflatpak1.15.10-1.1 öncesi1.15.10-1.1

+96

Aynı birincil ürünün en yüksek skorlu diğer kayıtları.

  • CVE-2026-34078Flatpak has a complete sandbox escape leading to host file access and code execution in the host context
    37İzleyin
  • CVE-2019-10063Flatpak before 1.0.8, 1.1.x and 1.2.x before 1.2.4, and 1.3.x before 1.3.1 allows a sandbox bypass.
    37İzleyin
  • CVE-2021-21261Flatpak sandbox escape via spawn portal
    35İzleyin
  • CVE-2018-6560In dbus-proxy/flatpak-proxy.c in Flatpak before 0.8.9, and 0.9.x and 0.10.x before 0.10.3, crafted D-Bus messages to the host can be used to
    35İzleyin
  • CVE-2026-34079Flatpak affected by arbitrary file deletion on the host filesystem
    34İzleyin
  • CVE-2021-43860Permissions granted to applications can be hidden from the user at install time
    34İ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 / paketDüzeltilmiş sürümKaynak
almalinux:bubblewrap0.4.1-7.el9_4.alma.1 · AlmaLinux:9Paket deposu (OSV)
almalinux:flatpak1.12.9-3.el9_4 · AlmaLinux:9Paket deposu (OSV)
almalinux:flatpak-devel1.12.9-3.el9_4 · AlmaLinux:9Paket deposu (OSV)
almalinux:flatpak-libs1.12.9-3.el9_4 · AlmaLinux:9Paket deposu (OSV)
almalinux:flatpak-selinux1.12.9-3.el9_4 · AlmaLinux:9Paket deposu (OSV)
almalinux:flatpak-session-helper1.12.9-3.el9_4 · AlmaLinux:9Paket deposu (OSV)
alpine:bubblewrap0.10.0-r0 · Alpine:v3.20Paket deposu (OSV)
debian:flatpak1.14.10-1~deb12u1 · Debian:12Paket deposu (OSV)
opensuse:bubblewrap0.11.0-150500.3.9.1 · openSUSE:Leap 15.6Paket deposu (OSV)
opensuse:flatpak1.16.0-150600.3.6.1 · openSUSE:Leap 15.6Paket deposu (OSV)
red hat:bubblewrap0:0.4.1-7.el9_2 · Red Hat:rhel_eus:9.2::baseosPaket deposu (OSV)
red hat:bubblewrap-debuginfo0:0.4.1-7.el9_2 · Red Hat:rhel_eus:9.2::baseosPaket deposu (OSV)
red hat:bubblewrap-debugsource0:0.4.1-7.el9_2 · Red Hat:rhel_eus:9.2::baseosPaket deposu (OSV)
red hat:flatpak0:1.12.7-5.el9_2 · Red Hat:rhel_eus:9.2::appstreamPaket deposu (OSV)
red hat:flatpak-debuginfo0:1.12.7-5.el9_2 · Red Hat:rhel_eus:9.2::appstreamPaket deposu (OSV)
red hat:flatpak-debugsource0:1.12.7-5.el9_2 · Red Hat:rhel_eus:9.2::appstreamPaket deposu (OSV)
red hat:flatpak-libs0:1.12.7-5.el9_2 · Red Hat:rhel_eus:9.2::appstreamPaket deposu (OSV)
red hat:flatpak-libs-debuginfo0:1.12.7-5.el9_2 · Red Hat:rhel_eus:9.2::appstreamPaket deposu (OSV)
red hat:flatpak-selinux0:1.12.7-5.el9_2 · Red Hat:rhel_eus:9.2::appstreamPaket deposu (OSV)
red hat:flatpak-session-helper0:1.12.7-5.el9_2 · Red Hat:rhel_eus:9.2::appstreamPaket deposu (OSV)
red hat:flatpak-session-helper-debuginfo0:1.12.7-5.el9_2 · Red Hat:rhel_eus:9.2::appstreamPaket deposu (OSV)
red hat:flatpak-tests-debuginfo0:1.12.7-5.el9_2 · Red Hat:rhel_eus:9.2::appstreamPaket deposu (OSV)
rocky linux:bubblewrap0:0.4.0-2.el8_10 · Rocky Linux:8Paket deposu (OSV)
rocky linux:flatpak0:1.12.9-3.el9_5 · Rocky Linux:9Paket deposu (OSV)
suse:bubblewrap0.11.0-150500.3.9.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP6Paket deposu (OSV)
suse:flatpak1.16.0-150600.3.6.1 · SUSE:Linux Enterprise Module for Desktop Applications 15 SP6Paket deposu (OSV)
suse:wayland-protocols1.36-150500.3.3.1 · SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOSPaket 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.

EPSS son 120 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.

CNA 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ı

  • İ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
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
Yok
Kullanıcı etkileşimi
Gerekmez
Kapsam
Değişir
Gizlilik etkisi
Yüksek
Bütünlük etkisi
Yüksek
Erişilebilirlik etkisi
Yok

CVSS vektörü

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N

nvd-secondary

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 isteyin

Değişiklik günlüğü

  1. Düzeltme✗ → ✓

Takip ettiğiniz kayıtlarda bu değişiklikler bildirim olarak da gelir. →

Referanslar

Tüm kayıtlar