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 | alma-upgrade-flatpakalma-upgrade-flatpak-libsalma-upgrade-flatpak-selinuxalma-upgrade-flatpak-session-helper | May 4, 2022 | Oct 8, 2021 | |
| Alpine Linux | alpine-linux-upgrade-flatpak | Aug 22, 2024 | Oct 8, 2021 | |
| Amazon Linux Ami 2 | amazon-linux-ami-2-upgrade-flatpakamazon-linux-ami-2-upgrade-flatpak-builderamazon-linux-ami-2-upgrade-flatpak-debuginfoamazon-linux-ami-2-upgrade-flatpak-develamazon-linux-ami-2-upgrade-flatpak-libs | Jun 8, 2023 | Oct 8, 2021 | |
| Centos_linux | — | centos-upgrade-flatpakcentos-upgrade-flatpak-buildercentos-upgrade-flatpak-debuginfocentos-upgrade-flatpak-debugsourcecentos-upgrade-flatpak-develcentos-upgrade-flatpak-libscentos-upgrade-flatpak-libs-debuginfocentos-upgrade-flatpak-selinuxcentos-upgrade-flatpak-session-helpercentos-upgrade-flatpak-session-helper-debuginfocentos-upgrade-flatpak-tests-debuginfo | Nov 9, 2021 | Nov 1, 2021 |
| Debian | debian-upgrade-flatpak | Nov 4, 2022 | Oct 8, 2021 | |
| Gentoo Linux | gentoo-linux-upgrade-sys-apps-flatpak | Dec 27, 2023 | Oct 8, 2021 | |
| Huawei Euleros 2_0_sp8 | huawei-euleros-2_0_sp8-upgrade-flatpakhuawei-euleros-2_0_sp8-upgrade-flatpak-libs | Dec 28, 2021 | Oct 8, 2021 | |
| Oracle Solaris | oracle-solaris-11-4-upgrade-library-desktop-webkitgtk4-2-34-1-11-4-42-0-1-113-0 | Feb 17, 2022 | Oct 8, 2021 | |
| Oracle_linux | — | oracle-linux-upgrade-flatpakoracle-linux-upgrade-flatpak-builderoracle-linux-upgrade-flatpak-develoracle-linux-upgrade-flatpak-libsoracle-linux-upgrade-flatpak-selinuxoracle-linux-upgrade-flatpak-session-helper | Nov 2, 2021 | Oct 8, 2021 |
| Redhat_linux | redhat-upgrade-flatpakredhat-upgrade-flatpak-builderredhat-upgrade-flatpak-debuginforedhat-upgrade-flatpak-debugsourceredhat-upgrade-flatpak-develredhat-upgrade-flatpak-libsredhat-upgrade-flatpak-libs-debuginforedhat-upgrade-flatpak-selinuxredhat-upgrade-flatpak-session-helperredhat-upgrade-flatpak-session-helper-debuginforedhat-upgrade-flatpak-tests-debuginfo | Nov 9, 2021 | Nov 1, 2021 | |
| Rocky_linux | rocky-upgrade-flatpakrocky-upgrade-flatpak-debuginforocky-upgrade-flatpak-debugsourcerocky-upgrade-flatpak-libsrocky-upgrade-flatpak-libs-debuginforocky-upgrade-flatpak-session-helperrocky-upgrade-flatpak-session-helper-debuginfo | May 5, 2022 | Oct 8, 2021 | |
| Suse | — | suse-upgrade-flatpaksuse-upgrade-flatpak-develsuse-upgrade-flatpak-zsh-completionsuse-upgrade-libflatpak0suse-upgrade-system-user-flatpaksuse-upgrade-typelib-1_0-flatpak-1_0 | Oct 21, 2021 | Oct 8, 2021 |
| Ubuntu | ubuntu-upgrade-flatpakubuntu-upgrade-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