CVE-2024-32462 | Flatpak vulnerable to a sandbox escape via RequestBackground portal due to bad argument parsing

Flatpak is a system for building, distributing, and running sandboxed desktop applications on Linux. in versions before 1.10.9, 1.12.9, 1.14.6, and 1.15.8, a malicious or compromised Flatpak app could execute arbitrary code outside its sandbox. Normally, the `--command` argument of `flatpak run` expects to be given a command to run in the specified Flatpak app, optionally along with some arguments. However it is possible to instead pass `bwrap` arguments to `--command=`, such as `--bind`. It's possible to pass an arbitrary `commandline` to the portal interface `org.freedesktop.portal.Background.RequestBackground` from within a Flatpak app. When this is converted into a `--command` and arguments, it achieves the same effect of passing arguments directly to `bwrap`, and thus can be used for a sandbox escape. The solution is to pass the `--` argument to `bwrap`, which makes it stop processing options. This has been supported since bubblewrap 0.3.0. All supported versions of Flatpak require at least that version of bubblewrap. xdg-desktop-portal version 1.18.4 will mitigate this vulnerability by only allowing Flatpak apps to create .desktop files for commands that do not start with --. The vulnerability is patched in 1.15.8, 1.10.9, 1.12.9, and 1.14.6.

公開: 2024-04-18 最終更新: 2026-06-17 Assigner: [email protected] ソース: [email protected]

総合評価: CVE-2024-32462 は中リスク(47.7/100)。CVSS 深刻度は高。悪用される可能性が高い(EPSS 0.51%、39 パーセンタイル) 推奨対応: 影響資産を整理し、修補計画に組み込んでください。

リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。

CVE-2024-32462 の EPSS(Exploit Prediction Scoring System)スコア

EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。

# 日付 旧 EPSS スコア 新 EPSS スコア Δ(新 − 旧)
1 2026-06-15 0.16% 0.51% +0.36%
2 2025-08-21 0.07% 0.16% +0.09%
3 2025-05-27 0.07%

EPSS の全履歴 (全 12 件)

CVE-2024-32462 の CVSS(Common Vulnerability Scoring System)指標

この CVE の CVSS 指標。

ベーススコア バージョン 深刻度 ベクトル 悪用しやすさ 影響 スコアの出典
8.4 3.1 HIGH
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N クリックして展開
攻撃ベクター (AV:L)
対象ホスト上でコードを実行できること、または別ユーザーの誤操作・悪意ある操作が前提になる。
攻撃の複雑さ (AC:L)
攻撃者が条件を満たせば、レース条件や珍しい構成に依存せずに再現しやすい。
必要な権限 (PR:L)
一般ユーザー権限があれば足り、管理者(root 相当)は不要。
ユーザーの関与 (UI:N)
メールのリンクを開く、マクロを有効にするなど、被害者の協力がなくても成立しうる。
スコープ (S:C)
脆弱箇所を足がかりに、別コンポーネントや別権限域まで影響が広がりうる。
機密性への影響 (C:H)
広範な機微データの読み取りや持ち出しが現実的。
完全性への影響 (I:H)
権限の奪取や広範なログ改竄など、システムの信頼根拠を揺るがす改ざんが現実的。
可用性への影響 (A:N)
業務継続に支障が出るレベルの停止や劣化は想定されない。
2.0 5.8 [email protected]

CVE-2024-32462 の弱点分類(列挙)

CVE-2024-32462 の OS トラッカー

vendor priority summary link
alpine CVE-2024-32462: 1 source package rows (flatpak); 16 state rows across 5 repos (3.19-community, 3.20-community, 3.21-community, 3.22-community, edge-community); fixed 5, open 11. https://security.alpinelinux.org/vuln/CVE-2024-32462
debian not yet assigned CVE-2024-32462 not yet assigned priority: Debian including 1 source packages (flatpak), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): resolved 5. https://security-tracker.debian.org/tracker/CVE-2024-32462
gentoo high CVE-2024-32462: 1 GLSA(s) (202406-02), 1 atom(s) (sys-apps/flatpak); latest impact high. https://bugs.gentoo.org/buglist.cgi?quicksearch=CVE-2024-32462
redhat high https://access.redhat.com/security/cve/CVE-2024-32462
suse high CVE-2024-32462 severity important: SUSE including 100 source package names (bubblewrap-0.11.0-150500.3.9.1, bubblewrap-zsh-completion-0.11.0-150500.3.9.1, …), 285 product×package rows across 46 product lines (Image SLES15-SP4-SAP-Azure-LI-BYOS, Image SLES15-SP4-SAP-Azure-LI-BYOS-Production, … (46 product lines)): Fixed 265, Known Not Affected 20. https://www.suse.com/security/cve/CVE-2024-32462/
ubuntu medium CVE-2024-32462 medium priority: Ubuntu including 1 source packages (flatpak), 9 status rows across 9 suites (bionic, focal, jammy, mantic, noble, oracular, plucky, questing, upstream): released 5, needed 3, ignored 1. https://ubuntu.com/security/CVE-2024-32462

CVE-2024-32462 の影響を受けるソフトウェア/構成

ベンダー 製品 バージョン 生の CPE
flatpak flatpak < 1.10.9 cpe:2.3:a:flatpak:flatpak:*:*:*:*:*:*:*:*
flatpak flatpak >= 1.12.0, < 1.12.9 cpe:2.3:a:flatpak:flatpak:*:*:*:*:*:*:*:*
flatpak flatpak >= 1.14.0, < 1.14.6 cpe:2.3:a:flatpak:flatpak:*:*:*:*:*:*:*:*
flatpak flatpak >= 1.15.0, < 1.15.8 cpe:2.3:a:flatpak:flatpak:*:*:*:*:*:*:*:*
fedoraproject fedora 39 cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:*
fedoraproject fedora 40 cpe:2.3:o:fedoraproject:fedora:40:*:*:*:*:*:*:*

CVE-2024-32462 の参考情報

cvelogic Threat Intelligence