Flatpak vulnerable to a sandbox escape via RequestBackground portal due to bad argument parsing
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| flatpak | flatpak | affected |
|
Configuration 1 [-]
|
Configuration 2 [-]
|
| Package | CPE | Advisory | Released Date |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | |||
| flatpak-0:1.0.9-13.el7_9 | cpe:/o:redhat:enterprise_linux:7 | RHSA-2024:3980 | 2024-06-18T00:00:00Z |
| Red Hat Enterprise Linux 8 | |||
| flatpak-0:1.12.9-1.el8_10 | cpe:/a:redhat:enterprise_linux:8 | RHSA-2024:3961 | 2024-06-17T00:00:00Z |
| Red Hat Enterprise Linux 8.2 Advanced Update Support | |||
| flatpak-0:1.6.2-7.el8_2 | cpe:/a:redhat:rhel_aus:8.2 | RHSA-2024:3979 | 2024-06-18T00:00:00Z |
| Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support | |||
| flatpak-0:1.8.5-5.el8_4 | cpe:/a:redhat:rhel_aus:8.4 | RHSA-2024:3963 | 2024-06-17T00:00:00Z |
| Red Hat Enterprise Linux 8.4 Telecommunications Update Service | |||
| flatpak-0:1.8.5-5.el8_4 | cpe:/a:redhat:rhel_tus:8.4 | RHSA-2024:3963 | 2024-06-17T00:00:00Z |
| Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions | |||
| flatpak-0:1.8.5-5.el8_4 | cpe:/a:redhat:rhel_e4s:8.4 | RHSA-2024:3963 | 2024-06-17T00:00:00Z |
| Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update Support | |||
| flatpak-0:1.8.7-2.el8_6 | cpe:/a:redhat:rhel_aus:8.6 | RHSA-2024:3969 | 2024-06-18T00:00:00Z |
| Red Hat Enterprise Linux 8.6 Telecommunications Update Service | |||
| flatpak-0:1.8.7-2.el8_6 | cpe:/a:redhat:rhel_tus:8.6 | RHSA-2024:3969 | 2024-06-18T00:00:00Z |
| Red Hat Enterprise Linux 8.6 Update Services for SAP Solutions | |||
| flatpak-0:1.8.7-2.el8_6 | cpe:/a:redhat:rhel_e4s:8.6 | RHSA-2024:3969 | 2024-06-18T00:00:00Z |
| Red Hat Enterprise Linux 8.8 Extended Update Support | |||
| flatpak-0:1.10.7-2.el8_8 | cpe:/a:redhat:rhel_eus:8.8 | RHSA-2024:3962 | 2024-06-17T00:00:00Z |
| Red Hat Enterprise Linux 9 | |||
| flatpak-0:1.12.9-1.el9_4 | cpe:/a:redhat:enterprise_linux:9 | RHSA-2024:3959 | 2024-06-17T00:00:00Z |
| Red Hat Enterprise Linux 9.0 Update Services for SAP Solutions | |||
| flatpak-0:1.12.5-3.el9_0 | cpe:/a:redhat:rhel_e4s:9.0 | RHSA-2024:3970 | 2024-06-18T00:00:00Z |
| Red Hat Enterprise Linux 9.2 Extended Update Support | |||
| flatpak-0:1.12.7-3.el9_2 | cpe:/a:redhat:rhel_eus:9.2 | RHSA-2024:3960 | 2024-06-17T00:00:00Z |
No data available yet.
| Source | ID | Title |
|---|---|---|
Debian DSA |
DSA-5666-1 | flatpak security update |
EUVD |
EUVD-2024-30279 | Flatpak is a system for building, distributing, and running sandboxed desktop applications on Linux. in versions before 1.10.9, 1.12.9, 1.14.6, and 1.15.8, a malicious or compromised Flatpak app could execute arbitrary code outside its sandbox. Normally, the `--command` argument of `flatpak run` expects to be given a command to run in the specified Flatpak app, optionally along with some arguments. However it is possible to instead pass `bwrap` arguments to `--command=`, such as `--bind`. It's possible to pass an arbitrary `commandline` to the portal interface `org.freedesktop.portal.Background.RequestBackground` from within a Flatpak app. When this is converted into a `--command` and arguments, it achieves the same effect of passing arguments directly to `bwrap`, and thus can be used for a sandbox escape. The solution is to pass the `--` argument to `bwrap`, which makes it stop processing options. This has been supported since bubblewrap 0.3.0. All supported versions of Flatpak require at least that version of bubblewrap. xdg-desktop-portal version 1.18.4 will mitigate this vulnerability by only allowing Flatpak apps to create .desktop files for commands that do not start with --. The vulnerability is patched in 1.15.8, 1.10.9, 1.12.9, and 1.14.6. |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.512% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Fedoraproject
Fedoraproject fedora |
|
| CPEs | cpe:2.3:o:fedoraproject:fedora:39:*:*:*:*:*:*:* cpe:2.3:o:fedoraproject:fedora:40:*:*:*:*:*:*:* |
|
| Vendors & Products |
Fedoraproject
Fedoraproject fedora |
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Flatpak
Flatpak flatpak |
|
| CPEs | cpe:2.3:a:flatpak:flatpak:*:*:*:*:*:*:*:* | |
| Vendors & Products |
Flatpak
Flatpak flatpak |
|
| Metrics |
ssvc
|