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.
- BDU:2024-06671
- ALSA-2024:6356
- ALSA-2024:6422
- ALSA-2024:9449
- DLA-4099-1
- DSA-5749-1
- openSUSE-SU-2024:14269-1
- openSUSE-SU-2024:14275-1
- RHSA-2024:6355
- RHSA-2024:6356
- RHSA-2024:6357
- RHSA-2024:6417
- RHSA-2024:6418
- RHSA-2024:6419
- RHSA-2024:6420
- RHSA-2024:6421
- RHSA-2024:6422
- RHSA-2024:9449
- RLSA-2024:6356
- RLSA-2024:6422
- Yayın
- 15 Ağu 2024
- Güncelleme
- 17 Haz 2026
- EPSS
- %1,3 · 69. yüzdelik
- CWE
- CWE-74
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
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 | CPE |
|---|---|---|
| flatpak | flatpak | cpe:2.3:a:flatpak:flatpak |
| debian | debian linux | cpe:2.3:o:debian:debian_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.
| Ekosistem | Paket | Etkilenen aralık | Düzeltme |
|---|---|---|---|
| AlmaLinux:8 | bubblewrap | 0.4.0-2.el8_10 öncesi | 0.4.0-2.el8_10 |
| AlmaLinux:8 | flatpak | 1.12.9-3.el8_10 öncesi | 1.12.9-3.el8_10 |
| AlmaLinux:8 | flatpak-devel | 1.12.9-3.el8_10 öncesi | 1.12.9-3.el8_10 |
| AlmaLinux:8 | flatpak-libs | 1.12.9-3.el8_10 öncesi | 1.12.9-3.el8_10 |
| AlmaLinux:8 | flatpak-selinux | 1.12.9-3.el8_10 öncesi | 1.12.9-3.el8_10 |
| AlmaLinux:8 | flatpak-session-helper | 1.12.9-3.el8_10 öncesi | 1.12.9-3.el8_10 |
| AlmaLinux:9 | bubblewrap | 0.4.1-7.el9_4.alma.1 öncesi | 0.4.1-7.el9_4.alma.1 |
| AlmaLinux:9 | bubblewrap | 0.4.1-8.el9_5 öncesi | 0.4.1-8.el9_5 |
| AlmaLinux:9 | flatpak | 1.12.9-3.el9_4 öncesi | 1.12.9-3.el9_4 |
| AlmaLinux:9 | flatpak | 1.12.9-3.el9_5 öncesi | 1.12.9-3.el9_5 |
| AlmaLinux:9 | flatpak-devel | 1.12.9-3.el9_5 öncesi | 1.12.9-3.el9_5 |
| AlmaLinux:9 | flatpak-devel | 1.12.9-3.el9_4 öncesi | 1.12.9-3.el9_4 |
| AlmaLinux:9 | flatpak-libs | 1.12.9-3.el9_4 öncesi | 1.12.9-3.el9_4 |
| AlmaLinux:9 | flatpak-libs | 1.12.9-3.el9_5 öncesi | 1.12.9-3.el9_5 |
| AlmaLinux:9 | flatpak-selinux | 1.12.9-3.el9_4 öncesi | 1.12.9-3.el9_4 |
| AlmaLinux:9 | flatpak-selinux | 1.12.9-3.el9_5 öncesi | 1.12.9-3.el9_5 |
| AlmaLinux:9 | flatpak-session-helper | 1.12.9-3.el9_4 öncesi | 1.12.9-3.el9_4 |
| AlmaLinux:9 | flatpak-session-helper | 1.12.9-3.el9_5 öncesi | 1.12.9-3.el9_5 |
| Alpine:v3.20 | bubblewrap | 0.10.0-r0 öncesi | 0.10.0-r0 |
| Debian:11 | flatpak | 1.10.8-0+deb11u3 öncesi | 1.10.8-0+deb11u3 |
| Debian:12 | flatpak | 1.14.10-1~deb12u1 öncesi | 1.14.10-1~deb12u1 |
| Debian:13 | flatpak | 1.14.10-1 öncesi | 1.14.10-1 |
| openSUSE:Tumbleweed | bubblewrap | 0.10.0-1.1 öncesi | 0.10.0-1.1 |
| openSUSE:Tumbleweed | flatpak | 1.15.10-1.1 öncesi | 1.15.10-1.1 |
+96
Aynı üründe
flatpak: tüm kayıtlarAynı 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 context37İ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 portal35İ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 to35İzleyin
- CVE-2026-34079Flatpak affected by arbitrary file deletion on the host filesystem34İzleyin
- CVE-2021-43860Permissions granted to applications can be hidden from the user at install time34İ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 |
|---|---|---|
| almalinux:bubblewrap | 0.4.1-7.el9_4.alma.1 · AlmaLinux:9 | Paket deposu (OSV) |
| almalinux:flatpak | 1.12.9-3.el9_4 · AlmaLinux:9 | Paket deposu (OSV) |
| almalinux:flatpak-devel | 1.12.9-3.el9_4 · AlmaLinux:9 | Paket deposu (OSV) |
| almalinux:flatpak-libs | 1.12.9-3.el9_4 · AlmaLinux:9 | Paket deposu (OSV) |
| almalinux:flatpak-selinux | 1.12.9-3.el9_4 · AlmaLinux:9 | Paket deposu (OSV) |
| almalinux:flatpak-session-helper | 1.12.9-3.el9_4 · AlmaLinux:9 | Paket deposu (OSV) |
| alpine:bubblewrap | 0.10.0-r0 · Alpine:v3.20 | Paket deposu (OSV) |
| debian:flatpak | 1.14.10-1~deb12u1 · Debian:12 | Paket deposu (OSV) |
| opensuse:bubblewrap | 0.11.0-150500.3.9.1 · openSUSE:Leap 15.6 | Paket deposu (OSV) |
| opensuse:flatpak | 1.16.0-150600.3.6.1 · openSUSE:Leap 15.6 | Paket deposu (OSV) |
| red hat:bubblewrap | 0:0.4.1-7.el9_2 · Red Hat:rhel_eus:9.2::baseos | Paket deposu (OSV) |
| red hat:bubblewrap-debuginfo | 0:0.4.1-7.el9_2 · Red Hat:rhel_eus:9.2::baseos | Paket deposu (OSV) |
| red hat:bubblewrap-debugsource | 0:0.4.1-7.el9_2 · Red Hat:rhel_eus:9.2::baseos | Paket deposu (OSV) |
| red hat:flatpak | 0:1.12.7-5.el9_2 · Red Hat:rhel_eus:9.2::appstream | Paket deposu (OSV) |
| red hat:flatpak-debuginfo | 0:1.12.7-5.el9_2 · Red Hat:rhel_eus:9.2::appstream | Paket deposu (OSV) |
| red hat:flatpak-debugsource | 0:1.12.7-5.el9_2 · Red Hat:rhel_eus:9.2::appstream | Paket deposu (OSV) |
| red hat:flatpak-libs | 0:1.12.7-5.el9_2 · Red Hat:rhel_eus:9.2::appstream | Paket deposu (OSV) |
| red hat:flatpak-libs-debuginfo | 0:1.12.7-5.el9_2 · Red Hat:rhel_eus:9.2::appstream | Paket deposu (OSV) |
| red hat:flatpak-selinux | 0:1.12.7-5.el9_2 · Red Hat:rhel_eus:9.2::appstream | Paket deposu (OSV) |
| red hat:flatpak-session-helper | 0:1.12.7-5.el9_2 · Red Hat:rhel_eus:9.2::appstream | Paket deposu (OSV) |
| red hat:flatpak-session-helper-debuginfo | 0:1.12.7-5.el9_2 · Red Hat:rhel_eus:9.2::appstream | Paket deposu (OSV) |
| red hat:flatpak-tests-debuginfo | 0:1.12.7-5.el9_2 · Red Hat:rhel_eus:9.2::appstream | Paket deposu (OSV) |
| rocky linux:bubblewrap | 0:0.4.0-2.el8_10 · Rocky Linux:8 | Paket deposu (OSV) |
| rocky linux:flatpak | 0:1.12.9-3.el9_5 · Rocky Linux:9 | Paket deposu (OSV) |
| suse:bubblewrap | 0.11.0-150500.3.9.1 · SUSE:Linux Enterprise Module for Basesystem 15 SP6 | Paket deposu (OSV) |
| suse:flatpak | 1.16.0-150600.3.6.1 · SUSE:Linux Enterprise Module for Desktop Applications 15 SP6 | Paket deposu (OSV) |
| suse:wayland-protocols | 1.36-150500.3.3.1 · SUSE:Linux Enterprise High Performance Computing 15 SP5-ESPOS | 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ı
- İ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
Zayıflık sınıfı (CWE)
CWE-74 · Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')CVSS vektörü
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N
nvd-secondary
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
- HTTP Request SplittingCAPEC-105olasılık: Medium · High
- Command Line Execution through SQL InjectionCAPEC-108olasılık: Low · Very High
- Double EncodingCAPEC-120olasılık: Low · Medium
- Subverting Environment Variable ValuesCAPEC-13olasılık: High · Very High
- Format String InjectionCAPEC-135olasılık: High · High
- Client-side Injection-induced Buffer OverflowCAPEC-14olasılık: Medium · High
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
- github.com/containers/bubblewrap/commit/68e75c3091c87583c28a439b45c45627a94d622c
- github.com/containers/bubblewrap/commit/a253257cd298892da43e15201d83f9a02c9b58b5
- github.com/flatpak/flatpak/commit/2cdd1e1e5ae90d7c3a4b60ce2e36e4d609e44e72
- github.com/flatpak/flatpak/commit/3caeb16c31a3ed62d744e2aaf01d684f7991051a
- github.com/flatpak/flatpak/commit/6bd603f6836e9b38b9b937d3b78f3fbf36e7ff75
- github.com/flatpak/flatpak/commit/7c63e53bb2af0aae9097fd2edfd6a9ba9d453e97
- github.com/flatpak/flatpak/commit/8a18137d7e80f0575e8defabf677d81e5cc3a788
- github.com/flatpak/flatpak/commit/db3a785241fda63bf53f0ec12bb519aa5210de19
- lists.debian.org/debian-lts-announce/2025/03/msg00025.html
Üretici bildirimleri ve resmî kayıtlar. İstismar/PoC bağlantıları bilinçli olarak dışarıda bırakıldı.