CVE-2021-41133
Description
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 Flatpaks 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.
Risk Information
Associated Vulnerability
| Vulnerability | OS Platform |
|---|---|
| flatpak security update(DSA-4984-1) flatpak_1.10.5-0+deb11u1_amd64.deb | Linux |
| (RHSA-2021:4042) flatpak security update flatpak-1.8.5-4.el8_4.x86_64.rpm | Linux |
| (RHSA-2021:4042) flatpak security update flatpak-debugsource-1.8.5-4.el8_4.i686.rpm | Linux |
| (RHSA-2021:4042) flatpak security update flatpak-debugsource-1.8.5-4.el8_4.x86_64.rpm | Linux |
| (RHSA-2021:4042) flatpak security update flatpak-libs-1.8.5-4.el8_4.i686.rpm | Linux |
| (RHSA-2021:4042) flatpak security update flatpak-libs-1.8.5-4.el8_4.x86_64.rpm | Linux |
| (RHSA-2021:4042) flatpak security update flatpak-selinux-1.8.5-4.el8_4.noarch.rpm | Linux |
| (RHSA-2021:4042) flatpak security update flatpak-session-helper-1.8.5-4.el8_4.x86_64.rpm | Linux |
| (RHSA-2021:4044) flatpak security update flatpak-1.0.9-12.el7_9.x86_64.rpm | Linux |
| (RHSA-2021:4044) flatpak security update flatpak-builder-1.0.0-12.el7_9.x86_64.rpm | Linux |
| (RHSA-2021:4044) flatpak security update flatpak-devel-1.0.9-12.el7_9.x86_64.rpm | Linux |
| (RHSA-2021:4044) flatpak security update flatpak-libs-1.0.9-12.el7_9.x86_64.rpm | Linux |
| Flatpak update (ELSA-2021-4044) flatpak-1.0.9-12.el7_9.x86_64.rpm | Linux |
| Flatpak-builder update (ELSA-2021-4044) flatpak-builder-1.0.0-12.el7_9.x86_64.rpm | Linux |
| Flatpak-devel update (ELSA-2021-4044) flatpak-devel-1.0.9-12.el7_9.x86_64.rpm | Linux |
| Flatpak-libs update (ELSA-2021-4044) flatpak-libs-1.0.9-12.el7_9.x86_64.rpm | Linux |
| Application deployment framework for desktop apps (USN-5191-1) flatpak_1.0.9-0ubuntu0.4_i386.deb | Linux |
| Application deployment framework for desktop apps (USN-5191-1) flatpak_1.0.9-0ubuntu0.4_amd64.deb | Linux |
| Application deployment framework for desktop apps (USN-5191-1) flatpak_1.6.5-0ubuntu0.4_amd64.deb | Linux |
| Application deployment framework for desktop apps (USN-5191-1) flatpak_1.10.2-1ubuntu1.1_amd64.deb | Linux |
| Application deployment framework for desktop apps (USN-5191-1) flatpak_1.10.2-3ubuntu0.1_amd64.deb | Linux |
| Application deployment framework for desktop apps (USN-5191-1) libflatpak0_1.0.9-0ubuntu0.4_i386.deb | Linux |
| Application deployment framework for desktop apps (USN-5191-1) libflatpak0_1.0.9-0ubuntu0.4_amd64.deb | Linux |
| Application deployment framework for desktop apps (USN-5191-1) libflatpak0_1.6.5-0ubuntu0.4_amd64.deb | Linux |
| Application deployment framework for desktop apps (USN-5191-1) libflatpak0_1.10.2-1ubuntu1.1_amd64.deb | Linux |
| Application deployment framework for desktop apps (USN-5191-1) libflatpak0_1.10.2-3ubuntu0.1_amd64.deb | Linux |
| (RHSA-2021:4044)Important: security update flatpak-debuginfo-1.0.9-12.el7_9.x86_64.rpm | Linux |
Patch Details
No records foundReferences
https://nvd.nist.gov/vuln/detail/CVE-2023-1234
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1234