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 flatpakUpgrade flatpak-session-helperUpgrade flatpak-libsUpgrade flatpak-selinux | May 4, 2022 | Oct 8, 2021 |
| Alpine Linux | — | Upgrade flatpak | Aug 22, 2024 | Oct 8, 2021 |
| Amazon Linux Ami 2 | — | Upgrade flatpak-debuginfoUpgrade flatpak-libsUpgrade flatpak-builderUpgrade flatpakUpgrade flatpak-devel | Jun 8, 2023 | Oct 8, 2021 |
| Centos_linux | — | Upgrade flatpak-debuginfoUpgrade flatpak-develUpgrade flatpak-session-helper-debuginfoUpgrade flatpak-libsUpgrade flatpak-session-helperUpgrade flatpak-selinuxUpgrade flatpak-builderUpgrade flatpakUpgrade flatpak-tests-debuginfoUpgrade flatpak-libs-debuginfoUpgrade flatpak-debugsource | 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 flatpak-libsUpgrade flatpak | 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-libsUpgrade flatpakUpgrade flatpak-selinuxUpgrade flatpak-builderUpgrade flatpak-develUpgrade flatpak-session-helper | Nov 2, 2021 | Oct 8, 2021 |
| Redhat_linux | — | Upgrade flatpak-selinuxUpgrade flatpakUpgrade flatpak-libsUpgrade flatpak-debuginfoUpgrade flatpak-builderUpgrade flatpak-session-helperUpgrade flatpak-libs-debuginfoUpgrade flatpak-debugsourceUpgrade flatpak-session-helper-debuginfoUpgrade flatpak-develUpgrade flatpak-tests-debuginfo | Nov 9, 2021 | Nov 1, 2021 |
| Rocky_linux | — | Upgrade flatpak-debugsourceUpgrade flatpak-libs-debuginfoUpgrade flatpak-session-helperUpgrade flatpakUpgrade flatpak-libsUpgrade flatpak-debuginfoUpgrade flatpak-session-helper-debuginfo | May 5, 2022 | Oct 8, 2021 |
| Suse | — | Upgrade flatpak-zsh-completionUpgrade system-user-flatpakUpgrade libflatpak0Upgrade flatpak-develUpgrade flatpakUpgrade typelib-1_0-flatpak-1_0 | 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