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