Permissions granted to applications can be hidden from the user at install time
Flatpak is a Linux application sandboxing and distribution framework. Prior to versions 1.12.3 and 1.10.6, Flatpak doesn't properly validate that the permissions displayed to the user for an app at install time match the actual permissions granted to the app at runtime, in the case that there's a null byte in the metadata file of an app. Therefore apps can grant themselves permissions without the consent of the user. Flatpak shows permissions to the user during install by reading them from the "xa.metadata" key in the commit metadata. This cannot contain a null terminator, because it is an untrusted GVariant. Flatpak compares these permissions to the *actual* metadata, from the "metadata" file to ensure it wasn't lied to. However, the actual metadata contents are loaded in several places where they are read as simple C-style strings. That means that, if the metadata file includes a null terminator, only the content of the file from *before* the terminator gets compared to xa.metadata. Thus, any permissions that appear in the metadata file after a null terminator are applied at runtime but not shown to the user. So maliciously crafted apps can give themselves hidden permissions. Users who have Flatpaks installed from untrusted sources are at risk in case the Flatpak has a maliciously crafted metadata file, either initially or in an update. This issue is patched in versions 1.12.3 and 1.10.6. As a workaround, users can manually check the permissions of installed apps by checking the metadata file or the xa.metadata key on the commit metadata.
Noroxi analizi
Bu kayıt için henüz Noroxi analizi yok
Veritabanındaki yüz binlerce 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- Yayın
- 12 Oca 2022
- Güncelleme
- 17 Haz 2026
- EPSS
- %1,3 · 70. yüzdelik
- CWE
- CWE-269
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
34
İzleyin
Şimdilik düşük öncelik.
- CVSS
- 34 / 40 · 8.6 / 10
- CISA KEV
- 0 / 30 · Listede değil
- EPSS
- 0 / 30 · %1,3
CNA ile NVD puanı
- NVD
- 8,6
- CNA · GitHub_M
- 8,2
- 0,4 puan fark
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A: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 |
| fedoraproject | fedora | cpe:2.3:o:fedoraproject:fedora |
| redhat | enterprise linux | cpe:2.3:o:redhat:enterprise_linux |
| 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 linux10.0
- debian debian linux11.0
- debian debian linux9.0
- fedoraproject fedora35
- flatpak flatpak1.11.1 ve sonrası · 1.12.3 dahil
- flatpak flatpak1.10.6 öncesi
- redhat enterprise linux8.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.
flatpak flatpak
- >= 1.11.0, < 1.12.3, < 1.10.6etkilenir
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 | flatpak | 1.8.7-1.el8 öncesi | 1.8.7-1.el8 |
| AlmaLinux:8 | flatpak-devel | 1.8.7-1.el8 öncesi | 1.8.7-1.el8 |
| AlmaLinux:8 | flatpak-libs | 1.8.7-1.el8 öncesi | 1.8.7-1.el8 |
| AlmaLinux:8 | flatpak-selinux | 1.8.7-1.el8 öncesi | 1.8.7-1.el8 |
| AlmaLinux:8 | flatpak-session-helper | 1.8.7-1.el8 öncesi | 1.8.7-1.el8 |
| Debian:11 | flatpak | 1.10.7-0+deb11u1 öncesi | 1.10.7-0+deb11u1 |
| Debian:12 | flatpak | 1.12.3-1 öncesi | 1.12.3-1 |
| openSUSE:Leap 15.3 | flatpak | 1.10.7-4.12.1 öncesi | 1.10.7-4.12.1 |
| openSUSE:Tumbleweed | flatpak | 1.12.3-1.1 öncesi | 1.12.3-1.1 |
| Red Hat:enterprise_linux:8::appstream | flatpak | 0:1.8.7-1.el8 öncesi | 0:1.8.7-1.el8 |
| Red Hat:enterprise_linux:8::appstream | flatpak-debuginfo | 0:1.8.7-1.el8 öncesi | 0:1.8.7-1.el8 |
| Red Hat:enterprise_linux:8::appstream | flatpak-debugsource | 0:1.8.7-1.el8 öncesi | 0:1.8.7-1.el8 |
| Red Hat:enterprise_linux:8::appstream | flatpak-libs | 0:1.8.7-1.el8 öncesi | 0:1.8.7-1.el8 |
| Red Hat:enterprise_linux:8::appstream | flatpak-libs-debuginfo | 0:1.8.7-1.el8 öncesi | 0:1.8.7-1.el8 |
| Red Hat:enterprise_linux:8::appstream | flatpak-selinux | 0:1.8.7-1.el8 öncesi | 0:1.8.7-1.el8 |
| Red Hat:enterprise_linux:8::appstream | flatpak-session-helper | 0:1.8.7-1.el8 öncesi | 0:1.8.7-1.el8 |
| Red Hat:enterprise_linux:8::appstream | flatpak-session-helper-debuginfo | 0:1.8.7-1.el8 öncesi | 0:1.8.7-1.el8 |
| Red Hat:enterprise_linux:8::appstream | flatpak-tests-debuginfo | 0:1.8.7-1.el8 öncesi | 0:1.8.7-1.el8 |
| Red Hat:enterprise_linux:8::crb | flatpak-devel | 0:1.8.7-1.el8 öncesi | 0:1.8.7-1.el8 |
| Rocky Linux:8 | flatpak | 0:1.8.7-1.el8 öncesi | 0:1.8.7-1.el8 |
| SUSE:Linux Enterprise High Performance Computing 15 SP1-ESPOS | flatpak | 1.2.3-150100.4.8.1 öncesi | 1.2.3-150100.4.8.1 |
| SUSE:Linux Enterprise Module for Desktop Applications 15 SP3 | flatpak | 1.10.7-4.12.1 öncesi | 1.10.7-4.12.1 |
Aynı üründe
flatpak: tüm kayıtlarAynı birincil ürünün en yüksek skorlu diğer kayıtları.
- CVE-2024-42472Flatpak may allow access to files outside sandbox for certain apps40Planlayın
- 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
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:flatpak | 1.8.7-1.el8 · AlmaLinux:8 | Paket deposu (OSV) |
| almalinux:flatpak-devel | 1.8.7-1.el8 · AlmaLinux:8 | Paket deposu (OSV) |
| almalinux:flatpak-libs | 1.8.7-1.el8 · AlmaLinux:8 | Paket deposu (OSV) |
| almalinux:flatpak-selinux | 1.8.7-1.el8 · AlmaLinux:8 | Paket deposu (OSV) |
| almalinux:flatpak-session-helper | 1.8.7-1.el8 · AlmaLinux:8 | Paket deposu (OSV) |
| debian:flatpak | 1.12.3-1 · Debian:12 | Paket deposu (OSV) |
| opensuse:flatpak | 1.10.7-4.12.1 · openSUSE:Leap 15.3 | Paket deposu (OSV) |
| red hat:flatpak | 0:1.8.7-1.el8 · Red Hat:enterprise_linux:8::appstream | Paket deposu (OSV) |
| red hat:flatpak-debuginfo | 0:1.8.7-1.el8 · Red Hat:enterprise_linux:8::appstream | Paket deposu (OSV) |
| red hat:flatpak-debugsource | 0:1.8.7-1.el8 · Red Hat:enterprise_linux:8::appstream | Paket deposu (OSV) |
| red hat:flatpak-devel | 0:1.8.7-1.el8 · Red Hat:enterprise_linux:8::crb | Paket deposu (OSV) |
| red hat:flatpak-libs | 0:1.8.7-1.el8 · Red Hat:enterprise_linux:8::appstream | Paket deposu (OSV) |
| red hat:flatpak-libs-debuginfo | 0:1.8.7-1.el8 · Red Hat:enterprise_linux:8::appstream | Paket deposu (OSV) |
| red hat:flatpak-selinux | 0:1.8.7-1.el8 · Red Hat:enterprise_linux:8::appstream | Paket deposu (OSV) |
| red hat:flatpak-session-helper | 0:1.8.7-1.el8 · Red Hat:enterprise_linux:8::appstream | Paket deposu (OSV) |
| red hat:flatpak-session-helper-debuginfo | 0:1.8.7-1.el8 · Red Hat:enterprise_linux:8::appstream | Paket deposu (OSV) |
| red hat:flatpak-tests-debuginfo | 0:1.8.7-1.el8 · Red Hat:enterprise_linux:8::appstream | Paket deposu (OSV) |
| rocky linux:flatpak | 0:1.8.7-1.el8 · Rocky Linux:8 | Paket deposu (OSV) |
| suse:flatpak | 1.10.7-4.12.1 · SUSE:Linux Enterprise Module for Desktop Applications 15 SP3 | 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
- yüksek · veriler okunabilir
- Bütünlük
- yüksek · veri ya da yapılandırma değiştirilebilir
- Erişilebilirlik
- yüksek · hizmet durdurulabilir
Etki, zafiyetli bileşenin ötesine geçebilir (kapsam değişir).
- Saldırı vektörü
- Yerel
- Karmaşıklık
- Düşük
- Gereken yetki
- Yok
- Kullanıcı etkileşimi
- Gerekir
- Kapsam
- Değişir
- Gizlilik etkisi
- Yüksek
- Bütünlük etkisi
- Yüksek
- Erişilebilirlik etkisi
- Yüksek
Zayıflık sınıfı (CWE)
CWE-269 · Improper Privilege ManagementCVSS vektörü
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
nvd-primary
Kök neden
Kurulum kolaylığı için servis hesabına geniş, küme genelinde yetki veriliyor. En az yetki ilkesi kurulum aşamasında atlanıyor.
Hatanın kod karşılığı
CWE-269 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ı
kind: ClusterRolerules: - apiGroups: ["*"] resources: ["*"] verbs: ["*"]Düzeltilmiş
kind: Rolemetadata: namespace: lodos-systemrules: - apiGroups: ["apps"] resources: ["deployments"] verbs: ["get", "list", "update"]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ı.
Değişiklik günlüğü
- Düzeltme✗ → ✓
Takip ettiğiniz kayıtlarda bu değişiklikler bildirim olarak da gelir. →
Referanslar
- github.com/flatpak/flatpak/commit/54ec1a482dfc668127eaae57f135e6a8e0bc52da
- github.com/flatpak/flatpak/commit/65cbfac982cb1c83993a9e19aa424daee8e9f042
- github.com/flatpak/flatpak/commit/93357d357119093804df05acc32ff335839c6451
- github.com/flatpak/flatpak/commit/ba818f504c926baaf6e362be8159cfacf994310e
- github.com/flatpak/flatpak/commit/d9a8f9d8ccc0b7c1135d0ecde006a75d25f66aee
- github.com/flatpak/flatpak/releases/tag/1.10.6
- github.com/flatpak/flatpak/releases/tag/1.12.3
- github.com/flatpak/flatpak/security/advisories/GHSA-qpjc-vq3c-572j
- lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/APFTBYGJJVJPFVHRXUW5PII5XOAFI4KH/
- security.gentoo.org/glsa/202312-12
- www.debian.org/security/2022/dsa-5049
Üretici bildirimleri ve resmî kayıtlar. İstismar/PoC bağlantıları bilinçli olarak dışarıda bırakıldı.