PT-2024-2946
CVE-2024-32462
·
Published
2024-04-18
·
Updated
2026-10-01
Description by
CVSS 3.1
8.4
HighMetricsAV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N
Name of the Vulnerable Software and Affected Versions
Flatpak versions prior to 1.10.9
Flatpak versions prior to 1.12.9
Flatpak versions prior to 1.14.6
Flatpak versions prior to 1.15.8
Description
The issue is related to a sandbox escape vulnerability in Flatpak, which is a system for building, distributing, and running sandboxed desktop applications on Linux. A malicious or compromised Flatpak app could execute arbitrary code outside its sandbox by passing
bwrap arguments to the --command option, such as --bind. This can be achieved by passing an arbitrary commandline to the portal interface org.freedesktop.portal.Background.RequestBackground from within a Flatpak app. The vulnerability can be used to escape the sandbox and access files in the underlying system.Recommendations
For versions prior to 1.10.9, update to version 1.10.9 or later.
For versions prior to 1.12.9, update to version 1.12.9 or later.
For versions prior to 1.14.6, update to version 1.14.6 or later.
For versions prior to 1.15.8, update to version 1.15.8 or later.
As a temporary workaround, consider passing the
-- argument to bwrap, which makes it stop processing options. Additionally, 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 --.Exploitability
Exploit
Fix
Impacts
Researchers
Vendors
Affected products
Found an issue in the description? Have something to add? Feel free to write us 👾