Upstream information
Description
Flatpak is a Linux application sandboxing and distribution framework. Prior to versions 1.14.0 and 1.15.10, a malicious or compromised Flatpak app using persistent directories could access and write files outside of what it would otherwise have access to, which is an attack on integrity and confidentiality.When `persistent=subdir` is used in the application permissions (represented as `--persist=subdir` in the command-line interface), that means that an application which otherwise doesn't have access to the real user home directory will see an empty home directory with a writeable subdirectory `subdir`. Behind the scenes, this directory is actually a bind mount and the data is stored in the per-application directory as `~/.var/app/$APPID/subdir`. This allows existing apps that are not aware of the per-application directory to still work as intended without general home directory access.
However, the application does have write access to the application directory `~/.var/app/$APPID` where this directory is stored. If the source directory for the `persistent`/`--persist` option is replaced by a symlink, then the next time the application is started, the bind mount will follow the symlink and mount whatever it points to into the sandbox.
Partial protection against this vulnerability can be provided by patching Flatpak using the patches in commits ceec2ffc and 98f79773. However, this leaves a race condition that could be exploited by two instances of a malicious app running in parallel. Closing the race condition requires updating or patching the version of bubblewrap that is used by Flatpak to add the new `--bind-fd` option using the patch and then patching Flatpak to use it. If Flatpak has been configured at build-time with `-Dsystem_bubblewrap=bwrap` (1.15.x) or `--with-system-bubblewrap=bwrap` (1.14.x or older), or a similar option, then the version of bubblewrap that needs to be patched is a system copy that is distributed separately, typically `/usr/bin/bwrap`. This configuration is the one that is typically used in Linux distributions. If Flatpak has been configured at build-time with `-Dsystem_bubblewrap=` (1.15.x) or with `--without-system-bubblewrap` (1.14.x or older), then it is the bundled version of bubblewrap that is included with Flatpak that must be patched. This is typically installed as `/usr/libexec/flatpak-bwrap`. This configuration is the default when building from source code.
For the 1.14.x stable branch, these changes are included in Flatpak 1.14.10. The bundled version of bubblewrap included in this release has been updated to 0.6.3. For the 1.15.x development branch, these changes are included in Flatpak 1.15.10. The bundled version of bubblewrap in this release is a Meson "wrap" subproject, which has been updated to 0.10.0. The 1.12.x and 1.10.x branches will not be updated for this vulnerability. Long-term support OS distributions should backport the individual changes into their versions of Flatpak and bubblewrap, or update to newer versions if their stability policy allows it. As a workaround, avoid using applications using the `persistent` (`--persist`) permission.
SUSE information
Overall state of this security issue: Resolved
This issue is currently rated as having critical severity.
SUSE | |
---|---|
Base Score | 8.4 |
Vector | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N |
Attack Vector | Local |
Attack Complexity | Low |
Privileges Required | Low |
User Interaction | None |
Scope | Changed |
Confidentiality Impact | High |
Integrity Impact | High |
Availability Impact | None |
CVSSv3 Version | 3.1 |
SUSE | |
---|---|
Base Score | 9.2 |
Vector | CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N |
Attack Vector | Local |
Attack Complexity | Low |
Attack Requirements | None |
Privileges Required | Low |
User Interaction | None |
Vulnerable System Confidentiality Impact | High |
Vulnerable System Integrity Impact | High |
Vulnerable System Availability Impact | None |
Subsequent System Confidentiality Impact | High |
Subsequent System Integrity Impact | High |
Subsequent System Availability Impact | None |
CVSSv4 Version | 4.0 |
SUSE Security Advisories:
- RHSA-2024:6356, published Thu Sep 12 08:51:13 UTC 2024
- RHSA-2024:6417, published Tue Sep 17 15:05:42 UTC 2024
- SUSE-SU-2024:3073-1, published Mon Sep 2 16:30:48 UTC 2024
- SUSE-SU-2024:3104-1, published Tue Sep 3 16:31:55 UTC 2024
- SUSE-SU-2024:3174-1, published Mon Sep 9 12:30:16 UTC 2024
List of released packages
Product(s) | Fixed package version(s) | References |
---|---|---|
SUSE Enterprise Storage 7.1 |
| Patchnames: SUSE-Storage-7.1-2024-3174 |
SUSE Liberty Linux 7 LTSS |
| Patchnames: RHSA-2024:6417 |
SUSE Liberty Linux 8 |
| Patchnames: RHSA-2024:6422 |
SUSE Liberty Linux 9 |
| Patchnames: RHSA-2024:6356 |
SUSE Linux Enterprise Desktop 15 SP5 SUSE Linux Enterprise High Performance Computing 15 SP5 SUSE Linux Enterprise Server 15 SP5 SUSE Linux Enterprise Server for SAP Applications 15 SP5 |
| Patchnames: SUSE-SLE-Module-Basesystem-15-SP5-2024-3104 SUSE-SLE-Module-Desktop-Applications-15-SP5-2024-3104 |
SUSE Linux Enterprise Desktop 15 SP6 SUSE Linux Enterprise High Performance Computing 15 SP6 SUSE Linux Enterprise Server 15 SP6 SUSE Linux Enterprise Server for SAP Applications 15 SP6 |
| Patchnames: SUSE-SLE-Module-Basesystem-15-SP6-2024-3104 SUSE-SLE-Module-Desktop-Applications-15-SP6-2024-3104 |
SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS |
| Patchnames: SUSE-SLE-Product-HPC-15-SP2-LTSS-2024-3174 |
SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS |
| Patchnames: SUSE-SLE-Product-HPC-15-SP3-LTSS-2024-3174 |
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS |
| Patchnames: SUSE-SLE-Product-HPC-15-SP4-ESPOS-2024-3174 |
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS |
| Patchnames: SUSE-SLE-Product-HPC-15-SP4-LTSS-2024-3174 |
SUSE Linux Enterprise Module for Basesystem 15 SP5 |
| Patchnames: SUSE-SLE-Module-Basesystem-15-SP5-2024-3104 |
SUSE Linux Enterprise Module for Basesystem 15 SP6 |
| Patchnames: SUSE-SLE-Module-Basesystem-15-SP6-2024-3104 |
SUSE Linux Enterprise Module for Desktop Applications 15 SP5 |
| Patchnames: SUSE-SLE-Module-Desktop-Applications-15-SP5-2024-3104 |
SUSE Linux Enterprise Module for Desktop Applications 15 SP6 |
| Patchnames: SUSE-SLE-Module-Desktop-Applications-15-SP6-2024-3104 |
SUSE Linux Enterprise Server 12 SP5 SUSE Linux Enterprise Server for SAP Applications 12 SP5 |
| Patchnames: SUSE-SLE-SERVER-12-SP5-2024-3073 |
SUSE Linux Enterprise Server 15 SP2-LTSS |
| Patchnames: SUSE-SLE-Product-SLES-15-SP2-LTSS-2024-3174 |
SUSE Linux Enterprise Server 15 SP3-LTSS |
| Patchnames: SUSE-SLE-Product-SLES-15-SP3-LTSS-2024-3174 |
SUSE Linux Enterprise Server 15 SP4-LTSS |
| Patchnames: SUSE-SLE-Product-SLES-15-SP4-LTSS-2024-3174 |
SUSE Linux Enterprise Server for SAP Applications 15 SP2 |
| Patchnames: SUSE-SLE-Product-SLES_SAP-15-SP2-2024-3174 |
SUSE Linux Enterprise Server for SAP Applications 15 SP3 |
| Patchnames: SUSE-SLE-Product-SLES_SAP-15-SP3-2024-3174 |
SUSE Linux Enterprise Server for SAP Applications 15 SP4 |
| Patchnames: SUSE-SLE-Product-SLES_SAP-15-SP4-2024-3174 |
SUSE Manager Proxy 4.3 |
| Patchnames: SUSE-SLE-Product-SUSE-Manager-Proxy-4.3-2024-3174 |
SUSE Manager Retail Branch Server 4.3 |
| Patchnames: SUSE-SLE-Product-SUSE-Manager-Retail-Branch-Server-4.3-2024-3174 |
SUSE Manager Server 4.3 |
| Patchnames: SUSE-SLE-Product-SUSE-Manager-Server-4.3-2024-3174 |
openSUSE Leap 15.5 |
| Patchnames: openSUSE-SLE-15.5-2024-3104 |
openSUSE Leap 15.6 |
| Patchnames: openSUSE-SLE-15.6-2024-3104 |
openSUSE Tumbleweed |
| Patchnames: openSUSE-Tumbleweed-2024-14269 openSUSE-Tumbleweed-2024-14275 |
Status of this issue by product and package
Please note that this evaluation state might be work in progress, incomplete or outdated. Also information for service packs in the LTSS phase is only included for issues meeting the LTSS criteria. If in doubt, feel free to contact us for clarification. The updates are grouped by state of their lifecycle. SUSE product lifecycles are documented on the lifecycle page.
Product(s) | Source package | State |
---|---|---|
Products under general support and receiving all security fixes. | ||
SUSE Linux Enterprise Desktop 15 SP5 | bubblewrap | Released |
SUSE Linux Enterprise Desktop 15 SP5 | flatpak | Released |
SUSE Linux Enterprise Desktop 15 SP6 | bubblewrap | Released |
SUSE Linux Enterprise Desktop 15 SP6 | flatpak | Released |
SUSE Linux Enterprise High Performance Computing 12 SP5 | bubblewrap | Released |
SUSE Linux Enterprise High Performance Computing 12 SP5 | flatpak | Released |
SUSE Linux Enterprise High Performance Computing 15 SP5 | bubblewrap | Released |
SUSE Linux Enterprise High Performance Computing 15 SP5 | flatpak | Released |
SUSE Linux Enterprise High Performance Computing 15 SP6 | bubblewrap | Released |
SUSE Linux Enterprise High Performance Computing 15 SP6 | flatpak | Released |
SUSE Linux Enterprise Module for Basesystem 15 SP5 | bubblewrap | Released |
SUSE Linux Enterprise Module for Basesystem 15 SP6 | bubblewrap | Released |
SUSE Linux Enterprise Module for Desktop Applications 15 SP5 | flatpak | Released |
SUSE Linux Enterprise Module for Desktop Applications 15 SP6 | flatpak | Released |
SUSE Linux Enterprise Server 12 SP5 | bubblewrap | Released |
SUSE Linux Enterprise Server 12 SP5 | flatpak | Released |
SUSE Linux Enterprise Server 12 SP5-LTSS | bubblewrap | Affected |
SUSE Linux Enterprise Server 12 SP5-LTSS | flatpak | Affected |
SUSE Linux Enterprise Server 15 SP5 | bubblewrap | Released |
SUSE Linux Enterprise Server 15 SP5 | flatpak | Released |
SUSE Linux Enterprise Server 15 SP6 | bubblewrap | Released |
SUSE Linux Enterprise Server 15 SP6 | flatpak | Released |
SUSE Linux Enterprise Server for SAP Applications 12 SP5 | bubblewrap | Released |
SUSE Linux Enterprise Server for SAP Applications 12 SP5 | flatpak | Released |
SUSE Linux Enterprise Server for SAP Applications 15 SP5 | bubblewrap | Released |
SUSE Linux Enterprise Server for SAP Applications 15 SP5 | flatpak | Released |
SUSE Linux Enterprise Server for SAP Applications 15 SP6 | bubblewrap | Released |
SUSE Linux Enterprise Server for SAP Applications 15 SP6 | flatpak | Released |
SUSE Manager Proxy 4.3 | bubblewrap | Released |
SUSE Manager Proxy 4.3 | flatpak | Affected |
SUSE Manager Retail Branch Server 4.3 | bubblewrap | Released |
SUSE Manager Retail Branch Server 4.3 | flatpak | Affected |
SUSE Manager Server 4.3 | bubblewrap | Released |
SUSE Manager Server 4.3 | flatpak | Affected |
openSUSE Leap 15.5 | bubblewrap | Released |
openSUSE Leap 15.5 | flatpak | Released |
openSUSE Leap 15.6 | bubblewrap | Released |
openSUSE Leap 15.6 | flatpak | Released |
Products under Long Term Service Pack support and receiving important and critical security fixes. | ||
SUSE Linux Enterprise Desktop 15 SP4 | bubblewrap | Affected |
SUSE Linux Enterprise Desktop 15 SP4 | flatpak | Affected |
SUSE Linux Enterprise Desktop 15 SP4 LTSS | bubblewrap | Released |
SUSE Linux Enterprise Desktop 15 SP4 LTSS | flatpak | Released |
SUSE Linux Enterprise High Performance Computing 15 SP2 | bubblewrap | Affected |
SUSE Linux Enterprise High Performance Computing 15 SP2 | flatpak | Affected |
SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS | bubblewrap | Affected |
SUSE Linux Enterprise High Performance Computing 15 SP2-ESPOS | flatpak | Affected |
SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS | bubblewrap | Released |
SUSE Linux Enterprise High Performance Computing 15 SP2-LTSS | flatpak | Released |
SUSE Linux Enterprise High Performance Computing 15 SP3 | bubblewrap | Affected |
SUSE Linux Enterprise High Performance Computing 15 SP3 | flatpak | Affected |
SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS | bubblewrap | Affected |
SUSE Linux Enterprise High Performance Computing 15 SP3-ESPOS | flatpak | Affected |
SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS | bubblewrap | Released |
SUSE Linux Enterprise High Performance Computing 15 SP3-LTSS | flatpak | Released |
SUSE Linux Enterprise High Performance Computing 15 SP4 | bubblewrap | Affected |
SUSE Linux Enterprise High Performance Computing 15 SP4 | flatpak | Affected |
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS | bubblewrap | Released |
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS | flatpak | Released |
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS | bubblewrap | Released |
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS | flatpak | Released |
SUSE Linux Enterprise Module for Basesystem 15 SP2 | bubblewrap | Affected |
SUSE Linux Enterprise Module for Basesystem 15 SP3 | bubblewrap | Affected |
SUSE Linux Enterprise Module for Basesystem 15 SP4 | bubblewrap | Affected |
SUSE Linux Enterprise Module for Desktop Applications 15 SP2 | flatpak | Affected |
SUSE Linux Enterprise Module for Desktop Applications 15 SP3 | flatpak | Affected |
SUSE Linux Enterprise Module for Desktop Applications 15 SP4 | flatpak | Affected |
SUSE Linux Enterprise Server 15 SP2 | bubblewrap | Affected |
SUSE Linux Enterprise Server 15 SP2 | flatpak | Affected |
SUSE Linux Enterprise Server 15 SP2-LTSS | bubblewrap | Released |
SUSE Linux Enterprise Server 15 SP2-LTSS | flatpak | Released |
SUSE Linux Enterprise Server 15 SP3 | bubblewrap | Affected |
SUSE Linux Enterprise Server 15 SP3 | flatpak | Affected |
SUSE Linux Enterprise Server 15 SP3-LTSS | bubblewrap | Released |
SUSE Linux Enterprise Server 15 SP3-LTSS | flatpak | Released |
SUSE Linux Enterprise Server 15 SP4 | bubblewrap | Affected |
SUSE Linux Enterprise Server 15 SP4 | flatpak | Affected |
SUSE Linux Enterprise Server 15 SP4-LTSS | bubblewrap | Released |
SUSE Linux Enterprise Server 15 SP4-LTSS | flatpak | Released |
SUSE Linux Enterprise Server for SAP Applications 15 SP2 | bubblewrap | Released |
SUSE Linux Enterprise Server for SAP Applications 15 SP2 | flatpak | Released |
SUSE Linux Enterprise Server for SAP Applications 15 SP3 | bubblewrap | Released |
SUSE Linux Enterprise Server for SAP Applications 15 SP3 | flatpak | Released |
SUSE Linux Enterprise Server for SAP Applications 15 SP4 | bubblewrap | Released |
SUSE Linux Enterprise Server for SAP Applications 15 SP4 | flatpak | Released |
Products past their end of life and not receiving proactive updates anymore. | ||
SUSE CaaS Platform 4.0 | bubblewrap | Affected |
SUSE CaaS Platform 4.0 | flatpak | Affected |
SUSE Enterprise Storage 6 | bubblewrap | Affected |
SUSE Enterprise Storage 6 | flatpak | Affected |
SUSE Enterprise Storage 7 | bubblewrap | Affected |
SUSE Enterprise Storage 7 | flatpak | Affected |
SUSE Enterprise Storage 7.1 | bubblewrap | Released |
SUSE Enterprise Storage 7.1 | flatpak | Released |
SUSE Linux Enterprise Desktop 15 | bubblewrap | Affected |
SUSE Linux Enterprise Desktop 15 | flatpak | Affected |
SUSE Linux Enterprise Desktop 15 SP1 | bubblewrap | Affected |
SUSE Linux Enterprise Desktop 15 SP1 | flatpak | Affected |
SUSE Linux Enterprise Desktop 15 SP2 | bubblewrap | Affected |
SUSE Linux Enterprise Desktop 15 SP2 | flatpak | Affected |
SUSE Linux Enterprise Desktop 15 SP3 | bubblewrap | Affected |
SUSE Linux Enterprise Desktop 15 SP3 | flatpak | Affected |
SUSE Linux Enterprise High Performance Computing 15 | bubblewrap | Affected |
SUSE Linux Enterprise High Performance Computing 15 | flatpak | Affected |
SUSE Linux Enterprise High Performance Computing 15 SP1 | bubblewrap | Affected |
SUSE Linux Enterprise High Performance Computing 15 SP1 | flatpak | Affected |
SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS | bubblewrap | Affected |
SUSE Linux Enterprise High Performance Computing 15 SP1-ESPOS | flatpak | Affected |
SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS | bubblewrap | Affected |
SUSE Linux Enterprise High Performance Computing 15 SP1-LTSS | flatpak | Affected |
SUSE Linux Enterprise High Performance Computing 15-ESPOS | bubblewrap | Affected |
SUSE Linux Enterprise High Performance Computing 15-ESPOS | flatpak | Affected |
SUSE Linux Enterprise High Performance Computing 15-LTSS | bubblewrap | Affected |
SUSE Linux Enterprise High Performance Computing 15-LTSS | flatpak | Affected |
SUSE Linux Enterprise Module for Desktop Applications 15 | bubblewrap | Affected |
SUSE Linux Enterprise Module for Desktop Applications 15 | flatpak | Affected |
SUSE Linux Enterprise Module for Desktop Applications 15 SP1 | bubblewrap | Affected |
SUSE Linux Enterprise Module for Desktop Applications 15 SP1 | flatpak | Affected |
SUSE Linux Enterprise Real Time 15 SP2 | bubblewrap | Affected |
SUSE Linux Enterprise Real Time 15 SP2 | flatpak | Affected |
SUSE Linux Enterprise Real Time 15 SP3 | bubblewrap | Affected |
SUSE Linux Enterprise Real Time 15 SP3 | flatpak | Affected |
SUSE Linux Enterprise Real Time 15 SP4 | bubblewrap | Affected |
SUSE Linux Enterprise Real Time 15 SP4 | flatpak | Affected |
SUSE Linux Enterprise Server 15 | bubblewrap | Affected |
SUSE Linux Enterprise Server 15 | flatpak | Affected |
SUSE Linux Enterprise Server 15 SP1 | bubblewrap | Affected |
SUSE Linux Enterprise Server 15 SP1 | flatpak | Affected |
SUSE Linux Enterprise Server 15 SP1-BCL | bubblewrap | Affected |
SUSE Linux Enterprise Server 15 SP1-BCL | flatpak | Affected |
SUSE Linux Enterprise Server 15 SP1-LTSS | bubblewrap | Affected |
SUSE Linux Enterprise Server 15 SP1-LTSS | flatpak | Affected |
SUSE Linux Enterprise Server 15 SP2-BCL | bubblewrap | Affected |
SUSE Linux Enterprise Server 15 SP2-BCL | flatpak | Affected |
SUSE Linux Enterprise Server 15 SP3-BCL | bubblewrap | Affected |
SUSE Linux Enterprise Server 15 SP3-BCL | flatpak | Affected |
SUSE Linux Enterprise Server 15-LTSS | bubblewrap | Affected |
SUSE Linux Enterprise Server 15-LTSS | flatpak | Affected |
SUSE Linux Enterprise Server for SAP Applications 15 | bubblewrap | Affected |
SUSE Linux Enterprise Server for SAP Applications 15 | flatpak | Affected |
SUSE Linux Enterprise Server for SAP Applications 15 SP1 | bubblewrap | Affected |
SUSE Linux Enterprise Server for SAP Applications 15 SP1 | flatpak | Affected |
SUSE Manager Proxy 4.0 | bubblewrap | Affected |
SUSE Manager Proxy 4.0 | flatpak | Affected |
SUSE Manager Proxy 4.1 | bubblewrap | Affected |
SUSE Manager Proxy 4.1 | flatpak | Affected |
SUSE Manager Proxy 4.2 | bubblewrap | Affected |
SUSE Manager Proxy 4.2 | flatpak | Affected |
SUSE Manager Retail Branch Server 4.0 | bubblewrap | Affected |
SUSE Manager Retail Branch Server 4.0 | flatpak | Affected |
SUSE Manager Retail Branch Server 4.1 | bubblewrap | Affected |
SUSE Manager Retail Branch Server 4.1 | flatpak | Affected |
SUSE Manager Retail Branch Server 4.2 | bubblewrap | Affected |
SUSE Manager Retail Branch Server 4.2 | flatpak | Affected |
SUSE Manager Server 4.0 | bubblewrap | Affected |
SUSE Manager Server 4.0 | flatpak | Affected |
SUSE Manager Server 4.1 | bubblewrap | Affected |
SUSE Manager Server 4.1 | flatpak | Affected |
SUSE Manager Server 4.2 | bubblewrap | Affected |
SUSE Manager Server 4.2 | flatpak | Affected |
openSUSE Leap 15.3 | bubblewrap | Affected |
openSUSE Leap 15.3 | flatpak | Affected |
openSUSE Leap 15.4 | bubblewrap | Affected |
openSUSE Leap 15.4 | flatpak | Released |
Products at an unknown state of their lifecycle. | ||
SUSE Linux Enterprise Server 12 SP5 LTSS Extended Security | bubblewrap | Affected |
SUSE Linux Enterprise Server 12 SP5 LTSS Extended Security | flatpak | Affected |
SUSE Timeline for this CVE
CVE page created: Wed Aug 14 20:00:01 2024CVE page last modified: Tue Oct 29 17:55:47 2024