CVE-2021-41133
Fixed in a distro release EPSS <1%CVSS 8.8
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.
Products: flatpak, fedoraproject fedora, debian_linux
Distro releases
| Release | Package | Fixed in |
|---|---|---|
| AlmaLinux 8 | flatpak | 1.8.5-5.el8_5 |
| AlmaLinux 8 | flatpak | 1.8.5-4.el8_4 |
| AlmaLinux 8 | flatpak-devel | 1.8.5-5.el8_5 |
| AlmaLinux 8 | flatpak-libs | 1.8.5-5.el8_5 |
| AlmaLinux 8 | flatpak-libs | 1.8.5-4.el8_4 |
| AlmaLinux 8 | flatpak-selinux | 1.8.5-4.el8_4 |
| AlmaLinux 8 | flatpak-selinux | 1.8.5-5.el8_5 |
| AlmaLinux 8 | flatpak-session-helper | 1.8.5-4.el8_4 |
| AlmaLinux 8 | flatpak-session-helper | 1.8.5-5.el8_5 |
| Arch Linux | flatpak | 1.12.0-1 |
| Debian 11 | flatpak | 1.10.5-0+deb11u1 |
| Debian 12 | flatpak | 1.12.1-1 |
| Debian 13 | flatpak | 1.12.1-1 |
| Debian 14 | flatpak | 1.12.1-1 |
| Red Hat Enterprise Linux 7 | flatpak | 0:1.0.9-12.el7_9 |
| Red Hat Enterprise Linux 7 | flatpak-builder | 0:1.0.0-12.el7_9 |
| Red Hat Enterprise Linux 7 | flatpak-debuginfo | 0:1.0.9-12.el7_9 |
| Red Hat Enterprise Linux 7 | flatpak-devel | 0:1.0.9-12.el7_9 |
| Red Hat Enterprise Linux 7 | flatpak-libs | 0:1.0.9-12.el7_9 |
| Red Hat Enterprise Linux 8 | flatpak | 0:1.8.5-4.el8_4 |
| Red Hat Enterprise Linux 8 | flatpak-debuginfo | 0:1.8.5-4.el8_4 |
| Red Hat Enterprise Linux 8 | flatpak-debugsource | 0:1.8.5-4.el8_4 |
| Red Hat Enterprise Linux 8 | flatpak-libs | 0:1.8.5-4.el8_4 |
| Red Hat Enterprise Linux 8 | flatpak-libs-debuginfo | 0:1.8.5-4.el8_4 |
| Red Hat Enterprise Linux 8 | flatpak-selinux | 0:1.8.5-4.el8_4 |
| Red Hat Enterprise Linux 8 | flatpak-session-helper | 0:1.8.5-4.el8_4 |
| Red Hat Enterprise Linux 8 | flatpak-session-helper-debuginfo | 0:1.8.5-4.el8_4 |
| Red Hat Enterprise Linux 8 | flatpak-tests-debuginfo | 0:1.8.5-4.el8_4 |
| Red Hat rhel eus 8.1 | flatpak | 0:1.0.9-5.el8_1 |
| Red Hat rhel eus 8.1 | flatpak-debuginfo | 0:1.0.9-5.el8_1 |
| Red Hat rhel eus 8.1 | flatpak-debugsource | 0:1.0.9-5.el8_1 |
| Red Hat rhel eus 8.1 | flatpak-libs | 0:1.0.9-5.el8_1 |
| Red Hat rhel eus 8.1 | flatpak-libs-debuginfo | 0:1.0.9-5.el8_1 |
| Red Hat rhel eus 8.2 | flatpak | 0:1.6.2-6.el8_2 |
| Red Hat rhel eus 8.2 | flatpak-debuginfo | 0:1.6.2-6.el8_2 |
| Red Hat rhel eus 8.2 | flatpak-debugsource | 0:1.6.2-6.el8_2 |
| Red Hat rhel eus 8.2 | flatpak-libs | 0:1.6.2-6.el8_2 |
| Red Hat rhel eus 8.2 | flatpak-libs-debuginfo | 0:1.6.2-6.el8_2 |
| Red Hat rhel eus 8.2 | flatpak-selinux | 0:1.6.2-6.el8_2 |
| Red Hat rhel eus 8.2 | flatpak-session-helper | 0:1.6.2-6.el8_2 |
| Red Hat rhel eus 8.2 | flatpak-session-helper-debuginfo | 0:1.6.2-6.el8_2 |
| Red Hat rhel eus 8.2 | flatpak-tests-debuginfo | 0:1.6.2-6.el8_2 |
| Rocky Linux 8 | flatpak | 0:1.8.5-4.el8_4 |
| Rocky Linux 8 | flatpak | 0:1.8.5-4.el8 |
| SUSE Enterprise Storage 6 | flatpak | 1.2.3-150100.4.8.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS | flatpak | 1.2.3-150100.4.8.1 |
| SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS | flatpak | 1.2.3-150100.4.8.1 |
| SUSE Linux Enterprise High Performance Computing 15-ESPOS | flatpak | 0.10.4-150000.4.13.1 |
| SUSE Linux Enterprise High Performance Computing 15-LTSS | flatpak | 0.10.4-150000.4.13.1 |
| SUSE Linux Enterprise Module for Desktop Applications 15 SP2 | flatpak | 1.10.5-4.9.1 |
| SUSE Linux Enterprise Module for Desktop Applications 15 SP3 | flatpak | 1.10.5-4.9.1 |
| SUSE Linux Enterprise Server 15 SP1-BCL | flatpak | 1.2.3-150100.4.8.1 |
| SUSE Linux Enterprise Server 15 SP1-LTSS | flatpak | 1.2.3-150100.4.8.1 |
| SUSE Linux Enterprise Server 15-LTSS | flatpak | 0.10.4-150000.4.13.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 | flatpak | 0.10.4-150000.4.13.1 |
| SUSE Linux Enterprise Server for SAP Applications 15 SP1 | flatpak | 1.2.3-150100.4.8.1 |
| Ubuntu 18.04 LTS | flatpak | 1.0.9-0ubuntu0.4 |
| Ubuntu 20.04 LTS | flatpak | 1.6.5-0ubuntu0.4 |
| openSUSE Leap 15.2 | flatpak | 1.10.5-lp152.3.9.1 |
| openSUSE Leap 15.3 | flatpak | 1.10.5-4.9.1 |
| openSUSE Tumbleweed | flatpak | 1.12.1-1.1 |