Flatpak is a system for building, distributing, and running sandboxed desktop applications on Linux. In versions prior to 1.10.4 and 1.12.0, Flatpak apps with direct access to AF_UNIX sockets such as those used by Wayland, Pipewire or pipewire-pulse can trick portals and other host-OS services into treating the Flatpak app as though it was an ordinary, non-sandboxed host-OS process. They can do this by manipulating the VFS using recent mount-related syscalls that are not blocked by Flatpak's denylist seccomp filter, in order to substitute a crafted `/.flatpak-info` or make that file disappear entirely. Flatpak apps that act as clients for AF_UNIX sockets such as those used by Wayland, Pipewire or pipewire-pulse can escalate the privileges that the corresponding services will believe the Flatpak app has. Note that protocols that operate entirely over the D-Bus session bus (user bus), system bus or accessibility bus are not affected by this. This is due to the use of a proxy process `xdg-dbus-proxy`, whose VFS cannot be manipulated by the Flatpak app, when interacting with these buses. Patches exist for versions 1.10.4 and 1.12.0, and as of time of publication, a patch for version 1.8.2 is being planned. There are no workarounds aside from upgrading to a patched version.
CVSS Details
- CVSS 3.1 Base Score: 8.8
- CVSS 3.1 Vector: (CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H)
Covered by Rapid7
| Product | Vendor Advisory | Solution File | Added | Published |
|---|---|---|---|---|
| Alma_linux | — | Upgrade flatpak-selinuxUpgrade flatpak-session-helperUpgrade flatpak-libsUpgrade flatpak | May 4, 2022 | Oct 8, 2021 |
| Alpine Linux | — | Upgrade flatpak | Aug 22, 2024 | Oct 8, 2021 |
| Amazon Linux Ami 2 | — | Upgrade flatpakUpgrade flatpak-builderUpgrade flatpak-debuginfoUpgrade flatpak-libsUpgrade flatpak-devel | Jun 8, 2023 | Oct 8, 2021 |
| Centos_linux | — | Upgrade flatpakUpgrade flatpak-tests-debuginfoUpgrade flatpak-debugsourceUpgrade flatpak-libs-debuginfoUpgrade flatpak-develUpgrade flatpak-session-helperUpgrade flatpak-libsUpgrade flatpak-selinuxUpgrade flatpak-session-helper-debuginfoUpgrade flatpak-builderUpgrade flatpak-debuginfo | Nov 9, 2021 | Nov 1, 2021 |
| Debian | — | Upgrade flatpak | Nov 4, 2022 | Oct 8, 2021 |
| Gentoo Linux | — | Upgrade sys-apps/flatpak. | Dec 27, 2023 | Oct 8, 2021 |
| Huawei Euleros 2_0_sp8 | — | Upgrade flatpakUpgrade flatpak-libs | Dec 28, 2021 | Oct 8, 2021 |
| Oracle Solaris | — | Upgrade library/desktop/webkitgtk4 to version 2.34.1-11.4.42.0.1.113.0 on Solaris 11.4 | Feb 17, 2022 | Oct 8, 2021 |
| Oracle_linux | — | Upgrade flatpak-develUpgrade flatpak-session-helperUpgrade flatpak-selinuxUpgrade flatpak-libsUpgrade flatpakUpgrade flatpak-builder | Nov 2, 2021 | Oct 8, 2021 |
| Redhat_linux | — | Upgrade flatpak-session-helperUpgrade flatpak-libs-debuginfoUpgrade flatpak-develUpgrade flatpak-debugsourceUpgrade flatpak-tests-debuginfoUpgrade flatpak-session-helper-debuginfoUpgrade flatpak-libsUpgrade flatpak-builderUpgrade flatpak-debuginfoUpgrade flatpakUpgrade flatpak-selinux | Nov 9, 2021 | Nov 1, 2021 |
| Rocky_linux | — | Upgrade flatpak-debuginfoUpgrade flatpak-session-helper-debuginfoUpgrade flatpak-libsUpgrade flatpakUpgrade flatpak-session-helperUpgrade flatpak-debugsourceUpgrade flatpak-libs-debuginfo | May 5, 2022 | Oct 8, 2021 |
| Suse | — | Upgrade flatpakUpgrade typelib-1_0-flatpak-1_0Upgrade libflatpak0Upgrade system-user-flatpakUpgrade flatpak-zsh-completionUpgrade flatpak-devel | Oct 21, 2021 | Oct 8, 2021 |
| Ubuntu | — | Upgrade flatpakUpgrade libflatpak0 | Dec 15, 2021 | Oct 8, 2021 |
Prioritise with Active Threat Intelligence
With curated Threat Intelligence, you can see which vulnerabilities truly put you at risk, prioritize what matters most, and act before attackers do.
Explore Intelligence Hub